diagram-design
Skill3 starsChanged 2 months agoMITView on GitHub
创建具有品牌特色和出版级品质的独立 HTML/SVG/PNG 图表。Use when 用户需要高精度的视觉图表或对已有草图进行专业重绘;不用于单纯生成 Mermaid 文本、可编辑的 Draw.io XML 文件,或更适合用纯文字清晰说明的场景。
48 other projects use a version of this.
Adopted by
Most recently taken up by
- sugatoray/aiskillstheir own version, first seen Nov 15, 2026
- EricGrill/agents-skills-pluginstheir own version, first seen Nov 8, 2026
- apattichis/agentic-research-toolkittheir own version, first seen Nov 8, 2026
- hamzzaqureshi/gravidextheir own version, first seen Nov 8, 2026
- tsukhani/jclawtheir own version, first seen Nov 5, 2026
- AthenDrakomin-hub/agent-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use pretty-mermaid, transitions-dev and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
drafaelSkillpretty-mermaid
Render beautiful Mermaid diagrams as SVG or ASCII art using the beautiful-mermaid library. Supports 15+ themes, 5 diagram types (flowchart, sequence, state, class, ER), and ultra-fast rendering.
Also in 3 projects that use this
AnasX7Skilltransitions-dev
Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, error state shakes, search/input clear, skeleton loaders, shimmer text, sliding tabs, tooltips, staggered text reveals, card hover tilt, plus-to-menu morph, accordions, toasts, like buttons, learn-more hovers, checkbox checks, spinning counters, toggles, AI thinking states, reasoning streams, streaming text, matrix dot loaders, or banner stacking. Triggers on "add a transition", "animate the dropdown", "make the modal open smoothly", "swap icon", "page slide", "stagger animation", "open / close transition", "make it animate", "fade between", "success animation", "form error", "shake on invalid", "hover lift", "avatar stack hover", "clear the search", "skeleton loader", "loading shimmer", "shimmer text", "sliding tabs", "segmented control", "tooltip", "reveal text", "tilt card", "3D hover tilt", "cursor glare", "plus to menu", "FAB morph", "accordion", "collapsible", "expand / collapse", "disclosure", "toast", "snackbar", "like button", "heart animation", "learn more arrow", "checkbox", "check animation", "spinning counter", "odometer", "slot machine digits", "toggle", "switch", "thinking states", "AI status line", "agent reasoning", "reasoning stream", "streaming text", "stream words in", "matrix loader", "dot loader", "banner stack", "stacked toasts". Also "motion tokens", "scan for ad-hoc transitions", "replace hardcoded durations with motion tokens", "tokenize my animations", and the commands transitions reveal, transitions review, transitions apply, transitions refine.
Also in 3 projects that use this
PydanticSkilli-have-adhd
Shape every response for an ADHD reader who reviews the work but does not do the coding — the agent does. Use whenever responding to ANY message — coding, debugging, planning, casual. Lead with the result or the decision. Surface anything needing the user's input as a structured question, never buried in prose they'll skim past. No preamble, no recap, no closers. State errors matter-of-factly. Make finished work visible. Trigger even on casual messages and even when brevity wasn't requested.
Also in 4 projects that use this
HK-hubSkilloverdrive
Pushes interfaces past conventional limits with technically ambitious implementations — shaders, spring physics, scroll-driven reveals, 60fps animations. Use when the user wants to wow, impress, go all-out, or make something that feels extraordinary.
Also in 3 projects that use this
AnasX7Skilldesign-taste-frontend
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.
Also in 9 projects that use this
HK-hubSkilldelight
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful. Use when the user asks to add polish, personality, animations, micro-interactions, delight, or make an interface feel fun or memorable.
Also in 3 projects that use this
- +2 more from AnasX7
Other versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- cathrynlavery/diagram-design★ 67ksame name
- kdlbs/kandev★ 1.1ksame name
- chenjackle45/html-visualizer★ 95same name
- microsoft/devsquad-copilot★ 50same name
- baekenough/oh-my-customcode★ 42same name
- tsukhani/jclaw★ 42same name
- spmtitsolution/OpenBA-Kit★ 38same name
- Fioooooooo/FylloCode★ 29same name
- EricGrill/agents-skills-plugins★ 21same name
- ivanrvpereira/.agents★ 19same name
38 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-md-expertSkill
- audit-overengineeringSkill
- codegraphSkill
- code-review-skillSkill
- commitSkill
- drawio-skillSkill
- find-skillsSkill
- finesse-uiSkill
- go-auditorSkill
- go-devSkill
- go-mcp-builderSkill
- ip-as-logoSkill
- mermaid-diagramsSkill
- playwright-cli-cdpSkill
- rag-agent-builderSkill
- simplify-codebaseSkill
- skill-engineerSkill
- software-designerSkill
- svg-logo-designerSkill
- tavily-webSkill
- web-cloneSkill
The file
Files
diagram-design
范围与执行
产物按用户指定的 HTML/SVG/PNG 交付;默认生成静态、自包含的 HTML。优先复用项目既有的明确配色与版式规范;无品牌要求时使用默认主题并主动说明,避免为选择视觉样式频繁中断暂停。仅在品牌方案的选择会从根本上改变交付结果且上下文完全无法推断时发起确认。
- 用户当前诉求、项目硬约束与已有明确授权优先;参考文档中的视觉规范、尺寸数值和示例是达成目标后的技术约束,不可演变为超出范围的额外产品需求。
- 开始前先查阅相关页面、品牌设计资产与构建配置,以一句话明确设计方向与验收目标;已有充分信息的事项直接推进。
- 仅改动需求范围内的视觉与交互实现;严禁因参考资料提及的第三方库、安装清单或预检项而擅自引入新依赖、外发数据、公开发布或调用未授权的付费服务。
- 仅按需加载下表当前任务命中的参考章节;命中的章节需完整通读,严禁在任务开始前将所有非必要章节全量加载到上下文。
- 参考节号与原始指南保持一致;涉及第三方工具版本时查阅对应官方文档,示例安装命令不代表当前环境已验证可用。
按需参考索引
重绘已有图表请查阅对应的 redesign 章节;仅在有动态呈现诉求时查阅 motion;仅在明确涉及暗色模式或主题切换时查阅 theme/dark;导入与导出规范仅在涉及对应格式交付时查阅。绘制具体图表必须通读所选类型的专门指南,技术正确性必须优先于纯粹的主观审美偏好。
| 任务对应章节 | 参考文档 | 核心内容 |
| 0. 首次设置与风格门禁 | guide-00.md | 设计系统门禁、样式规范提取 |
| 1. 设计哲学 | guide-01.md | 图表核心表达原则、高品质视觉基准 |
| 2. 适用场景与边界 | guide-02.md | 格式选择判定、适用与不适用场景 |
| 3. 图表选型:语义模式与视觉形态 | guide-03.md | 流程、时序、架构、对比等图表模式匹配;具体类型指南详见 references/type-*.md 族 |
| 4. 通用视觉反模式 | guide-04.md | 避免视觉杂乱、无效装饰与廉价质感 |
| 5. 设计系统规范 | guide-05.md | 配色板、对比度、字体层级与间距体系 |
| 6. 核心 SVG 图元 | guide-06.md | 几何容器、路径、连接线与端点标记 |
| 7. 布局与间距 | guide-07.md | 网格对齐、留白规范、层次分区 |
| 8. 摘要卡片模式 | guide-08.md | 关键数据看板、统计摘要与标注卡片 |
| 9. 产出前品味门禁清单 | guide-09.md | 交付前严苛视觉与信息自查清单 |
| 10. 模板与变体 | guide-10.md | 现成经典布局模板与变体库 |
| 11. 导入已有图表(Draw.io 与 Mermaid) | guide-11.md | 将 Draw.io XML 或 Mermaid 文本重构为精美图表;提取辅助脚本参见 scripts/drawio_extract.py 与 scripts/mermaid_extract.py |
| 12. 最终输出与导出 | guide-12.md | HTML、SVG、PNG 交付标准与导出技巧 |
验证与交付
- 先核验信息层级、结构关系与核心交互是否准确无误,再排查元素遮挡、文本溢出、键盘可访问性以及预设视口适配;严格沿用宿主已选择的浏览器环境。
- 执行项目中已有且与当前修改相关的校验脚本;相同输入已通过验证的项不重复执行,未实际运行的浏览器或导出校验项需在报告中明确说明。
- 绝不伪造真实业务数据、引用来源、图片资源或声称已完成未实际执行的测试;仅交付用户明确要求的产物及简短说明,不擅自增添多余的主题或无关格式。
- 首次调用导出工具前阅读 CLI 兼容性契约;使用包内
scripts/self_check.py验证 SVG 结构合规性、HTML 自包含完整性以及实际选用的动效安全性。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

