跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

C4 Architecture Skill

技能 已验证 活跃

Generate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document system architecture, visualize software structure, create C4 diagrams, or generate context/container/component/deployment diagrams. Triggers include "architecture diagram", "C4 diagram", "system context", "container diagram", "component diagram", "deployment diagram", "document architecture", "visualize architecture".

目的

To help users create professional, audience-appropriate architecture documentation using the C4 model and Mermaid diagrams, simplifying the visualization of software structure and design decisions.

功能

  • Generate C4 Context, Container, Component, Deployment, and Dynamic diagrams
  • Support for microservices and event-driven architectures
  • Audience-appropriate diagram selection and detail
  • Adherence to C4 model best practices and anti-patterns
  • Mermaid syntax output for broad compatibility

使用场景

  • Documenting system architecture for various stakeholders
  • Visualizing software structure and component relationships
  • Creating diagrams for technical documentation and presentations
  • Explaining complex system designs through clear visualizations

非目标

  • Generating UML diagrams or other diagramming formats
  • Interacting with live systems to discover architecture
  • Providing runtime analysis or code quality checks

工作流

  1. Understand scope and audience
  2. Analyze system structure (conceptually)
  3. Generate appropriate C4 diagram(s) using Mermaid syntax
  4. Document diagrams in markdown files with context

实践

  • Architecture Documentation
  • Diagramming Best Practices
  • C4 Model Implementation

Trust

  • info:Issues Attention17 issues opened and 4 closed in the last 90 days, indicating slow response times from maintainers.

安装

npx skills add davila7/claude-code-templates

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
95 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标27.2k
许可证MIT
状态
查看源代码

类似扩展

Pathfinder

100

将代码库映射为按功能分组的流程图,识别不同功能之间的重复关注点,并提出统一的架构。在被要求“寻找理想路径”、统一重复系统或在重构前审计架构时使用。输出一个建议的统一流程图以及针对每个系统的“制定计划”提示。

技能
thedotmack

Sf Diagram Mermaid

99

Salesforce architecture diagrams using Mermaid with ASCII fallback. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use sf-diagram-nanobananapro), or asks about non-Salesforce systems.

技能
jaganpro

Figma Generate Diagram Prerequisite

97

MANDATORY prerequisite — load this skill BEFORE every `generate_diagram` tool call. NEVER call `generate_diagram` directly without loading this skill first. Trigger whenever the user asks to create, generate, draw, render, sketch, or build a diagram — flowchart, architecture diagram, sequence diagram, ERD or entity-relationship diagram, state diagram or state machine, gantt chart, or timeline. Also trigger when the user mentions Mermaid syntax or wants a system architecture, decision tree, dependency graph, API call flow, auth handshake, schema, or pipeline visualized in FigJam. Routes to type-specific guidance, sets universal Mermaid constraints, and tells you when to use a different diagram type or skip the tool entirely (mindmaps, pie charts, class diagrams, etc.).

技能
figma

Azure Resource Visualizer

96

Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. WHEN: create architecture diagram, visualize Azure resources, show resource relationships, generate Mermaid diagram, analyze resource group, diagram my resources, architecture visualization, resource topology, map Azure infrastructure.

技能
microsoft

V3 Ddd Architecture

100

Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.

技能
ruvnet

Understand

100

分析代码库以生成交互式知识图谱,用于理解架构、组件和关系

技能
Lum1104