/cs-commit-craft¶
Turn the uncommitted work in $ARGUMENTS (default: the current repo) into a reviewable series.
python ${CLAUDE_PLUGIN_ROOT}/skills/commit-craft/scripts/commit_planner.py
# for each planned group, in order:
git add -- <files> # git add -p -- <file> for MIXED_FORMATTING files
python ${CLAUDE_PLUGIN_ROOT}/skills/commit-craft/scripts/secret_gate.py
python ${CLAUDE_PLUGIN_ROOT}/skills/commit-craft/scripts/message_linter.py -m "<message>" --staged
git commit -m "<message>"
# then the series
python ${CLAUDE_PLUGIN_ROOT}/skills/commit-craft/scripts/message_linter.py --range @{upstream}..HEAD
Stop at the first BLOCKED gate and report it; do not commit around it. Push only if --push was given.
Report¶
- The plan: numbered groups with subject and files, and each default you chose (type, scope, order).
- Anything held back: secrets files, waivers with their reasons, files you staged by hunk.
- The final
git log --onelineof the new commits. - Whether every commit was tested (
git rebase -x "<test command>" @{upstream}) or that this is still owed.