Implement In Logical Commits
UTILITY SKILL. INVOKES: git, checks, write-commit-name, enable-remote-publication.
Read Detailed workflow before editing.
USE FOR:
- Implementing a feature, bug fix, or plan in commit batches.
- "Commit as you go" or "split into reviewable commits".
- Natural checkpoints: refactor, behavior, UI, tests, cleanup.
DO NOT USE FOR:
- Review, planning, or explanation only.
- One already-staged commit with no implementation; use
commit. - Draft PRs, CI monitoring, review repair, or branch stacks; use the narrower skill.
- Rewriting, squashing, amending, or rebasing history unless explicitly requested.
Workflow
- Inspect the task, repo instructions, status, branch/upstream, and code.
- Pick the smallest real commit count; prefer one commit for tightly coupled work.
- Per slice: define scope/check, edit, validate, stage only that slice, use
write-commit-name, then commit without#CIunless the prompt explicitly asks to include a CI marker on that content commit. Use a separate empty#CItrigger commit for ordinary requests to trigger CI or run GitHub Actions after the content commit is published. - Push only when the PR head or upstream is verified safe; otherwise use
enable-remote-publicationor stop. - Report commits, checks, pushes, and uncommitted work.
Examples
- "Implement this plan in logical commits."
- "Work through the feature and commit as you go."
Troubleshooting
- Mixed unrelated changes: do not stage; ask if ownership is unclear.
- Broken intermediate state: use fewer commits.
- Bad earlier assumption: add a follow-up commit.