/git-workflow:maintain-atomic-commitsfrom git-workflow
Folds changes into existing local commits instead of creating follow-up commits. Supports amending HEAD, editing older commits, and fixup-based autosquash rebasing.
Ships in git-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read conventions. First establish the target is
local and rewriteable: git log --oneline <base>..HEAD. Never rewrite a commit
reachable from a shared branch.
| Change | Action |
|---|---|
Belongs in HEAD | Stage it, then git commit --amend (--no-edit if appropriate). |
| Belongs in an older commit and must be authored in that state | git rebase -i <base>, mark it edit, amend, then git rebase --continue. |
| Already-made changes map to one or more older commits | Stage each target's hunks, git commit --fixup <commit>, then git rebase -i --autosquash <base>. |
Prefer the first applicable route. Use git add -p when one file supplies
hunks to several targets. Before autosquashing, show the resulting fixups and
their target mapping. If replay conflicts, use resolve-merge-conflict and
continue; replaying later commits is expected to surface conflicts.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/bisect-debugFind the commit that introduced a regression with an automated git bisect, then make a tested fix. Use when behaviour used to work but the culprit is unknown and can be expressed as a pass/fail command./resolve-merge-conflictResolve conflicts and continue an interrupted git rebase, merge, or cherry-pick. Use for unmerged paths, conflict markers, or a paused history operation./undo-opRecover a branch to its state before a local merge, rebase, reset, amend, squash, or other history operation using the reflog; distinct from making a reverting commit.npx claudepluginhub paulinevos/claude-stuff --plugin git-workflowOther plugins' skills for the same job