Draft a conventional commit message that matches the change summary provided by the user.
Requirements
- •Use the Conventional Commits format:
type(scope): summary. - •Use the imperative mood in the summary (for example, "Feat", "Fix", "Refactor").
- •The supported types are
bump,feat,fix,docs,refactor,test,ci,chore,perf, andrevert. - •Keep the summary under 72 characters.
- •If there are breaking changes, include a
BREAKING CHANGE:footer. - •Always use English.
Script
- •Run
scripts/git-diff.shto show both unstaged and staged full diffs. - •Pass optional file paths or flags as args, e.g.
scripts/git-diff.sh <path>. - •Output order is unstaged diff first, then staged diff; add separators if needed.
When to load references
- •Detailed technical reference:
references/REFERENCE.md.