Commit
Workflow
- Inspect
git status --shortandgit diff --statbefore staging anything. - Read enough diff context to understand the user-facing intent.
- Refuse to include clearly unrelated changes in the same commit. If the tree is mixed, ask the user or limit staging to the relevant paths.
- Stage only the files that belong in this one commit.
- Write a semantic commit message using a standard type such as
feat,fix,refactor,docs,test, orchore. - Commit and report the resulting SHA.
- Do not push.
Guardrails
- Prefer one clean commit over speculative splitting.
- Do not rewrite history.
- Do not include generated lockfile noise unless it is required by the change.