Commit message
Format: <type>(<optional scope>): <summary>
- Types:
feat,fix,refactor,perf,test,docs,style,chore,build,ci. - Summary: English, imperative mood ("add", not "added"), lowercase, no trailing period, max 72 chars.
- Body (optional): blank line after the summary, explain why, wrap at 72 chars.
- Breaking change: add
!after the type and aBREAKING CHANGE:footer. - One logical change per commit. Stage only the files that belong to it; never
git add -Ablindly.
When a task is done
If the task changed files, end the reply with a proposed commit, ready to copy:
<type>(<scope>): <summary>
<why, 1-3 lines, only if the summary is not enough>
- Base it on
git diffof the files this task touched, not on unrelated changes already in the working tree. - Changes that are really separate (e.g. a bug fix and a UI rename) get one proposed commit each, with the files for each listed under it.
- Propose only. Do not run
git commitunless the user asks.
Rules:
- Never add
Co-Authored-Byor "Generated with" lines. - Commit only when asked. Never
git pushunless the user explicitly asks.