<< All versions

Skill v1.0.1

currentAutomated scan100/100
paulinevos/claude-stuff/maintain-atomic-commits

+2 new

──Details
PublishedOctober 3, 2026 at 02:22 AM
Content Hashsha256:f9ecf4af5565214c...
Git SHA39393d7f1a49
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.2 KB)
SKILL.md1.2 KBactive
SKILL.md · 23 lines · 1.2 KB

version: "1.0.1" name: maintain-atomic-commits description: Fold a change into the local commit it belongs to instead of adding a follow-up. Use for amendments, earlier-commit corrections, rewording, and changes that map to one or more existing local commits; not for a new commit or ordinary rebasing.


maintain-atomic-commits

Read conventions. First establish the target is local and rewriteable: git log --oneline <base>..HEAD. Never rewrite a commit reachable from a shared branch.

ChangeAction
Belongs in HEADStage it, then git commit --amend (--no-edit if appropriate).
Belongs in an older commit and must be authored in that stategit rebase -i <base>, mark it edit, amend, then git rebase --continue.
Already-made changes map to one or more older commitsStage 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.

← v1.0.0All versions