Introduction¶
Flowcharts, sequence diagrams, and lightweight architecture diagrams are often needed in READMEs, Wikis, and Issues. Hand-drawn screenshots are hard to maintain, and using standalone online drawing tools disconnects the diagrams from the documentation. Mermaid describes diagrams using text, and most Markdown renderers can preview them directly; however, there are many syntax types and details are easily mistyped, so handing it to a general conversation often requires repeated revisions.
Below we introduce a community Skill on SkillHub: Mermaid Awesome (located at @user_c1d16043/mermaid-awesome). It consolidates “writing Mermaid, modifying Mermaid, and choosing the right diagram type” into guidelines that Agents can follow, with output still landing in native Markdown mermaid code blocks for easy rendering on GitHub, GitLab, documentation sites, etc.
What Is This¶
Mermaid Awesome is a Skill designed for intelligent agents (based on the universal SKILL.md format), published by SkillHub user user_c1d16043 (the page lists the author as Loong10K). It comes from the community, current version 1.0.1, category dev-programming. The tag requires_api_key=false indicates that no additional API Key is needed for installation or use.
The official description states: Mermaid is a tool based on JavaScript that defines diagrams using text similar to Markdown; this Skill provides comprehensive guidelines for creating and revising Mermaid diagrams, suitable for drawing or modifying diagrams in Markdown documents, GitHub, GitLab, Wikis, blogs, and other scenarios. This Skill should be enabled when the user mentions Mermaid, needs diagrams in Markdown documents, or needs diagrams that can be displayed directly in Markdown renderers.
Core Features¶
Based on the SkillHub page and API materials, the verifiable capabilities are as follows.
- Covers multiple diagram types: The official statement says 23+ types, including but not limited to flowchart, sequence diagram, class diagram, state diagram, ER diagram, Gantt chart, pie chart, quadrant chart, Git graph, C4, mindmap, timeline, etc.
- Designed for Markdown workflows: The output focuses on Markdown-friendly Mermaid source code, emphasizing usability in the rendering pipeline of READMEs, documentation sites, and code hosting platforms.
- Creation and revision: Applicable for generating diagrams from scratch, as well as modifying the structure or syntax of existing Mermaid snippets.
- Clear trigger semantics: When user intent includes draw, create, generate, visualize, flowchart, architecture diagram, etc., or when Mermaid or Markdown diagrams are explicitly mentioned, the Skill description requires the Agent to prioritize using this Skill.
This Skill is a “writing and selection guide” and does not replace the local Mermaid CLI or site-built renderers; whether the final result can be previewed still depends on whether your Markdown environment supports Mermaid.
Installation and Activation¶
SkillHub provides two common methods: use the CLI to install to the current Agent’s skills directory, or send the installation prompt to a conversational Agent that supports Skills.
1. Install SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If not installed, you can execute (full installation, including default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install Mermaid Awesome¶
When installing, you must use --dir to point to the skills directory recognized by the current Agent; if installed to the wrong path, the Agent may not be able to load it.
skillhub install @user_c1d16043/mermaid-awesome --dir <your skills directory>
Common path examples (subject to SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
You can also send the prompt given on the SkillHub page to the Agent:
Please install `@user_c1d16043/mermaid-awesome` according to https://skillhub.cn/install/skillhub.md.
After installation, follow your client’s rules to refresh or restart so the Skill can be indexed.
Typical Usage¶
The Skill itself is Agent-side guidance and has no separate HTTP service. The typical workflow is: explain the purpose and constraints of the diagram in the conversation, have the Agent generate or modify Mermaid according to the Skill, and then paste it back into Markdown.
Example 1: Add a sequence diagram of the request flow in a README
Explain to the Agent the participants, call order, and key branches, and request output of GitHub-renderable Mermaid. The core snippet is usually placed inside a mermaid fenced code block, for example:
sequenceDiagram
participant U as User
participant W as Web
participant A as Auth API
U->>W: Submit username and password
W->>A: POST /login
A-->>W: JWT
W-->>U: Set session
Add Markdown shell layers such as a level-2 heading in the README, and it can be previewed on Mermaid-supporting hosting platforms.
Example 2: Revise an existing diagram
Hand the existing mermaid code block and modification intent (such as “add a cache node” or “change synchronous to asynchronous”) to the Agent, asking it to adjust the syntax according to the Skill while keeping the diagram type consistent.
Example 3: Type selection
When you need a Gantt chart for scheduling, ER modeling, or lightweight C4, clearly state the diagram type and reader audience in the requirements; the Skill description covers multiple types, and the Agent should choose the corresponding Mermaid dialect rather than mixing incorrect keywords.
Use Cases and Notes¶
Who It’s For
- Developers maintaining open-source READMEs, internal design documents, and Wikis who want diagrams and text in the same repository and diffable.
- Teams already using Skills in environments like Cursor or Claude Code who want a unified “same writing style whenever Mermaid is mentioned” approach.
Usage Notes
- Rendering environment: When local editors, CI previews, or blog themes have inconsistent Mermaid versions and supported types, the generated code may still need fine-tuning.
- Complexity: For extremely large architecture diagrams, readability in plain text may decrease; it is advisable to split into multiple diagrams or describe in layers; the Skill focuses on Markdown embedding and does not promise to replace dedicated modeling deliverables.
- Data and ratings: SkillHub API scraping shows a rating of 100000 and 987 downloads (page statistics may change, subject to SkillHub).
Conclusion¶
If your pain point is “missing diagrams in documentation, and diagrams must follow Markdown,” Mermaid Awesome lets the Agent handle Mermaid writing and type selection uniformly, with output still as standard code blocks for easy review and version control.
- SkillHub page: https://www.skillhub.cn/skills/user_c1d16043/mermaid-awesome
- API entry: https://api.skillhub.cn/user_c1d16043/mermaid-awesome
- Installation instructions: https://skillhub.cn/install/skillhub.md