generating-architecture-diagrams

Translate subsystem catalogs into C4 architecture diagrams with Mermaid or PlantUML.

1|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/tachyon-beep/hamlet --skill generating-architecture-diagrams
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generating-architecture-diagrams
Source: https://github.com/tachyon-beep/hamlet/tree/main/.claude/skills/axiom-system-archaeologist/skills/generating-architecture-diagrams
Command: npx skills add https://github.com/tachyon-beep/hamlet --skill generating-architecture-diagrams

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps software teams translate fragmented subsystem catalogs into clear, actionable architecture diagrams, reducing manual diagramming time and miscommunication.

Core Features & Use Cases

  • C4 Architecture Coverage: Produce Context (Level 1), Container (Level 2), and Component (Level 3) diagrams from a catalog of subsystems.
  • Abstraction-first Guidance: Apply grouping, metadata enrichment, and selective sampling to keep diagrams readable.
  • Output-oriented: Write results to 03-diagrams.md with diagrams (Mermaid or PlantUML) blocks, descriptions, a legend, and an optional assumptions/limitations section.

Quick Start

Ensure you have a 02-subsystem-catalog.md in your workspace, then run the diagram generator to produce 03-diagrams.md. Use Mermaid blocks to visualize each diagram and include a narrative description and legend.

Frequently Asked Questions about generating-architecture-diagrams

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate C4 architecture diagrams from a subsystem catalog?

To generate C4 architecture diagrams, you need a subsystem catalog file as input. The skill translates this catalog into Context, Container, and Component diagrams, outputting Mermaid or PlantUML blocks with narratives and legends.

What is the best way to create Mermaid diagrams for complex subsystems?

The best way to create Mermaid diagrams for complex subsystems is by using abstraction-first guidance. This approach applies grouping, metadata enrichment, and selective sampling to keep multi-level architecture diagrams readable.

Do I need a specific file format to generate architecture diagrams?

Yes, you need a subsystem catalog file, typically named 02-subsystem-catalog.md, in your workspace. The skill reads this catalog to produce the 03-diagrams.md file containing the generated architecture diagrams.

Can I generate both Context and Container level diagrams automatically?

Yes, you can generate both Context (Level 1) and Container (Level 2) diagrams automatically. The skill translates your cataloged subsystems into these C4 views, along with Component (Level 3) diagrams, for complete architecture documentation.

How does this skill handle diagram readability for large subsystems?

It handles diagram readability for large subsystems by applying abstraction-first guidance, which uses grouping, metadata enrichment, and selective sampling to ensure the generated multi-level C4 diagrams remain clear and actionable.

What are the limitations of using C4 diagrams for subsystem documentation?

The skill includes an explicit assumptions and limitations section in the output to address constraints of using C4 diagrams for subsystem documentation, ensuring transparency regarding the generated architecture views and metadata dependencies.