c4-diagram-generator

Generate PlantUML C4 diagrams from feature design documents.

26|2|Updated Nov 1, 2024
One-click install
npx skills add https://github.com/Cahmoraes/clean-arch-solid-ddd --skill c4-diagram-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: c4-diagram-generator
Source: https://github.com/Cahmoraes/clean-arch-solid-ddd/tree/main/.github/skills/c4-diagram-generator
Command: npx skills add https://github.com/Cahmoraes/clean-arch-solid-ddd --skill c4-diagram-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams convert textual design documents (FDDs) into accessible, shareable architectural diagrams using PlantUML's C4 model. It reduces manual diagramming time and ensures consistent notation across C1-C4 views.

Core Features & Use Cases

  • C1 System Context: Create external actors, systems, and boundaries to define the software's ecosystem.
  • C2 Container: Capture technology stacks, deployment units, and container interactions.
  • C3 Component: Break down internal components, responsibilities, and interfaces.
  • C4 Code: Produce code-level diagrams if the FDD provides interfaces and data structures.

Quick Start

Provide an FDD or feature document and request C4 diagrams; the tool outputs PlantUML files in the chosen folder.

Frequently Asked Questions about c4-diagram-generator

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

FAQPage Schema
How do I generate PlantUML C4 diagrams from a feature design document?

Generating PlantUML C4 diagrams from an FDD involves feeding the architecture text to the Skill, which then applies consistent notation to output C1 to C4 PlantUML files for stakeholder reviews.

What is the C4 model for software architecture visualization?

The C4 model visualizes software architecture through four hierarchical levels: System Context, Container, Component, and Code. It maps ecosystems, technology stacks, internal interfaces, and data structures for clear stakeholder communication.

Can I automatically create C3 component diagrams from architecture notes?

Yes, you can automatically create C3 component diagrams from architecture notes. The tool processes the input text to break down internal component responsibilities and interfaces into standardized PlantUML notation.

Does the C4 diagram generator support language localization for system context diagrams?

Yes, the C4 diagram generator supports language localization for system context diagrams. It meets requirements for clear diagrams, consistent notation, and explicit language localization across all C1 to C4 views.

What is the best way to visualize software design from FDDs for stakeholder reviews?

The best way to visualize software design from FDDs for stakeholder reviews is converting the text into C4 PlantUML diagrams. This approach reduces manual diagramming time and produces accessible, shareable architectural artifacts.