name: git-commits description: Git Commit Rules user-invocable: false
Git Commit Rules
When the user asks to commit, push, or save changes to git:
MUST Use /commit Skill
DO NOT run git commit directly. Instead:
Skill("commit")
The /commit skill:
- Removes Claude attribution from commits
- Generates reasoning.md capturing what was tried
- Clears build attempts for next feature
Why This Matters
- Regular
git commitadds "Generated with Claude Code" and Co-Author lines - The
/commitskill removes these so commits appear user-authored