1---2name: git-commits3description: Git Commit Rules4---56# Git Commit Rules78When the user asks to commit, push, or save changes to git:910## MUST Use /commit Skill1112**DO NOT** run `git commit` directly. Instead:1314```15Skill("commit")16```1718The `/commit` skill:191. Removes Claude attribution from commits202. Generates reasoning.md capturing what was tried213. Clears build attempts for next feature2223## Why This Matters2425- Regular `git commit` adds "Generated with Claude Code" and Co-Author lines26- The `/commit` skill removes these so commits appear user-authored27- Reasoning capture preserves build history for future sessions2829## Trigger Words3031When you see these in user prompts, use the commit skill:32- "commit", "push", "save changes"33- "push to github", "push changes"34- "commit and push"3536## After Commit3738The skill will prompt you to run:39```bash40bash "$CLAUDE_PROJECT_DIR/.claude/scripts/generate-reasoning.sh" <hash> "<message>"41```4243Then push if requested:44```bash45git push origin <branch>46```
Run npx skillmds@latest add vibeeval/git-commits in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Git Commit Rules It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
vibeeval (@vibeeval) published this skill. Their other Agent Skills are listed on their SkillMD profile.