About git-commits
git-commits is a Claude Code skill for handling requests to commit or push Git changes. It directs the workflow through the /commit skill rather than running git commit directly, followed by reasoning capture and, when requested, a push.
Key features
- 01Routes commits through /commit
- 02Removes Claude attribution
- 03Captures build reasoning
- 04Pushes when requested
Use cases
- 01Committing completed changes
- 02Saving changes without Claude attribution
- 03Recording build attempts for later sessions
- 04Pushing committed changes to origin
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ parcadei/ continuous-claude-v3 --skill git-commitsAfter installing, type/git-commitsin Claude Code to confirm it loaded.
Details
From the project READMEGit 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 - 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 "$CLAUDE_PROJECT_DIR/.claude/scripts/generate-reasoning.sh" <hash> "<message>"
Then push if requested:
git push origin <branch>
Comments
Markdown supported