Claude Code skill encoding a personal approach to git commits, branches, and merge requests — the judgment, not the mechanics.
This is the writing-side counterpart to code-review's review-git-history agent: same philosophy, applied while building the branch rather than after.
claude plugin marketplace add fprochazka/claude-code-plugins --scope user
claude plugin install git@fprochazka-claude-code-plugins --scope user- The sibling/ancestor test — the one rule that decides every commit boundary. Siblings stay separate; ancestors collapse into one commit
- Vertical-slice atomic commits — migration + domain logic + endpoint + generated client + UI + tests ship together, because the order work gets done is not the order it should be committed
- Fixups, with a mechanical trigger — would an earlier commit on this branch have looked different had you known this? Then it's a fixup, not a commit. Branch history stays rewritable until merge, pushed or not
- Found bug vs introduced bug — a pre-existing defect earns its own commit; repairing your own draft does not
- Dependency ordering, not ritual — prerequisites first only when they are prerequisites; never manufacture a refactor commit
- Plan the history before coding — write the MR-title sentence first, then ask what is genuinely separate from it
Full rules and rationale in skills/git-workflow/SKILL.md.
/git:commit-all— commits all pending changes (staged and unstaged) following thegit-workflowskill rules. Will split into multiple atomic commits when appropriate. Pass extra instructions as arguments./git:commit-staged— commits only what is already staged, without runninggit add. Use when you've hand-picked the staged hunks and just want a good commit message.
Not a git tutorial. It assumes the agent already knows how to drive git and teaches when and why to reach for each operation, not command syntax.
MIT