nx/skills/codebase-analysis/SKILL.md
Use when exploring an unfamiliar codebase, onboarding to a project, or needing to understand module structure before making changes
npx skillsauth add hellblazer/nexus codebase-analysisInstall 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 codebase-deep-analyzer agent (model: sonnet).
If the analysis is for a specific RDR or architectural decision, seed link-context so findings stored to T3 auto-link. See /nx:catalog for details. Skip for general exploration.
Use the Agent tool to invoke codebase-deep-analyzer:
## Relay: codebase-deep-analyzer
**Task**: [what needs to be done]
**Bead**: [ID] or 'none'
### Input Artifacts
- Files: [relevant files]
### Deliverable
Architecture analysis with patterns and dependencies
### Quality Criteria
- [ ] Architecture overview documented
- [ ] Key patterns identified and explained
- [ ] Dependency relationships mapped
For full relay structure and optional fields, see RELAY_TEMPLATE.md.
The codebase-deep-analyzer uses mcp__plugin_nx_sequential-thinking__sequentialthinking:
Outputs generated by the codebase-deep-analyzer agent:
Session Scratch (T1): Agent uses scratch tool for ephemeral working notes during the session. Flagged items auto-promote to T2 at session end.
development
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