drawio-diagrams

Generate Draw.io diagrams from PHP codebases as Mermaid, XML, or CSV.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/axitdev/skills --skill drawio-diagrams-axitdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drawio-diagrams
Source: https://github.com/axitdev/skills/tree/main/drawio-diagrams
Command: npx skills add https://github.com/axitdev/skills --skill drawio-diagrams-axitdev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Generate precise, editable Draw.io diagrams from a PHP codebase without manual diagramming, by researching actual project files, detecting framework structure, and producing Mermaid, XML, or CSV inputs suitable for Draw.io.

Core Features & Use Cases

  • MCP discovery & adaptive output: Detect available Draw.io MCP tools and choose Mermaid, XML, or CSV based on server capabilities and diagram needs.
  • Code-aware diagram generation: Research Laravel, Symfony, or plain PHP projects to extract classes, flows, ERDs, and call sequences, then convert findings into diagram content.
  • Reliable fallbacks & persistence: Save Mermaid markdown or .drawio XML locally if MCP operations fail and maintain a generated index file for traceability.
  • Use Case: Convert a user registration flow or database schema from a multi-repo PHP service into an editable Draw.io diagram and store the result under docs/diagrams for team review.

Quick Start

Ask the skill to "Diagram the user registration flow from this PHP project as a Draw.io flowchart using Mermaid and save it to docs/diagrams."

Frequently Asked Questions about drawio-diagrams

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

FAQPage Schema
How do I generate Draw.io diagrams from PHP code automatically?

To generate Draw.io diagrams from PHP code, you can research project files to extract classes, flows, and schemas, then convert findings into Mermaid, XML, or CSV outputs suitable for Draw.io.

Can I create Draw.io flowcharts from a Laravel or Symfony project?

Yes, you can create Draw.io flowcharts from Laravel, Symfony, or plain PHP projects by detecting framework structure and extracting call sequences, ERDs, and architecture maps into editable diagrams.

What is the best way to convert a PHP database schema into an editable Draw.io ERD?

The best way to convert a PHP database schema into an editable Draw.io ERD is to analyze the codebase structure and output the entity relationships as Mermaid markdown or .drawio XML files.

Do I need a Draw.io MCP server to generate diagrams from PHP code?

You do not need a Draw.io MCP server to generate diagrams, because the system detects available MCP tools and applies fallback behavior to save Mermaid markdown or .drawio XML files locally when unavailable.

How does adaptive output work when generating Draw.io diagrams from PHP?

Adaptive output works by detecting available Draw.io MCP server capabilities and automatically choosing Mermaid, XML, or CSV formats based on the server features and specific diagram generation needs.

Why are my generated PHP diagrams not saving to the docs folder?

Generated PHP diagrams might not save because MCP operations failed, triggering fallback behavior that requires reading .drawio-diagrams.yaml configuration and storing Mermaid or .drawio files under local docs directories.