/magician:blueprint [spec-file-path] | review <plan-dir> | --static | --artifactfrom magician
Transforms an approved specification into a TDD task plan with parallelism map, generating plan.md, plan.html, and plan.workflow.js. Use after spec approval, before coding.
Ships in magician. 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.
Bundled command: if
kgis not found, run it as${CLAUDE_PLUGIN_ROOT}/tools/kg; if that is missing too, skipkg blastand leavecontext.blastout.
Bundled command: if
plan-renderis not found, run it as${CLAUDE_PLUGIN_ROOT}/tools/plan-render; if that is missing too (Claude chat, Cowork), writeplan.mdonly, per references/plan-format-legacy.md, and skip steps 4–6.
Turn an approved spec into one plan source, plan.json, and render from it: plan.md (what /orchestrate and /ward execute), plan.html (the walkthrough a reviewer sees) and plan.workflow.js (the plan as a runnable Workflow, deferred steps omitted). plan.md is also the compaction-proof checklist (- [ ] boxes): Task tools are absent on current models unless CLAUDE_CODE_ENABLE_TODO_TOOLS=1.
plan.md contract: references/plan-schema.md · example: references/plan-example.jsonstate.json: references/live-loop.mdIf the spec path is not clear from context, ask: "Which spec should I plan from? (I'll use the most recent file in .workspace/shared/specs/ if you don't specify.)" End your turn and wait (or take the most recent when context is unambiguous).
review <plan-dir> reopens a plan: skip to step 5. --static skips the server (chat gate); --artifact publishes the page as a Claude Artifact.
.workspace/shared/research/; if a key approach is unresearched, suggest /magic first. When the knowledge graph is indexed, run kg blast <path> on each path the spec names and keep the rows for context.blast; otherwise leave it out — never estimate.Plan agent (read-only): give it the spec path and kg pointers; ask for every file to create or modify, its responsibility and component. If unavailable (disabled, or inside a subagent), map inline.plan.json to .workspace/shared/plans/<date>-<feature>/plan.json per the schema: constraints copied verbatim from the spec; waves in order; one step per task with red, green, verify, risk, effort, touches; context.components and edges; infographic only with real numbers. version: 1, status: in_review, every review.status: pending. Each verify is the exact commands that will be run, taken in order from .claude/skills/verify/SKILL.md if present, REVIEW.md if present, the stack lore's commands, else the spec — never "run the tests".plan-render all <dir>/plan.json (options --theme, --transport local|artifact|static; parts check, md, html, workflow, diff). It checks the plan and writes plan.md, plan.html, plan.workflow.js and a history/ snapshot. Exit 2 lists violations: fix plan.json, re-run. Never hand-edit rendered files.node present, no --static/--artifact): ${CLAUDE_PLUGIN_ROOT}/tools/companion/vc-start.sh <dir> <project> --plan, then "Plan ready: N steps in W waves — open <plan_url>". Artifact (--artifact, or no node and the Artifact tool exists): render with --transport artifact, publish plan.html with the Artifact tool, declare {db, user} per live-loop.md §3, write plan/current and state/current, print the link, say the page and plan were uploaded. Chat: "Plan ready … open <dir>/plan.html".tail -n0 -F <events_file>, maximum deadline (30 min), filter "type":"(step|plan)\." — not pre-approved; the normal prompt covers it. Handle each event per live-loop.md §4 (write state.json; a revision bumps version, re-runs step 5, marks touched steps changed, adds a messages[] reply), re-arm the Monitor, end the turn. plan.approved freezes and continues; plan.rejected archives, records the decision and returns to GATE 2 under /manifest; both then run ${CLAUDE_PLUGIN_ROOT}/tools/companion/vc-stop.sh <dir>. On deadline print "Plan review paused — reopen with /blueprint review ". Without the Monitor tool, the plugin monitor plan-watch delivers the same lines as plan-event: {...}.events with the database read action, run the same table, write state/current and plan/current back.T7: … lines pasted from the page), Adjust scope. End your turn at the call. Free-form "looks good" is Approve. Revise/Adjust: apply revision-rules.md, bump version, re-run step 5, gate again. Approve: status: approved, render once.Steps 1–6 are one autonomous pass on the commands this skill pre-approves (companion start and stop included); the browser, the Monitor and the Artifact tool prompt once. The only gate is step 7. Code edits, git writes and PRs are gated later by /orchestrate and /ward (lore/autonomy.md).
A task is the smallest unit with its own test cycle that is worth a fresh reviewer's gate — no finer: fold setup, scaffolding and docs into the task that needs them; split only where a reviewer could accept one task and reject its neighbour. Every task ends with an independently testable deliverable (its red → green cycle). Effort 5–60 minutes; honest risk.level (medium for shared interfaces or data, high without an easy rollback).
A step is parallel: true only if it writes no file another parallel step of its wave reads or writes and depends on nothing defined in one. Integration tasks are sequential. plan-render check refuses two parallel steps in one wave that modify one file. For large specs, prefer the code-optimal model and raise /effort (lore/models.md).
Dispatched and blocked or degraded? Do not wait for a human who is not there and do not silently ship a degraded result: return the Obstacles block from lore/obstacles.md (fields: STATUS, OBSTACLE, BLOCKER, SEVERITY, WORKAROUND, RECURRENCE, SCOPE, NEXT) with what you completed; interactively, say it in prose.
Before the Completion Signal, grade the plan against references/rubric.md; list unmet items.
"Blueprint complete. tasks planned (
parallel, sequential) in waves, saved to .workspace/shared/plans/
references/live-loop.md (opens in a new tab)references/plan-example.json (opens in a new tab)references/plan-format-legacy.md (opens in a new tab)references/plan-schema.md (opens in a new tab)references/revision-rules.md (opens in a new tab)references/rubric.md (opens in a new tab)references/walkthrough.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
task-planning, tdd, spec-to-plan, plan-rendering, workflow-generation
npx claudepluginhub alexander-tyagunov/magician --plugin magician25 skills in this plugin
/acceleratePerformance profiling and optimization, baseline first. Use when something is slow or must hit a latency/throughput target./almanacOne-time workspace setup; .workspace/, .gitignore, CLAUDE.md, optional AGENTS.md and REVIEW.md. Run once per project./autopsyBlameless post-mortem / RCA; timeline, 5-Whys, action items, committed write-up. Use after an incident or outage./certifyVerification loop; tests, types, lint, build, Playwright for UI; evidence before success claims. Use to verify a change is green.Other plugins' skills for the same job