From roadmap
Analyzes system architecture, module structures, API contracts, data models, and code patterns for design reviews, boundary analysis, conformance checks, and frontend evaluation.
npx claudepluginhub joaquimscosta/arkhe-claude-plugins --plugin roadmapThis skill is limited to using the following tools:
Analyze system architecture, module boundaries, API contracts, data models, and code patterns.
Advises on architecture for new features, modules, refactoring, or system boundaries by asking questions, surfacing trade-offs, and presenting options. Does not execute.
Analyzes software architecture for system design, module/service boundaries, tradeoffs, risks via ATAM/CBAM/ADR methods, and stakeholder synthesis. For design decisions and pain points.
Evaluates software architectures, suggests patterns, and generates diagrams for system design. Useful for refactoring, scalability planning, or new project blueprints.
Share bugs, ideas, or general feedback.
Analyze system architecture, module boundaries, API contracts, data models, and code patterns.
Run the shared context discovery protocol in CONTEXT_DISCOVERY.md. Execute all phases in order (use deep scan mode for Phase 7). Also glob for architecture-specific documents:
docs/adr/**/*.md, docs/architecture/**/*.md, docs/design/**/*.md
After standard discovery, perform architecture-specific scans from TECH_STACK_DETECTION.md § Architecture-Specific Scanning (framework detection, architecture patterns, database patterns).
Parse from $ARGUMENTS:
| Mode | Description |
|---|---|
module <name> | Deep module structure analysis |
api <feature> | API endpoint analysis and design guidance |
data-model <feature> | Database schema and data model analysis |
boundaries | Module boundary and coupling analysis |
patterns | Pattern conformance check |
decisions | ADR and decision traceability |
frontend <feature> | Frontend architecture guidance |
| (none) | Ask what the user needs architectural guidance on |
| Mode | Produces |
|---|---|
module <name> | Structure, domain model, API surface, dependencies, maturity, quality assessment, and prioritized recommendations |
api <feature> | Endpoint design (method, path, DTOs, auth, pagination, errors) matching existing patterns |
data-model <feature> | Schema design (tables, types, relationships, indexes, migrations) matching existing models |
boundaries | Import graph, shared references, coupling analysis, boundary violations |
patterns | Pattern catalog with codebase examples (layering, DTOs, events, testing) |
decisions | Decision traceability table (decision, evidence, status) |
frontend <feature> | Component hierarchy, data flow, state management, design system integration |
See WORKFLOW.md for detailed execution steps per mode.
After producing the analysis, ask the user:
Save this analysis to
{output_dir}/architecture/{filename}.md?
Where {output_dir} comes from .arkhe.yaml (default: arkhe/roadmap).
| Mode | Filename Pattern |
|---|---|
module <name> | module-{name}.md |
api <feature> | api-{feature-slug}.md |
data-model <feature> | data-model-{feature-slug}.md |
boundaries | boundary-analysis.md |
patterns | pattern-catalog.md |
decisions | decision-traceability.md |
frontend <feature> | frontend-{feature-slug}.md |
--deep)When $ARGUMENTS contains --deep, run the full multi-agent pipeline with Adversarial Review. A red team agent actively tries to break the proposed architecture.
See WORKFLOW.md § Deep Pipeline for the 5-phase execution protocol.
Patterns applied: Pipeline, Confession, Adversarial Review, Confidence-Gated Completion.
See the System Architect section of LANE_DISCIPLINE.md. Stay in your lane.