审查代码变更并创建规范提交
检查工作区改动与近期提交记录,按 Conventional Commits 格式生成提交,必要时将不同改动拆分提交。
完整提示词
--- allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*) description: Create a git commit --- ## Context - Current git status: !`git status` - Current git diff (staged and unstaged changes): !`git diff HEAD` - Current branch: !`git branch --show-current` - Recent commits: !`git log --oneline -10` ## Your task Review the existing changes and then create a git commit following the conventional commit format. If you think there are more than one distinct change you can create multiple commits.
分类与标签
编程开发、代码审查、Git 提交、Conventional Commits、变更拆分