diagram

Generate C4, data flow, and AWS architecture diagrams via Python, Mermaid, or PlantUML.

49|12|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/DavidROliverBA/ArchitectKB --skill diagram-davidroliverba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagram
Source: https://github.com/DavidROliverBA/ArchitectKB/tree/main/.claude/skills/diagram
Command: npx skills add https://github.com/DavidROliverBA/ArchitectKB --skill diagram-davidroliverba

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires diagrams, python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and updating of architecture diagrams, transforming complex system designs into clear, visual representations.

Core Features & Use Cases

  • Multiple Diagram Types: Generate C4 context/container/component diagrams, system landscapes, data flows, and AWS architectures.
  • Automated Generation: Creates diagrams from Python scripts (using the diagrams library) or Mermaid/PlantUML syntax.
  • Use Case: You need to document the C4 container view for your new microservices platform. Use this Skill to generate the diagram, ensuring consistent styling and accurate representation of components and their interactions.

Quick Start

Use the diagram skill to generate a C4 context diagram for the 'E-commerce Platform'.

Frequently Asked Questions about diagram

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

FAQPage Schema
How do I generate a C4 model diagram for my architecture?

You can generate a C4 model diagram by automating visualization based on specified types, scope, and styling preferences using Python's `diagrams` library, Mermaid, or PlantUML syntax.

What is the best way to visualize AWS infrastructure automatically?

Visualize AWS infrastructure by automating generation from Python scripts using the `diagrams` library or Mermaid/PlantUML syntax, ensuring consistent styling and accurate component representation.

Does this diagram generation approach support both Mermaid and PlantUML?

Yes, this approach supports both Mermaid and PlantUML, allowing you to create architecture diagrams like C4 models, system landscapes, and data flows using either syntax alongside Python's `diagrams` library.

Can I use Python to create system landscape and data flow diagrams?

Yes, you can use Python to create system landscape and data flow diagrams by leveraging the `diagrams` library, which automates visualization based on your specified scope and styling preferences.

How to ensure consistent styling when automating architecture diagrams?

Ensure consistent styling when automating architecture diagrams by defining styling preferences within your Python scripts or Mermaid/PlantUML syntax, supported by built-in validation and iterative refinement guidance.

When should I use Python's diagrams library instead of PlantUML for visualization?

Use Python's `diagrams` library when you need to programmatically generate AWS infrastructure or C4 models from code, whereas PlantUML or Mermaid are suited for syntax-based architecture definitions and system landscapes.