Boo Bro AI Draw.io Diagram Generator
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_3c9003af/boo-ai-drawio into my AI assistant.
About this skill
Problem
Hand-writing draw.io XML is less about producing a diagram than about avoiding small structure errors: Chinese fonts can fall back inconsistently, swimlane and org-chart edges cross, node colors drift, duplicate mxCell IDs appear, or edges miss mxGeometry. This skill turns diagram generation into a set of explicit parameters: diagram type, complexity, theme, canvas size, output format, and content description, then generates a .drawio source file and optional PNG, SVG, or PDF exports.
How It Works
It starts with environment detection for WSL2, Git Bash, macOS, Linux, and Windows cmd, and can install the Draw.io CLI when missing; if installation fails, it still produces the .drawio file for manual export. In interactive mode, it asks for a diagram type such as flowchart, swimlane, orgchart, kanban, mindmap, er, or arch, and for a complexity level: simple, standard, or detailed. Generation emits mxGraphModel XML with Chinese font rules for Microsoft YaHei, PingFang SC, or Noto Sans CJK SC, and applies shapes for decision nodes, process nodes, and start/end nodes.
Boundaries
It works best when the user provides enough structure: roles, entities, relationships, system boundaries, or process steps. If the description is vague, the result is mainly a backbone framework rather than a complete document diagram. Org-chart output requires rounded=0, explicit exit/entry points, and treats group containers as visual boundaries only. JPG and WebP exports do not embed XML.
Use Cases
- Prepare a system architecture diagram for technical review, showing gateways, services, databases, and cache boundaries.
- Turn an approval process into a swimlane diagram that separates product, legal, and finance responsibilities.
- Create an ER diagram showing table fields and one-to-many relationships for schema review.
- Convert brainstorm notes into a mind map with a central topic, primary branches, and secondary details.
Best For
- Architects preparing technical reviews who need editable Draw.io diagrams for service topology, call chains, and deployment boundaries.
- Engineers writing database design notes who need ER diagrams for tables, fields, indexes, and relationships.
- Product managers organizing business workflows who need flowcharts with approval paths, swimlanes, and decision branches.
- Instructors preparing Chinese training materials who need Chinese fonts, color themes, and A4 or 16:9 outputs.
Related Skills
A ComfyUI image-generation skill that uses a five-step dialog to collect prompts, prefill templates, confirm parameters, submit API jobs, and return results.
A design-system guidance skill for Impeccable that produces token-based rules, component states, accessibility criteria, and QA checklists.
Director-level video lapian that diagnoses material precision, then produces frame evidence, director analysis, a style bible, and a showcase video.
Plan and brief Amazon MAIN, Listing, and A+ image sets from verified product facts, then return plan and image QA status.