nx/skills/architecture/SKILL.md
Use when complex features need architectural design before implementation, or when system design decisions span multiple modules
npx skillsauth add hellblazer/nexus architectureInstall 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.
Delegates to the architect-planner agent.
Default: sonnet. Escalate via model parameter on the Agent tool:
| Task Shape | Model | When | |-----------|-------|------| | Single-module design, extension of existing pattern | sonnet (default) | Most architecture work | | Multi-phase, novel architecture, or system-wide redesign | opus | Greenfield, cross-cutting concerns |
REQUIRED SUB-SKILL: Use nx:serena-code-nav for symbol-level architecture discovery. Combine with nx search --hybrid for semantic discovery — Serena for precision, nx search for conceptual queries.
get_symbols_overview for class/interface inventories without reading filesfind_referencing_symbols to trace abstraction usage across the codebasefind_referencing_symbols to track cross-module callstype_hierarchy to see full implementation tree1. nx search --corpus code --hybrid (30-50 results) for semantic discovery
2. get_symbols_overview to map key classes in discovered files
3. type_hierarchy to trace abstraction patterns
4. find_referencing_symbols to understand cross-module usage
5. Synthesize findings with `mcp__plugin_nx_sequential-thinking__sequentialthinking`
6. Design architecture with clear boundaries
strategic-planner -> nx_plan_audit -> architect-planner -> developer
Before dispatching the architect-planner agent, seed T1 scratch with link targets so the auto-linker can create catalog links when the agent stores findings:
RDR-\d+) or a known document, resolve it: mcp__plugin_nx_nexus-catalog__search(query="RDR-NNN or document title")rdr-planning-contextmcp__plugin_nx_nexus__scratch(action="put", content='{"targets": [{"tumbler": "<resolved-tumbler>", "link_type": "relates"}], "source_agent": "architect-planner"}', tags="link-context")
Use the Agent tool to invoke architect-planner:
## Relay: architect-planner
**Task**: [what needs to be done]
**Bead**: [ID] or 'none'
### Input Artifacts
- Files: [relevant files]
### Deliverable
Architecture design with execution plan
### Quality Criteria
- [ ] Component boundaries clearly defined
- [ ] Interfaces specified
- [ ] Execution plan created with beads
For full relay structure and optional fields, see RELAY_TEMPLATE.md.
The architect-planner uses nx search --corpus code --hybrid for discovery (30-50 results), then mcp__plugin_nx_sequential-thinking__sequentialthinking:
mcp__plugin_nx_nexus__nx_plan_audit validation (RDR-080)/beads:dep add for dependenciesdevelopment
Use when critiquing / auditing / reviewing a change set against decision history — tries the review plan library first (catalog lookup → decision-evolution traversal → extract → compare), falls through to /nx:query if nothing matches
documentation
Use when doing design / architecture / planning work that walks from prose (RDRs, docs, knowledge) into the modules implementing a concept
development
Use when surveying the plan library's runtime metrics to propose plans for promotion to a higher scope — advisory-only; dispatches the plan-promote-propose meta-seed (no lifecycle ops — those ship in RDR-079)
business
Use when inspecting plan runtime metrics or enumerating dimension-registry usage — dispatches plan_match with dimensions={verb:plan-inspect}; strategy:default reports per-plan metrics, strategy:dimensions reports registry usage counts