commit-craft plugin
Turn a tangled working tree into a clean, reviewable commit series. Three deterministic stdlib scripts over git: a series planner that groups changes into commits in build-safe order (manifest with lockfile, pure moves, formatting, each module's change with its tests, docs, CI), holds back .env and key files, and flags mixed formatting and moves whose callers would break; a secret gate that scans staged or pushed lines for provider tokens, high-entropy secrets, sensitive files and conflict markers and blocks before the commit exists, with redacted output and reasoned waivers; and a message linter that blocks vague subjects, missing why on large changes and pending fixup commits, matching the repo's own convention. Ships pre-commit, commit-msg and pre-push hooks, cs-commit-craft agent, /cs-commit-craft and /cs-commit-check commands and 3 cited references.
How to install the commit-craft plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add alirezarezvani/claude-skills
/plugin install commit-craft@claude-code-skillsWhat's inside commit-craft
4 parts read from the plugin's own files.
Commands 2
Run as /commit-craft:name- /commit-craft:cs-commit-check
No description in the file.
- /commit-craft:cs-commit-craft
No description in the file.
Agents 1
Call as @agent-commit-craft:name- @agent-commit-craft:cs-commit-craft
No description in the file.
Skills 1
Claude loads it when the task matches- commit-craft
No description in the file.
Using commit-craft in Claude Code
Type a command in a Claude Code session:
/commit-craft:cs-commit-check
/commit-craft:cs-commit-craftAsk for an agent by name:
@agent-commit-craft:cs-commit-craftSkills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update commit-craft@claude-code-skills
- Refresh the marketplace
- /plugin marketplace update claude-code-skills
- Turn it off for now
- /plugin disable commit-craft@claude-code-skills
- Remove it
- /plugin uninstall commit-craft@claude-code-skills
commit-craft plugin questions
How do I install the commit-craft plugin?
In Claude Code run /plugin marketplace add alirezarezvani/claude-skills, then /plugin install commit-craft@claude-code-skills.
What does the commit-craft plugin include?
commit-craft bundles 2 commands, 1 agent, 1 skill.
What commands does the commit-craft plugin add?
It adds /commit-craft:cs-commit-check, /commit-craft:cs-commit-craft. Run them in Claude Code with the plugin prefix, for example /commit-craft:cs-commit-check.
Which agents come with commit-craft?
cs-commit-craft. Call one with @agent-commit-craft:cs-commit-craft.
How do I update or remove the commit-craft plugin?
Update it with claude plugin update commit-craft@claude-code-skills in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall commit-craft@claude-code-skills.