# Git Commits

> Git Commit Rules Use when this capability is needed.

- Skill: `tomevault-io/git-commits-4` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/git-commits-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/git-commits-4/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/git-commits-4

---


# 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>
```

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/parcadei) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

