Issue Commit Format
Use this workflow to commit changes with a strict issue-linked message format.
Inputs
- •Require an issue number argument.
- •Require a prefix token such as
feat,fix,chore,docs,refactor, ortest.
Workflow
- •Inspect staged and unstaged changes with
git status --shortandgit diff. - •Summarize what changed and red-team for accidental files.
- •Stage only intended files.
- •Create commit subject in this exact pattern:
#<issue-number> <prefix>: <descriptive English commit message> - •Add a detailed commit body describing(日本語で記載する):
- •What changed
- •Why it changed
- •Scope/impact
- •Any constraints or follow-ups
- •Run
git show --stat --oneline -1to verify commit content.
Guardrails
- •Never commit unrelated files unless user explicitly asks.
- •Keep subject line in English.
- •Keep body concrete and tied to actual diff.
- •If issue number is missing, ask for it before committing.