一键导入
mermaid
Guide for creating mermaid diagrams. This skill should be used when users want to create a mermaid diagram (or update an existing diagram).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for creating mermaid diagrams. This skill should be used when users want to create a mermaid diagram (or update an existing diagram).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
Create system architecture diagrams using Mermaid, PlantUML, C4 model, flowcharts, and sequence diagrams. Use when documenting architecture, system design, data flows, or technical workflows.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Analyzes Claude Code usage patterns and provides comprehensive recommendations. Runs usage analysis, discovers GitHub community resources, suggests CLAUDE.md improvements, and fetches latest docs on-demand. Use when user wants to optimize their Claude Code workflow, create configurations (agents/skills/commands), or set up project documentation.
Perform bulk code refactoring operations like renaming variables/functions across files, replacing patterns, and updating API calls. Use when users request renaming identifiers, replacing deprecated code patterns, updating method calls, or making consistent changes across multiple locations.
| name | mermaid |
| description | Guide for creating mermaid diagrams. This skill should be used when users want to create a mermaid diagram (or update an existing diagram). |
| allowed_tools | ["Bash(mmdc *)"] |
This skill helps you create, validate, and render Mermaid diagrams from natural language descriptions, code analysis, or by editing existing diagrams.
Follow these steps for every diagram creation/modification:
examples/ directory for type-specific syntax (load on-demand).mmd fileuser-authentication-flow.mmd, database-schema.mmd)mmdc -i <filename>.mmdmmdcmmdc -i <filename>.mmd -o <filename>.svg-o <filename>.png), PDF (-o <filename>.pdf)Load examples from examples/ directory as needed:
Basic Diagrams:
examples/flowchart.md)examples/sequence.md)examples/class.md)examples/state.md)examples/er.md)Planning & Management:
examples/gantt.md)examples/journey.md)examples/timeline.md)examples/kanban.md)Data Visualization:
examples/pie.md)examples/xy-chart.md)examples/quadrant.md)examples/sankey.md)examples/radar.md)examples/treemap.md)Technical Diagrams:
examples/git.md)examples/c4.md)examples/requirement.md)examples/architecture.md)examples/block.md)examples/packet.md)Organizational:
examples/mindmap.md)examples/zenuml.md)When analyzing code to create diagrams:
Class Diagrams:
Sequence Diagrams:
Flowcharts:
State Diagrams:
Common patterns available in templates/common-patterns.md (load on-demand):
Styling:
Readability:
Validation:
If mmdc validation fails:
Present to user:
Created: <filename>.mmd
<Show the mermaid code in a code block>
✓ Validated successfully with mermaid-cli
If rendered:
Created: <filename>.mmd
Rendered: <filename>.svg
[Show file paths]
mmdc (mermaid-cli) is installed and available