/cs-commit-check¶
With no argument, check what is staged. With a range, check the series before push.
python ${CLAUDE_PLUGIN_ROOT}/skills/commit-craft/scripts/secret_gate.py # staged
python ${CLAUDE_PLUGIN_ROOT}/skills/commit-craft/scripts/secret_gate.py --range <range>
python ${CLAUDE_PLUGIN_ROOT}/skills/commit-craft/scripts/message_linter.py --range <range>
Report¶
- The verdict line of each script.
- Blockers with file:line or commit, and the fix. For a secret: if the range was ever pushed, say to rotate it first, then remove it.
- Warnings, briefly.
- Offer to install the hooks from
${CLAUDE_PLUGIN_ROOT}/skills/commit-craft/assets/hooks/so this runs on every commit and push.