skills/plan-router/SKILL.md
Use when creating or refining any implementation plan, roadmap, or task breakdown. Routes to the appropriate C4 phase skill based on current plan state.
npx skillsauth add popoffvg/dotfiles plan-routerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Routes planning work to the correct C4 phase skill. Be declarative, constraint-first, and concrete (real file paths, real types).
_notes/plan.md (or note its absence).| Condition | Route to | |---|---| | No plan or no Description | plan-context (L1) | | L1 decisions fixed, L2 missing/open | plan-container (L2) | | L1+L2 fixed, L3 missing/open | plan-component (L3) | | L1+L2+L3 fixed, L4 missing/open | plan-code (L4) | | All levels fixed | plan-verify |
Skipping L1–L3: scope is a single-function change.If you already proposed a routing decision or next planning action and the user replies with a short confirmation (for example: "let's do", "do it", "go ahead", "ok"), treat that as approval to execute the last concrete proposal immediately.
Always return a compact routing decision in this shape:
Routing Decision
- selected phase skill: <plan-context|plan-container|plan-component|plan-code|plan-verify>
- why: <1-2 concrete reasons tied to plan state>
- evidence: <file/section names used>
- skipped levels: <none|L1-L2... + explicit reason>
- next action: <run selected phase skill>
If _notes/plan.md is absent, return plan-context and explicitly say "starting from L1 because plan file is missing".
work-plan-flow), data structures, patternsConstraints, layout, and traceability rules live in work-plan (router) and work-plan-flow (TS pseudocode patterns). No separate contract skill.
Can change: templates, command names, constraint wording, mapping format Cannot change: checkbox contract, criteria<>TODO traceability, declarative-first planning, phase routing order Min sessions before eval: 5 Runs per experiment: 3
tools
Improve a whole CLAUDE.local.md — the private, per-project rules captured from user corrections. Wraps each conditional rule in a <task-relevant> block so it only surfaces for matching work, merges duplicates, generalizes one-off facts, drops stale entries, and routes raw project facts to engram. Use when the user says "improve claude.local", "clean up the local rules", "claude.local is bloated", or after the Stop hook has appended many rules.
testing
WM pipeline and conventions shared across all phases. Agents must read this before spec, impl, or verify work.
development
One entry point for spec writing, implementation, and bug fixing. Default is new (write spec → grill loop → produce notes → author TODO bodies). Other subcommands: verify (audit), revise (sync to shipped), prototype (settle a decision), code-map (diagram), impl (execute one TODO), fix (analyze cause, correct thoughts, fix behavior), help (this page). Invoke as /code <subcommand>.
development
Red-Green-Refactor cycle for bug fixes. Before fixing a bug, first write a failing test that reproduces it (Red), then make the minimal change to pass (Green), then clean up the code (Refactor). Use on any bug fix, error correction, failing test repair, or when user says "fix this bug".