Analyze
Extract ubiquitous language, actor-role-permission matrix, and domain-code mapping. /architect:analyze [target_path] to invoke. Requires investigate output as a prerequisite.From its SKILL.md
npx -y skills add wfukatsu/nexus-architect --skill analyzeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.4 KB, as published. Nobody here has run it
System Analysis
Desired Outcome
Structure the domain knowledge of the target system and generate the following four analysis documents:
- System Overview — Business context, key features, system boundaries
- Ubiquitous Language — Domain term dictionary (term, definition, code correspondence, usage context)
- Actors, Roles, and Permissions — User types, role definitions, permission matrix
- Domain-Code Mapping — Correspondence between domain concepts and code implementations
Decision Criteria
- Cross-reference ubiquitous language with actual naming in the code
- Detect cases where the same concept uses different names
- Identify gaps in domain-code mapping (domain concepts not reflected in code)
- Track where business rules are implemented in the code
Prerequisites
| File | Required/Recommended | Source |
|---|---|---|
| reports/before/{project}/ | Required | /architect:investigate |
Available Resources
- Serena MCP — Symbol relationship analysis via
find_symbol,find_referencing_symbols(preferred) - Glob/Grep — Search for domain terms within code
- Read — Extract domain knowledge from documentation, comments, and test cases
- Task(Explore) — Parallel entity extraction across large codebases
Output
| File | Content |
|---|---|
reports/01_analysis/system-overview.md | Business context, feature list |
reports/01_analysis/ubiquitous-language.md | Domain term dictionary |
reports/01_analysis/actors-roles-permissions.md | Actor, role, and permission matrix |
reports/01_analysis/domain-code-mapping.md | Domain-code correspondence table |
Write all reports in the language configured in work/pipeline-progress.json (options.output_language).
Completion
- All four output files have been written
- Ubiquitous language contains at least 20 domain terms
- Update pipeline-progress.json
Related Skills
| Skill | Relationship |
|---|---|
| /architect:investigate | Upstream (input source) |
| /architect:evaluate-mmi | Downstream |
| /architect:evaluate-ddd | Downstream |
| /architect:analyze-data-model | Downstream |