跳到正文
cccskills
免费在 GitHub 公开

nw-diagram

Generates C4 architecture diagrams (context, container, component) in Mermaid or PlantUML. Use when creating or updating architecture visualizations.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

NW-DIAGRAM: Architecture Diagram Generation

Wave: CROSS_WAVE | Agent: Morgan (nw-solution-architect) | Command: *create-diagrams

Overview

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.

Context Files Required

  • docs/product/architecture/brief.md (SSOT — component boundaries, technology stack, design decisions)

Workflow

  1. Read Context — Load docs/product/architecture/brief.md. Extract component boundaries, technology stack, and design decisions. Gate: architecture brief loaded.
  2. Resolve Configuration — Determine diagram_type (component|deployment|sequence|data|context), format (mermaid|plantuml|c4), level (context|container|component), and output_directory. Gate: all configuration parameters resolved.
  3. Invoke Agent — Delegate to @nw-solution-architect with *create-diagrams for {architecture-component}, passing context files and resolved configuration. Gate: agent invoked with all parameters.
  4. Validate Output — Verify diagrams render without syntax errors and files exist in output_directory. Gate: all success criteria pass.
  5. Handoff — Return deliverables to invoking agent. Gate: architecture diagrams available in configured format.

Success Criteria

  • Diagrams accurately represent current architecture
  • Audience-appropriate detail level applied
  • Diagrams render without syntax errors
  • Output files created in configured directory

Next Wave

Handoff To: {invoking-agent-returns-to-workflow} Deliverables: Architecture diagrams in configured format

Examples

Example 1: Generate C4 container diagram

/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.

Expected Outputs

docs/product/architecture/
  system-context.{ext}
  component-architecture.{ext}
  deployment-architecture.{ext}

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation

中文简介正在准备中。当前显示原文说明。

nWave-ai/nWave6222026年9月16日 更新

Review dimensions for validating agent quality - template compliance, safety, testing, and priority validation

中文简介正在准备中。当前显示原文说明。

nWave-ai/nWave6222026年9月16日 更新

Review dimensions for acceptance test quality - happy path bias, GWT compliance, business language purity, coverage completeness, walking skeleton user-centricity, priority validation, observable behavior assertions, traceability coverage, and walking skeleton boundary proof

中文简介正在准备中。当前显示原文说明。

nWave-ai/nWave6222026年9月16日 更新

Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement

中文简介正在准备中。当前显示原文说明。

nWave-ai/nWave6222026年9月16日 更新

5-layer testing approach for agent validation including adversarial testing, security validation, and prompt injection resistance

中文简介正在准备中。当前显示原文说明。

nWave-ai/nWave6222026年9月16日 更新

Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating architecture styles.

中文简介正在准备中。当前显示原文说明。

nWave-ai/nWave6222026年9月16日 更新

查看 nWave-ai 的全部技能

报告此技能的问题