commit
Installation
SKILL.md
Commit Changes
When to use this skill
Activate when the user types /commit, asks to commit changes, save work to
git, create a commit, or write a commit message.
Non-negotiables
Hook behavior is controlled by --verify.
- Default, without
--verify: every commit command must include-n. - With
--verify: run hooks and never pass-nor--no-verify. - Body formatting: use one or two
-mflags, never three or more. The first-mis the subject. The optional second-mis the whole body.
If the commit command fails, fix the underlying issue or report the failure. Do not switch hook behavior unless the user changes the flags and asks again.