/core:designfrom core
Turns an approved spec into contracts, risks and a gated task plan. Use when the user plans how to build scoped work. Not for investigation (specify).
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
CANARY: design-loaded-2026-05-19-e08675ccb0a5c932
Owns sections 5–6 of status/specification.md (contracts, risks) and creates status/plan.md (task split). Reads sections 1–4 of status/specification.md to understand what the spec already covers.
Before Step 1 — the spec must be approved. The specify skill's validator
answers it: validate_spec.py --input status/specification.md --require-approved
(in that skill's scripts/). In a workspace, point --input at
arsenal/project/<WORKSPACE>/spec.md (see Workspace-aware paths below).
Anything but exit 0 means stop and hand the spec back for approval, because a plan written before approval is built on a draft.
Translate the chosen option into a concrete technical design.
For every interaction between components:
Use concrete examples (JSON payloads, SQL migrations, config snippets).
Break the implementation into ordered, independently testable tasks.
For each task:
<metric> <op> <threshold> derived from the spec's success criteria (p95_latency_ms <= 200, line_coverage >= 0.90), in the gate-check grammar so it can be checked mechanically; non-numeric only when no number fits.test_<what>_<condition>_<expected_result> names, each with a one-sentence assertion; they are copied into the task payload so the worker writes them failing first.Keep each task small enough for one commit. execution records each gate's evidence in the plan's Evidence log, which review and ship audit.
For each risk:
Pay special attention to:
Load references/template-specification-tail.md when appending contracts and risks (sections 5–6) to status/specification.md. Load references/template-plan.md when creating status/plan.md.
After writing the files, draw the dependency graph from the task table and confirm the plan's structure:
python3 "${CLAUDE_SKILL_DIR}/scripts/sync_plan_graph.py" --input status/plan.md --apply
python3 "${CLAUDE_SKILL_DIR}/scripts/validate_plan.py" --input status/plan.md
The graph is generated, never hand-drawn; rerun sync_plan_graph.py --apply after any change to Depends. The validator checks shape — the required sections and task-table columns, Gate included — and that every Depends edge is in the graph (a path counts: the graph leaves out edges a longer path implies, and past drawspec's one-flow budget it is split into a phase overview plus one graph per phase). A graph that is not a drawspec fence (an older plan's ASCII art) only warns, with the --apply fix. gate-check's run_gate.py --strict audits the gate values.
Draw any picture as a fenced diagram spec rather than hand-drawn SVG or ASCII art; load claude-arsenal/references/diagrams.md before the first one.
Once the validator passes, generate the reader and give the user the HTML in the same
reply; the plan is what they sign off on, section by section. Name the plan
explicitly, since auto-discovery finds only specs, and send --output-dir with it
(arsenal/project/<WORKSPACE>/ for a workspace plan):
create_reader.py --input status/plan.md --output-dir status # in claude-arsenal/scripts/; uv run --with markdown
It writes <repo>-plan-v<N>-<date>-reader.html and …-annotated.md and prints both paths. The plan
keeps the spec's review record (**Revision**, **Status**, **Revision log**);
seeding tasks or starting execution waits for
validate_plan.py --input <plan> --require-approved. Load
claude-arsenal/references/annotatable-reader.md when a returned notes
export arrives or when recording approval.
Abbreviated design = Step 1 (one paragraph) + Step 3 (task list only), where the host repo's CLAUDE.md allows it.
When arsenal/project/<WORKSPACE>/ exists, write the plan to arsenal/project/<WORKSPACE>/plan.md (and the contracts/risks tail to the workspace's spec.md) instead of status/plan.md. Otherwise use status/ as above. The validator takes the path via --input; point it at whichever file was written.
evals/loading_verification.json (opens in a new tab)references/template-plan.md (opens in a new tab)references/template-specification-tail.md (opens in a new tab)scripts/_review_record.py (opens in a new tab)scripts/sync_plan_graph.py (opens in a new tab)scripts/validate_plan.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nuncaeslupus/claude-arsenal --plugin core23 skills in this plugin
/arsenal-initRuns the claude-arsenal installer (the init skill) under a name that does not collide with Claude Code's built-in /init. Use when the user types /arsenal-init. Not for writing a CLAUDE.md./bugreportReads Android bugreports (dumpstate .txt or .zip) through a byte-offset index — device summary, ranked checkup, section lookup, merged timeline, redacted copies, report diffs. Use when the user has a bugreport to read or diagnose. Not for live-device adb sessions or logcat-only files./coverage-gapsRanks the most valuable missing tests from coverage.py's coverage.json. Use when the user asks which tests are missing. Not for non-Python code.