Skip to main content
AI/MLparcadei

git-commits

Git Commit Rules

Stars
3,795
Source
parcadei/Continuous-Claude-v3
Updated
2026-01-26
Slug
parcadei--Continuous-Claude-v3--git-commits
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/parcadei/Continuous-Claude-v3/HEAD/.claude/skills/git-commits/SKILL.md -o .claude/skills/git-commits.md

Drops the SKILL.md into .claude/skills/git-commits.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

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 "$CLAUDE_PROJECT_DIR/.claude/scripts/generate-reasoning.sh" <hash> "<message>"

Then push if requested:

git push origin <branch>