commit-changes
Installation
SKILL.md
Commit Changes
Commit changes as clean, reviewable snapshots.
Workflow
- Read
gitstatus and the relevant diffs before deciding how many commits to make. - Split orthogonal work into separate logical units. If a file mixes unrelated edits, stage only the hunks for the current commit.
- Run the relevant checks before committing. For Python projects, delegate to
the
follow-python-conventionsskill. If you skip a check, say so. - For each commit:
- Stage only the relevant hunks.
- Read the staged diff before writing the message.
- Write the commit message from what is actually staged, including the AI assistance trailer.
- Create the commit with a real multiline message, using separate
-marguments for subject, body, and final trailer block. - Do not put literal
\nescapes in a single-mstring. - Amend immediately if the final message reads awkwardly.
Related skills