generate-graph

Convert natural language descriptions into SVG diagrams and export PNG files.

54|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/haposoft/cafekit --skill generate-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-graph
Source: https://github.com/haposoft/cafekit/tree/main/packages/spec/src/claude/skills/generate-graph
Command: npx skills add https://github.com/haposoft/cafekit --skill generate-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rsvg-convert, python3, librsvg2-bin, and includes scripts (resource) and references (resource) and assets (resource) and templates (resource) components.

What problem does it solve?

This Skill automates the creation of high-quality technical diagrams from natural language descriptions, saving time and reducing the need for manual drawing.

Core Features & Use Cases

  • Natural Language Input: Describe your system architecture or flow in plain language.
  • Multiple Visual Styles: Choose from 7 built-in styles or define your own.
  • 14 Diagram Types: Full support for UML and AI/Agent domain diagrams.
  • AI/Agent Domain Patterns: Built-in knowledge of common patterns like RAG, Agentic Search, and Multi-Agent.

Quick Start

Run the generate-graph skill with the following command:

/hapo:generate-graph "Draw a microservices architecture diagram in style 2 (dark terminal)"

Frequently Asked Questions about generate-graph

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

FAQPage Schema
How do I generate technical diagrams from natural language descriptions?

To generate technical diagrams from natural language, you provide a plain text description of your system architecture or flow, and the tool transforms it into polished SVG diagrams and high-resolution PNG files.

Can I create UML and architecture diagrams using plain text?

Yes, you can create UML and architecture diagrams from plain text. The tool supports 14 diagram types, including full UML support and AI/agent domain patterns like RAG and Multi-Agent architectures.

Do I need to install python3 and librsvg2-bin to export SVG diagrams as PNG?

Yes, exporting SVG diagrams as high-resolution PNG files requires python3, rsvg-convert, and librsvg2-bin dependencies to process the natural language input and render the final image outputs.

What is the best way to customize visual styles for generated flowcharts?

The best way to customize visual styles for generated flowcharts is to select from 7 built-in style options or define your own custom styling rules within the natural language prompt to match your publication requirements.

Does this tool support built-in patterns for RAG and agentic search workflows?

Yes, the tool supports built-in patterns for RAG and agentic search workflows. It possesses domain-specific knowledge of common AI/agent patterns, allowing you to accurately visualize complex multi-agent architectures.

Why are my natural language instructions not generating the correct technical diagram?

If your natural language instructions are not generating the correct technical diagram, ensure your description clearly defines the structural relationships and explicitly references supported diagram types like UML or flowchart to guide the interpretation logic.