From claude-only-commit-workflow
Full commit workflow for claude-only-commit-workflow plugin. Manages guard file, staging, review, message generation, and user approval.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-only-commit-workflow:commit-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
ALWAYS use this exact format when committing. Never run `git commit` without the prefix.
ALWAYS use this exact format when committing. Never run git commit without the prefix.
CLAUDE_COMMIT_ALLOWED=1 git commit -m "<message>"
Run git status --short and git diff --cached --stat.
If staged changes exist: Proceed to Step 2.
If no staged changes: Run git diff --stat to show workspace changes. Use AskUserQuestion to ask which files to stage:
git add <files>Run git diff --cached to get the full diff.
Review for:
If issues found: Report findings clearly. Abort without committing. Do NOT create the guard file.
If clean: Proceed to Step 3.
Analyze git diff --cached to generate a concise commit message:
Ask:
"Commit with this message?"
<generated message>
Options: Approve / Edit / Cancel
CLAUDE_COMMIT_ALLOWED=1 git commit -m "<approved message>"
Report the commit hash and summary to the user.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub flupinochan/claude-only-commit-workflow --plugin claude-only-commit-workflow-plugin