Skip to content

Latest commit

 

History

History

git

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

git

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.

Installation

claude plugin marketplace add fprochazka/claude-code-plugins --scope user
claude plugin install git@fprochazka-claude-code-plugins --scope user

Highlights

  • 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.

Commands

  • /git:commit-all — commits all pending changes (staged and unstaged) following the git-workflow skill rules. Will split into multiple atomic commits when appropriate. Pass extra instructions as arguments.
  • /git:commit-staged — commits only what is already staged, without running git add. Use when you've hand-picked the staged hunks and just want a good commit message.

What it isn't

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.

License

MIT