mermaid
Use when a diagram is clearer than prose; creates concise Mermaid diagrams when a visual materially improves understanding of architecture, workflows, state transitions, dependencies, or data relationships.
- License 许可
- MIT
- 所属仓库
- amoai-tech/mdeai
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- mermaid
- description
- Use when a diagram is clearer than prose; creates concise Mermaid diagrams when a visual materially improves understanding of architecture, workflows, state transitions, dependencies, or data relationships.
03 SKILL.md 正文
MERMAID — Useful Technical Diagrams
Goal Create a diagram only when it makes architecture, flow, state, dependencies, or data relationships easier to understand than text.
Choose the right type
- flowchart: workflow/dependencies
- sequenceDiagram: interactions/order
- stateDiagram-v2: state transitions
- erDiagram: data relationships
- journey: user journey
- classDiagram: structural model only when useful
Process
- Verify the real entities/steps from current sources.
- Choose the simplest diagram type.
- Include only nodes/edges needed to answer the question.
- Use short labels and clear direction.
- Do not invent services, states, tables, or relationships.
- Check syntax and logical flow.
Output Provide:
- valid Mermaid block
- 1–3 sentence explanation only if needed If text is clearer, say no diagram is necessary.
Rules
- One diagram is usually enough.
- No decorative diagrams.
- Prefer simple over comprehensive.
- Split diagrams if one becomes unreadable.
- Keep implementation truth accurate.
04 同仓库更多 Skills
mde-pr-review-supabase
Use when reviewing MDE Supabase SQL, Auth and RLS changes in a pull request.
mde-pr-review-stripe
Use when reviewing MDE Stripe payments and webhooks changes in a pull request.
mde-pr-review-nextjs
Use when reviewing MDE Next.js App Router changes in a pull request.
mde-pr-review-mastra
Use when reviewing MDE Mastra agent, tool and workflow changes in a pull request.
mde-pr-review-maps
Use when reviewing MDE Google Maps and Places changes in a pull request.
mde-pr-review-copilotkit
Use when reviewing MDE CopilotKit and AG-UI changes in a pull request.