| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.0 KB |
SKILL.md
View on GitHub---
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:
1. Removes Claude attribution from commits
2. Generates reasoning.md capturing what was tried
3. Clears build attempts for next feature
## Why This Matters
- Regular `git commit` adds "Generated with Claude Code" and Co-Author lines
- The `/commit` skill removes these so commits appear user-authored
- Reasoning capture preserves build history for future sessions
## Trigger Words
When you see these in user prompts, use the commit skill:
- "commit", "push", "save changes"
- "push to github", "push changes"
- "commit and push"
## After Commit
The skill will prompt you to run:
```bash
bash "$CLAUDE_PROJECT_DIR/.claude/scripts/generate-reasoning.sh" <hash> "<message>"
```
Then push if requested:
```bash
git push origin <branch>
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |