python-diagrams

Generate diagrams and charts from Python scripts using matplotlib, diagrams, and graphviz.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/cassm199-mita/azure-agentic-infraops-accelerator --skill python-diagrams-cassm199-mita
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-diagrams
Source: https://github.com/cassm199-mita/azure-agentic-infraops-accelerator/tree/main/.github/skills/python-diagrams
Command: npx skills add https://github.com/cassm199-mita/azure-agentic-infraops-accelerator --skill python-diagrams-cassm199-mita

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the generation of various diagrams (e.g., WAF bar charts, cost donut charts, compliance gap charts, architecture diagrams) from Python scripts, streamlining infrastructure design and analysis processes.

Core Features & Use Cases

  • Diagram Generation: Automates the creation of diagrams like WAF bar charts, cost donut charts, compliance gap charts, and architecture diagrams using Python libraries.
  • Script-based Automation: Utilizes Python scripts for customizable and scriptable diagram generation.
  • Use Case: Ideal for architects and analysts to visualize and communicate complex infrastructure setups in a structured format.

Quick Start

Generate an architecture diagram from a Python script located in the 'agent-output/{project}/' directory.

Frequently Asked Questions about python-diagrams

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

FAQPage Schema
How do I automate infrastructure diagram generation using Python?

Yes, you can generate WAF bar charts, cost donut charts, and compliance gap charts by running Python scripts that utilize the matplotlib library. These Python scripts automate the creation of chart images for infrastructure analysis and architecture documentation.

Do I need graphviz installed to generate architecture diagrams with Python?

Yes, you need graphviz installed along with Python and the diagrams library to execute the scripts and generate architecture diagram images. These dependencies are required to render the infrastructure design visualizations successfully.

What is the best way to script architecture documentation for infrastructure design?

Use Python scripts to generate charts and diagrams for project planning and infrastructure design, outputting image files to your project directory. This script-based automation visualizes and communicates complex infrastructure setups in a structured format.

Why does my Python diagram generation script fail to render graphviz output?

Python diagram generation fails when graphviz is not installed locally alongside the diagrams Python library. Ensure both the graphviz system package and Python dependencies like matplotlib are properly installed to execute scripts and render diagram images.