| name | commit |
| description | Create a conventional commit. No Co-Authored-By trailer. |
| user_invocable | true |
Trigger
When the user asks to commit changes or invokes /commit.
Rules
- Stage only relevant files by explicit path (never
git add -A or git add .)
- Use conventional commit format:
<type>(<scope>): <description>
- Do NOT include any Co-Authored-By trailer in the commit message
- Do NOT push unless explicitly asked
- Run
./scripts/post-edit-check.sh before committing if code edits were made
Commit Message Format
<type>(<optional scope>): <short description>
<optional body>
Types: feat, fix, docs, style, refactor, test, chore, ci, perf
Process
- Run
git status and git diff --stat to review changes
- If no files are staged, stage the relevant files by explicit path
- Draft a concise commit message summarizing the changes
- Create the commit via
git commit -m "..." using a HEREDOC — no Co-Authored-By line
- Show the commit result with
git log --oneline -1