1.1 KiB
1.1 KiB
description, argument-hint, subagent, fork
| description | argument-hint | subagent | fork |
|---|---|---|---|
| Generate a conventional commit message and optional PR description from current changes | [diff, file list, or 'auto' to use git status] | true | true |
Generate a commit message for: $@
Structure your answer as:
- Type & scope — one of: feat, fix, refactor, perf, test, docs, build, ci, chore, style; scope is the affected module/subsystem
- Subject — imperative mood, ≤72 chars, no trailing period, no emoji
- Body — wrapped at 72 cols, explain why not what. Use bullet points for multiple distinct changes.
- Footer —
BREAKING CHANGE: …if applicable;Refs: #123for linked issues - PR description (if the change is non-trivial) — Summary, Motivation, Changes, Test plan, Risks
Format the final message in a single fenced block ready to copy. If the change spans multiple logical commits, propose a split with one subject per commit and the file groups that belong in each.
Read the diff before writing — never invent files, symbols, or behavior. If git status is empty or the diff is unclear, ask before fabricating.