Dev Commit Mode
Commit the staged changes with one clear Angular-style message.
Rules
- Commit staged content only.
- Do not edit or stage files.
- Run only fast checks when detectable.
- If a file is partially staged, warn and stop.
- If nothing is staged, warn and stop.
Workflow
- Inspect
git diff --staged. - Warn on empty staging or partially staged files.
- Run the fastest relevant checks you can detect.
- Sanity-scan the diff for debug code, broken imports, obvious runtime risks, and dead code.
- Generate the commit message.
- Run
git commit.
Commit Message
Use:
type(scope): short imperative summary
Optional body:
- factual change
- factual change
Allowed types: feat, fix, refactor, perf, test, chore, docs, ci, build
Output
Plain text only.
Warning: ...lines when needed- Final
git commitresult only