claude-code-toolkit
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 7 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in dev/knowledge-pane-demo.sh
- rm -rf — Recursive force deletion command in evals/cases/access-cost.json
- rm -rf — Recursive force deletion command in evals/cases/audit-capture.json
- rm -rf — Recursive force deletion command in evals/cases/audit-round.json
- rm -rf — Recursive force deletion command in evals/cases/batch-baseline.json
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Stop babysitting your coding agent. A Claude Code plugin that turns a business need into a spec, a plan and test-first code, audited before you commit. Built for DDD / clean-architecture repos.
Claude Code Toolkit
From a business need to tested, audited code — Claude Code does the work, you make the decisions.
cctoolkit is a Claude Code plugin for DDD / clean-architecture repos. You describe a feature; Claude writes the spec with you, plans it, then builds it batch by batch under strict TDD and audits the result before you commit. What the product does is kept in a business knowledge base beside the code, so every new spec starts from it.
.NET first; Python, Java/Kotlin and TypeScript repos work through their layout and test tags.
Quick start
claude plugin marketplace add pierrebelin/claude-code-toolkit --scope project
claude plugin install cctoolkit@cctoolkit --scope project
Restart Claude Code, then run /cctoolkit:kit-init: it reads your repo, asks a few questions and sets everything up.
Requirements, options and what kit-init writes: INSTALL.md.
How it works
Three commands, one per step. Each one writes a file the next one reads.
flowchart LR
S["<b>1. Spec</b><br/>/business-spec"] -->|SPEC.md| P["<b>2. Plan</b><br/>/plan-implementation"]
P -->|"PLAN.md + one sheet per batch"| R["<b>3. Build</b><br/>/run-plan or /run-lot"]
R -->|"code, tests, report"| C(["you review and commit"])
/cctoolkit:business-spec— Claude asks you one question at a time, then writes a short business spec: rules, use cases, no technical detail. A second agent tries to poke holes in it./cctoolkit:plan-implementation— turns the spec into a technical plan, split into small batches.- Build — each batch on its own: tests first, then code, then an audit. Two ways to go through the plan: all at once, or one batch at a time.
The whole plan, or batch by batch
| Whole plan | Batch by batch | |
|---|---|---|
| Command | /cctoolkit:run-plan <plan> |
/cctoolkit:run-lot <sheet> |
| Runs | every batch, in dependency order | one batch |
| You step in | once, at the end | after each batch: review, /clear, next |
| Stops | a batch that cannot pass is set aside, only its dependents wait; batches set aside for one shared cause stop the plan | the batch comes back DONE, or with what needs your eyes |
| Fits | a plan you trust, a run over lunch or overnight | a new plan, a tricky batch, a team that reviews every commit |
Whole plan runs the batches in the order the plan allows. A stop is settled by an agent rather than a question, and what it decided without you opens the run report, to read after the plan. A batch that still cannot pass is set aside with its partial work saved, and the batches that do not depend on it carry on. Each batch that passes gets its own commit; you review them together at the end.
Batch by batch keeps you in the loop: each batch ends on a report and its own commit, you read it and start the next one with a clean context.
On a new plan, or a batch you are unsure of, go batch by batch until the first ones come back clean.
Inside run-lot, each behaviour of the batch is one loop:
flowchart LR
I["run-lot"] --> R
R["RED"] -->|"compact contract:<br/>RM/CU, scenario, level"| A["tdd-test-author subagent<br/>writes the red test"]
A -->|"red test<br/>no production code"| R
R --> G["GREEN + REFACTOR"]
G -->|"compact contract:<br/>red test, signatures,<br/>invariants, expected cost"| B["tdd-implementer subagent<br/>writes the production code<br/>tests read-only"]
B -->|"green + cost stated<br/>or BLOCKED"| G
G --> C["COST<br/>validated by the orchestrator"]
C -.->|"next behaviour"| R
C ==>|"whole batch green"| V["audit<br/>ddd-tdd-auditor"]
The orchestrator writes neither tests nor code: it splits the work, checks the diffs, validates the cost and settles the design. One agent writes the failing test, another makes it pass without touching it, a third audits.
A batch that stops short: fix the cause and run /cctoolkit:run-lot on the same sheet again, it resumes from the cycles already done. /cctoolkit:implement-tdd launches the chain from a plan path, /cctoolkit:verify-ddd-tdd audits a batch on demand.
Want to see the files? examples/ walks one small feature from spec to report.
A business knowledge base beside the code
What the product does and why lives in the repo, under docs/business/ by default: one folder per bounded context, one file per use case with its rules, the business decisions, the ADRs, and a history of every change. Each use case, rule and decision has a global id (CAT-RM-003) that the specs and plans cite.
flowchart LR
K[("knowledge base")] -->|read by levels| S["/business-spec<br/>writes a delta"]
S --> P["plan, build"]
P -->|"plan delivered:<br/>merge staged"| M["/knowledge-merge<br/>you confirm"]
M --> K
H["code changed<br/>outside the kit"] -->|"/knowledge-sync"| K
/cctoolkit:knowledge-syncbuilds the base from your code the first time, then catches up with what changed outside the kit. Nothing is written until you confirm./cctoolkit:business-specreads the base first and writes the spec as a delta: what the feature adds, changes or retires.- When a whole plan is delivered,
run-planstages the merge;/cctoolkit:knowledge-mergeshows the diff and writes it on your word. /cctoolkit:askanswers how the product behaves, or why, from the base, each fact cited by its id.
The base is plain Markdown, so you can review and commit it like code. The worked example is under examples/docs/business/.
Watch it run
A batch takes tens of minutes and a dozen agents, a whole plan several times that. The run-lot-pane mod shows it live inside Claude Code. On a plan, it opens on the plan: each batch with its state, time and tokens, and the supervisor checking between batches.

Open a batch and it shows each phase, which agent is working, the tests going red then green, the tokens spent, and the final verdict. The pane also steers the run: review what it decided without you, pause a plan between two batches, leave a note for a batch's agents (keys).

claude plugin install run-lot-pane@cctoolkit --scope project
Three more mods — a browser of the knowledge base that spends no model context, a live view of the spec as it's written, and a context meter telling you when to /clear: mods/README.md.
Opinionated by design
This kit encodes one way of working. It will:
- write the test before the code, every time;
- keep changes surgical — no drive-by refactors;
- tie every business rule to the tests that cover it;
- one commit per
DONEbatch, nothing else — the workflow commits the batch files only, your earlier changes stay out; never a push.
If your team works differently, half of it will feel like noise. Full list: skills/README.md.
Learn more
| Install, update, dependencies | INSTALL.md |
| A feature from spec to report | examples/ |
| The knowledge base's format | knowledge-format.md |
| Every skill and agent | skills/README.md |
| Layouts and configuration | presets/README.md |
Licence
MIT. Take what you want, closed-source projects included.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found