Scaffold a new project or CLI
Load the production-grade doctrine before generating a scaffold, since a scaffold that violates it is cheaper to regenerate than retrofit.
Also usessuperpowers
Scaffolding is the one task where the doctrine must be loaded before the generator runs, because a scaffold that violates the doctrine is cheaper to regenerate than to retrofit. Paradigm choice — compiled, interpreted, or shell — is fixed by language and cannot be swapped later without regenerating.
Start here
I want to scaffold a new CLI for this -- brainstorm what it should actually do before any code exists, load the production-grade architecture doctrine before the paradigm skill generates anything, and verify the result against the five pillars while it's still disposable enough to regenerate rather than patch.Needssuperpowers, cli-scaffold
Beats
Run these in order. Each prompt is copy-pasteable straight into Claude Code.
superpowers:brainstormingalso in 1 other recipeRequired before any creative work; a scaffold generated from an unexamined idea encodes the idea's flaws structurally.
Run this beat on its own
promptI want to build a small CLI for this. Let's brainstorm what it should do before any code exists.cli-scaffold:cli-architectureIts own instruction: load "BEFORE any paradigm skill ... generates a scaffold".
cli-scaffold:cli-scaffold-interpretedParadigm choice (compiled / interpreted / shell) is fixed by language and cannot be swapped later without regenerating; loads the cli-architecture doctrine first.
Run this beat on its own
promptscaffold a production-grade Python CLI for this, following the architecture doctrine rather than a bare templatecli-scaffold:cli-scaffold-verifierChecks the five pillars and the frozen 0/1/2 exit-code contract while the scaffold is still disposable.
Run this beat on its own
promptverify the scaffold you just generated against the five pillars — read-only, don't fix anything yet
Worked example
Grounded in — why this beat order is trustworthy
`tools/werkstoff-cli/` is the shape a sibling CLI in this repo should match: a `src/werkstoff/` package split into `cli.py` and `core.py`, snapshot tests under `tests/__snapshots__/`, and a `pyproject.toml` pinning `requires-python = ">=3.12"`.
Do / Don't
- Brainstorm what the CLI should do before any code exists -- a scaffold generated from an unexamined idea encodes the idea's flaws structurally.
- Load the cli-architecture doctrine before the paradigm skill runs, every time -- it states this about itself.
- Verify the scaffold against the five pillars and the exit-code contract while it's still disposable, before anything is built on top of it.
- Don't pick a paradigm (compiled/interpreted/shell) expecting to swap it later -- it's fixed by language and cannot be swapped without regenerating.
- Don't let the paradigm skill generate a scaffold before the architecture doctrine has loaded -- retrofitting it afterward is more expensive than loading it first.
- Don't treat verification as optional once the scaffold exists -- it's cheapest to fix while still disposable.