split-work-into-commits
Installation
SKILL.md
Split work into commits
Split the current pile of work into the smallest coherent commits that each validate independently.
This skill is mutating by design. Use it only when the user explicitly invokes split-work-into-commits. Do not treat casual questions like "how would you split this?" as approval to commit or rewrite history.
Scope
- Include local uncommitted changes: staged, unstaged, and usually untracked files.
- Include existing commits on the current branch since the merge-base with the configured upstream or default branch.
- If the base branch is ambiguous, stop and ask for the base ref.
- Never include unrelated branches or parent-history outside the selected range.
- If rewritten commits already exist on a remote, rewrite locally only. Any
git push --force-with-leaserequires separate explicit approval after the local split succeeds.