diagram-generation

Generate architectural, data flow, sequence, and organizational charts from infrastructure as code.

47|10|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/gonzalezpazmonica/pm-workspace --skill diagram-generation-gonzalezpazmonica
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagram-generation
Source: https://github.com/gonzalezpazmonica/pm-workspace/tree/main/.claude/skills/diagram-generation
Command: npx skills add https://github.com/gonzalezpazmonica/pm-workspace --skill diagram-generation-gonzalezpazmonica

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of complex architectural, data flow, and sequence diagrams directly from your project's infrastructure and code, eliminating manual drawing and ensuring accuracy.

Core Features & Use Cases

  • Automated Diagramming: Generates diagrams from IaC (Terraform, Docker, K8s), code analysis, and documentation.
  • Multiple Diagram Types: Supports architecture (C4-style), data flow, sequence, and org charts.
  • Export Options: Outputs to Draw.io, Miro, or local Mermaid files.
  • Use Case: Automatically generate an up-to-date architecture diagram for your microservices project whenever new services are deployed, ensuring documentation always reflects the current state.

Quick Start

Generate the architecture diagram for the current project using Draw.io.

Frequently Asked Questions about diagram-generation

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

FAQPage Schema
How do I generate architecture diagrams from Terraform or Kubernetes code?

You can generate architecture diagrams by analyzing infrastructure as code files like Terraform, Docker, and Kubernetes manifests. The Skill identifies components such as microservices, databases, and queues, then automatically creates visual diagrams from your existing IaC definitions.

Can I export Mermaid diagrams to Draw.io or Miro?

Yes, you can export generated diagrams to Draw.io, Miro, or local Mermaid formats. This allows you to visualize architecture and data flows directly within your preferred collaboration or diagramming platform after generation.

What is the best way to visualize microservices and data flow automatically?

The best way to visualize microservices automatically is by generating data flow and sequence diagrams from source code analysis. This approach identifies gateways and databases directly from your implementation, ensuring documentation accurately reflects the current state without manual drawing.

Does this diagram generation approach support C4-style architecture models?

Yes, the diagram generation approach supports C4-style architecture charts. It creates these visual models by extracting component relationships from your project's source code and infrastructure files to map out complex software structures.

How do I create sequence diagrams from source code analysis?

You can create sequence diagrams by running source code analysis to map interactions between components. The Skill processes your codebase to identify operational flows and automatically generates corresponding sequence charts for documentation.