nWave/skills/nw-diagram/SKILL.md
Generates C4 architecture diagrams (context, container, component) in Mermaid or PlantUML. Use when creating or updating architecture visualizations.
npx skillsauth add nwave-ai/nwave nw-diagramInstall 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.
Wave: CROSS_WAVE | Agent: Morgan (nw-solution-architect) | Command: *create-diagrams
Generate architecture diagrams from design documents. Supports C4 model levels (context|container|component) in Mermaid|PlantUML|C4 format. Audience-appropriate: high-level context for stakeholders|component details for developers|deployment topology for operations.
docs/product/architecture/brief.md. Extract component boundaries, technology stack, and design decisions. Gate: architecture brief loaded.diagram_type (component|deployment|sequence|data|context), format (mermaid|plantuml|c4), level (context|container|component), and output_directory. Gate: all configuration parameters resolved.@nw-solution-architect with *create-diagrams for {architecture-component}, passing context files and resolved configuration. Gate: agent invoked with all parameters.output_directory. Gate: all success criteria pass.Handoff To: {invoking-agent-returns-to-workflow} Deliverables: Architecture diagrams in configured format
/nw-diagram payment-service --diagram_type=component --format=mermaid --level=container
Morgan reads architecture docs and produces a Mermaid container diagram showing service boundaries, data stores, and external integrations.
docs/product/architecture/
system-context.{ext}
component-architecture.{ext}
deployment-architecture.{ext}
testing
Scala 3 language-specific patterns with ZIO, Cats Effect, and opaque types
testing
Kotlin language-specific patterns with Arrow, Raise DSL, and coroutine-based effects
testing
Haskell language-specific patterns, GADTs, type classes, and effect systems
testing
F# language-specific patterns, Railway-Oriented Programming, and Computation Expressions