commit
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
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
Principles
- Commit early and often — prefer many small commits over few large ones
- Each commit should do one thing, so
git revertcan undo it precisely - Only group changes that are meaningless apart (e.g., SQL query + generated code, proto + generated Go code)
- Keep independent changes in separate commits even if they serve the same feature
- Never squash or rewrite existing commits unless explicitly asked
Commit Message
Format: <prefix>: <short description>