git-commit
暂存有意义的差异并创建以为什么为重点的消息的提交。当代理需要提交代码更改时使用。
📖 中文导读:暂存有意义的差异并创建以为什么为重点的消息的提交。当代理需要提交代码更改时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: git-commit description: Stage meaningful diffs and create commits with WHY-focused messages. Use whenever making git commits.
INSTRUCTIONS
Use /git:commit slash command to stage meaningful diffs and create commits with WHY-focused messages.
DISCIPLINE
- Only commit when:
- ALL tests are passing
- ALL compiler/linter warnings have been resolved
- The change represents a single logical unit of work
- Commit messages clearly state whether the commit contains structural or behavioral changes
- Use small, frequent commits rather than large, infrequent ones