helpin-ai/helpin/mermaid

Claude Code and agent skill by helpin-ai/helpin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create or repair Mermaid diagrams in Markdown documentation and answers, including flowcharts, API sequences, entity relationships, class models, state machines, and project timelines.

Install

npx vskill@latest install helpin-ai/helpin/mermaid

SKILL.md

Mermaid diagrams

Use a diagram when it helps answer the request or explain a relationship. Preserve the user's requested diagram type. For physical or logical network segments with hosts and subnet addresses, consider SimpleDiag's nwdiag format instead.

Choose the diagram type

QuestionMermaid type
What happens next, and where does the process branch?flowchart TD or flowchart LR
Who calls whom, in what order?sequenceDiagram
Which tables relate, and with what cardinality?erDiagram
Which classes own, inherit, or depend on others?classDiagram
Which states and transitions are possible?stateDiagram-v2
When does work happen, and what depends on it?gantt

Keep one diagram focused on one question. Ground labels, relationships, cardinality, and dates in supplied facts or inspected sources. Clearly label illustrative examples or proposed designs.

Output in Helpin

  • Embed editable source in a fenced mermaid block. Helpin renders the block in supported Markdown and document surfaces; installing a CLI or exporting an image is unnecessary for inline diagrams.
  • For document tools accepting TipTap JSON, use a codeBlock with attrs.language set to mermaid and a text node containing the source. Follow the tool's actual payload schema.
  • Helpin configures the theme and strict rendering. Keep default colors, avoid HTML labels and click callbacks, and do not assume external icons or optional layout engines are registered.
  • Accompany the diagram with enough prose to explain its conclusion and any uncertainty. Do not claim a document was saved just because source was returned in chat.

Quick example

Illustrative documentation review flow:

mermaid
flowchart TD
Draft["Draft article"] --> Review{"Technically accurate?"}
Review -->|Yes| Ready["Ready to publish"]
Review -->|No| Revise["Revise with source evidence"]
Revise --> Review

Read references/examples.md for API sequences with error branches, ER cardinality, class relationships, lifecycle states, and dependent timeline tasks.

Syntax and repair

  • Start with the diagram type. Use %% for comments, and put statements on separate lines.
  • Separate stable identifiers from display labels: api["API (v2)"]. Quote flowchart labels containing punctuation. Avoid using lowercase end as a node identifier; it is also a block terminator. Keep spaces around connectors to avoid accidental circle/cross edges from identifiers starting with o or x.
  • Use --> for flowchart direction. In sequences, ->> is a message and -->> a reply; close alt, opt, loop, and other blocks with end.
  • In ER diagrams, distinguish exactly one (||), zero or one (o| / |o), zero or many (o{ / }o), and one or many (|{ / }|). Do not infer mandatory relationships from an entity's name.
  • In state diagrams, [*] represents the initial or terminal pseudostate. Use explicit state aliases when labels contain spaces.
  • In Gantt diagrams, declare dateFormat, use stable task IDs, and reference those IDs after after. Do not substitute invented dates for missing scheduling decisions.
  • If a preview reports an error, repair the source and preview again. When the installed Mermaid parser is available, await mermaid.parse(source) can check syntax; parsing alone does not verify layout. Do not claim a rendered check unless one was performed.

Diagram selection and example patterns are adapted from softaworks/agent-toolkit, under the included MIT license. This Helpin adaptation replaces generic installation/export instructions and broad automatic triggers with inline rendering guidance. For additional syntax, use the official Mermaid documentation.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/helpin-ai/helpin/mermaid/badge)](https://verified-skill.com/skills/helpin-ai/helpin/mermaid)

Something wrong with this skill or its page? Tell us.