Codebase Architecture (router)
Thin router for the codebase-architecture plugin. Do not run the full chain alone — pick one specialized skill and invoke it.
Choose one
| User intent | Invoke skill |
|---|---|
| Document / reverse-engineer / C4 / topology / reimplementation extract | codebase-architecture-analyze |
| Deep-module vocabulary, seams, interface design language | codebase-design |
| Shallow modules, deepening opportunities, architecture HTML review | improve-codebase-architecture |
| Conversation → PRD / spec without interview | architecture-to-spec |
| Large multi-file rewrite batches | External codebase-migrate (not in this plugin) |
If multiple steps are needed, run them in order:
- Load
codebase-designvocabulary first (or let each skill load it before durable writes) codebase-architecture-analyze(extracts)- Optional
improve-codebase-architecture architecture-to-spec- External migrate / normal implementation
(Use the choose-one table when the user wants only vocabulary/interface design — invoke codebase-design alone.)
Shared contracts
- Output routing: output-routing.md
- Playbook graph: playbook-chain.md
- C4 evidence rules: c4-evidence.md
Complements (not bundled)
deep-research/ PavedPath — external evidencegrill-me/grilling— after improve picks a candidate- Official feature-dev / Archcore when preferred
After routing
Load the chosen skill's SKILL.md and follow it completely. Announce which skill was selected and why (one sentence).