ai-generation

Generate and refine diagrams from natural language prompts into draw.io XML.

18|2|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/markus41/claude --skill ai-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-generation
Source: https://github.com/markus41/claude/tree/main/plugins/drawio-diagramming/skills/ai-generation
Command: npx skills add https://github.com/markus41/claude --skill ai-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires xml.etree.ElementTree, re, sys, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of complex diagrams from simple natural language descriptions, eliminating the need for manual drawing and reducing the time spent on visualization.

Core Features & Use Cases

  • AI-Powered Diagram Creation: Generate various diagram types (flowcharts, architecture diagrams, ERDs, sequence diagrams) by providing a text prompt.
  • Iterative Refinement: Improve generated diagrams through conversational prompts, adjusting layout, style, and content.
  • Use Case: Quickly visualize a new microservice architecture by describing its components and their interactions, or generate a flowchart for a business process by outlining the steps involved.

Quick Start

Use the ai-generation skill to create a flowchart for a CI/CD pipeline based on the provided description.

Frequently Asked Questions about ai-generation

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

FAQPage Schema
How do I generate a flowchart from a text prompt?

To generate a flowchart from a text prompt, provide a natural language description of your process. The skill translates this into structured diagram formats like draw.io XML, allowing you to visualize steps without manual drawing.

Can I create an architecture diagram using natural language?

Yes, you can create an architecture diagram using natural language by describing the components and interactions. The AI generation skill translates your description into a structured format and validates the diagram integrity.

How do I refine an AI generated diagram after the initial creation?

You refine an AI generated diagram through conversational prompts. By providing iterative feedback, you can adjust the layout, style, and content of the generated diagram until it meets your requirements.

What diagram types are supported by AI generation from text?

AI generation from text supports various diagram types including flowcharts, architecture diagrams, ERDs, and sequence diagrams. It leverages LLMs to translate textual descriptions into structured formats.

Does the generated draw.io XML output get validated?

Yes, the generated draw.io XML output is validated. The skill includes validation scripts that ensure diagram integrity by checking the structured output for errors before finalizing the layout.

Are there limitations to generating diagrams from natural language descriptions?

Generating diagrams from natural language descriptions relies on LLM translation accuracy, meaning complex layouts may require iterative conversational refinement. Programmatic layout algorithms are included to help adjust final positioning.