diagram-maker
What it does
This skill makes diagrams for concepts, processes, system architecture and whiteboard sketches. It is for anyone who needs a visual to explain an idea or a system.
When to use it
- ✓When you need a diagram of a process, flow or concept to share as a file.
- ✓When you want an editable whiteboard sketch you can change later.
- ✓When you need an architecture picture of services, databases and queues.
Skill link
https://github.com/iflytek/skillhub/blob/main/builtin-skills/skills/diagram-maker/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you make an editable Excalidraw diagram of our order flow from checkout to delivery?”
5 new skills a week. 1 minute to read.
How it works
The agent chooses the best format, pulls out the main steps and relationships, lays them out and creates the file. It checks that the output opens or parses correctly.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Diagram Maker
Create diagrams as artifacts, not prose. Choose one output mode:
clean-svg: educational concepts, physical systems, processes, lifecycle, simple data flow.architecture-svg: software/cloud/infra topology, services, databases, queues, trust zones.excalidraw: editable hand-drawn whiteboard, flowchart, sequence, architecture sketch.
Routing
- User wants editable/collaborative: choose Excalidraw.
- User wants polished standalone browser output: choose SVG/HTML.
- Software architecture with infra components: choose architecture SVG.
- Science, product, process, concept map, physical object: choose clean SVG.
- Unsure: ask one short question only if output format matters; otherwise choose clean SVG.
Workflow
- Extract nodes, groups, labels, and directed relationships.
- Pick layout first: left-to-right, top-down, hub-spoke, swimlanes, layered stack, sequence.
- Keep labels short. Prefer 5-9 main elements over dense diagrams.
- Generate the file at the requested path. If none is provided, use
diagram.htmlordiagram.excalidrawin the current working directory. - Do not overwrite an existing file by default. Choose an unused suffixed name such as
diagram-2.html, or ask before replacing the existing file. - Verify syntax by opening or parsing the output when feasible.
SVG/HTML rules
- Single standalone
.htmlfile with inline CSS and inline SVG. - No external fonts, JS, images, gradients, glows, decorative blobs, or remote assets.
- Use semantic colors, not rainbow sequences: neutral, input, process, storage, external, risk.
- Draw connectors before nodes so arrows sit behind boxes.
- Every connector path has
fill="none"and a marker arrow when directed. - Leave 24px text padding inside boxes; do not let text touch borders.
- Legend only when symbols/colors are not obvious.
SVG template
Use references/svg-template.md as the wrapper and replace <!-- SVG -->.
Excalidraw rules
- Save
.excalidrawJSON withtype,version,source,elements, andappState. - Use bound text for shape labels. Do not use a nonstandard
labelproperty. - Keep bound text immediately after its container in the elements array.
- Minimum labeled shape: 120x60. Minimum body text: 16px.
- Use roughness
1,fontFamily: 1, and simple fills.
For exact Excalidraw element snippets, read references/excalidraw-patterns.md.
FAQ
What file types can it make?
It can make standalone SVG or HTML files, and editable Excalidraw files.
Will it overwrite an existing file?
No. The skill does not overwrite existing files by default and picks a new name instead.
How many items should a diagram have?
The skill suggests keeping to about five to nine main elements so the diagram stays readable.
Details
Original description by the author
Create standalone SVG/HTML or editable Excalidraw diagrams for concepts, architecture, processes, flows, and whiteboards.
repo: iflytek/skillhub
Popularity
- GitHub stars
- 5.4k
- Ranking position
- #14975
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
ai-claim-checker
5.4kHelps your agent check the factual claims in an AI answer, pick independent sources and build a habit of careful AI literacy.
cue-omni-reader
5.4kHelps your agent read a web page, document, audio or video file through the Cue Omni Reader service, then use the parsed content for your task.
daily-standup-journal
5.4kHelps your agent write a short daily standup, reflection prompts or a weekly retrospective, based only on what you share in the session.
decision-matrix
5.4kHelps your agent compare options with a clear scoring method, listing pros and cons and the assumptions behind each score.
Similar skills
gifgrep
394kLets your agent search GIF libraries, preview results, download a GIF, and pull out a still frame or a contact sheet of frames.
meme-maker
394kLets your agent pick a meme template, add your own captions, and create the meme as an SVG or PNG image.
ios-icon-gen
280kLets your agent generate icons for iOS apps. It uses Apple symbols or icons from other sources to create the correct files.