Source profileQuality 92/100

Jamie-BitFlight/claude_skills/plugins/process-siren/skills/mermaids-treasure/SKILL.md

mermaids-treasure

Mermaid diagram syntax reference for all diagram types — flowchart, sequence, class, state, ER, gantt, git graph, mindmap, timeline, user journey, pie, quadrant, XY chart, block, sankey, C4, kanban, and more. Use when constructing or debugging any Mermaid diagram definition.

Source repository stars
64
Declared platforms
0
Static risk flags
0
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Complete syntax reference for all Mermaid diagram types. Enables AI agents to construct valid diagrams with correct syntax, structure, and configuration across flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, gantt charts, git graphs, mindmaps, timelin…

Best for

  • Use when constructing or debugging any Mermaid diagram definition.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/Jamie-BitFlight/claude_skills --skill "plugins/process-siren/skills/mermaids-treasure"
Safe inspection promptEditorial

Inspect the Agent Skill "mermaids-treasure" from https://github.com/Jamie-BitFlight/claude_skills/blob/a00194f25fec502d3d659b7d610369614967251e/plugins/process-siren/skills/mermaids-treasure/SKILL.md at commit a00194f25fec502d3d659b7d610369614967251e. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow

    For flowchart styling, subgraphs, and interactivity, also load subgraphs-and-layout.md and styling-and-config.md.

    For flowchart styling, subgraphs, and interactivity, also load subgraphs-and-layout.md and styling-and-config.md.For the full 6-phase flowchart element selection process (direction, shape, edge, label, grouping, styling), see Flowchart Construction Decision Process.
  2. 02

    Scope

    TRIGGER: Activate when the user asks to create, fix, or modify any Mermaid diagram, or when generating Mermaid diagram code of any type.

    Flowchart/graph diagrams — node shapes, edge types, subgraphs, styling, interactivitySequence diagrams — actors, messages, loops, activations, notesClass diagrams — classes, relationships, methods, visibility
  3. 03

    Quick Reference — Common Patterns

    Direction codes: TD/TB = top-down, LR = left-right, BT = bottom-up, RL = right-left

    Direction codes: TD/TB = top-down, LR = left-right, BT = bottom-up, RL = right-left
  4. 04

    Reference Files

    Node Shapes — All node shape syntaxes — classic bracket notation and v11.3.0+ @{ shape: ... } notation. Includes the complete shape catalog with semantic names, short names, and aliases. Load when constructing nodes or choosing appropriate shapes.

    Node Shapes — All node shape syntaxes — classic bracket notation and v11.3.0+ @{ shape: ... } notation. Includes the complete shape catalog with semantic names, short names, and aliases. Load when constructing nodes or…Edge Syntax — All edge/link types — solid, dotted, thick, invisible, circle, cross, and multi-directional arrows. Covers edge IDs, animations, text labels, chaining, and the minimum length table. Load when connecting no…Subgraphs and Layout — Subgraph declaration, explicit IDs, nested direction control, direction limitation for external links. Also covers diagram direction codes, Markdown strings, special character escaping, entity cod…
  5. 05

    Flowchart References

    Node Shapes — All node shape syntaxes — classic bracket notation and v11.3.0+ @{ shape: ... } notation. Includes the complete shape catalog with semantic names, short names, and aliases. Load when constructing nodes or choosing appropriate shapes.

    Node Shapes — All node shape syntaxes — classic bracket notation and v11.3.0+ @{ shape: ... } notation. Includes the complete shape catalog with semantic names, short names, and aliases. Load when constructing nodes or…Edge Syntax — All edge/link types — solid, dotted, thick, invisible, circle, cross, and multi-directional arrows. Covers edge IDs, animations, text labels, chaining, and the minimum length table. Load when connecting no…Subgraphs and Layout — Subgraph declaration, explicit IDs, nested direction control, direction limitation for external links. Also covers diagram direction codes, Markdown strings, special character escaping, entity cod…

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars64SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
Jamie-BitFlight/claude_skills
Skill path
plugins/process-siren/skills/mermaids-treasure/SKILL.md
Commit
a00194f25fec502d3d659b7d610369614967251e
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

Mermaid Diagram Syntax

Complete syntax reference for all Mermaid diagram types. Enables AI agents to construct valid diagrams with correct syntax, structure, and configuration across flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, gantt charts, git graphs, mindmaps, timelines, user journeys, data charts, and advanced diagram types.

Scope

TRIGGER: Activate when the user asks to create, fix, or modify any Mermaid diagram, or when generating Mermaid diagram code of any type.

COVERS:

  • Flowchart/graph diagrams — node shapes, edge types, subgraphs, styling, interactivity
  • Sequence diagrams — actors, messages, loops, activations, notes
  • Class diagrams — classes, relationships, methods, visibility
  • State diagrams — states, transitions, composite states, forks
  • Entity-relationship diagrams — entities, attributes, relationships
  • Gantt charts — tasks, sections, dependencies, date formats
  • Git graphs — commits, branches, merges, cherry-picks
  • Mindmaps — nodes, icons, classes, shapes
  • Timeline and user journey diagrams
  • Data charts — pie, quadrant, XY chart, sankey
  • Advanced diagrams — block, C4, kanban, packet

DOES NOT COVER:

  • Mermaid.js API or rendering engine internals
  • HTML/JavaScript integration beyond click callbacks

Quick Reference — Common Patterns

flowchart TD
    Start([Start]) --> Decision{Condition?}
    Decision -->|Yes| Action[Do something]
    Decision -->|No| Other[Do other thing]
    Action --> End([End])
    Other --> End

Direction codes: TD/TB = top-down, LR = left-right, BT = bottom-up, RL = right-left

Essential node shapes:

ShapeClassic Syntaxv11.3.0+ Syntax
RectangleA[text]A@{ shape: rect }
RoundedA(text)A@{ shape: rounded }
StadiumA([text])A@{ shape: stadium }
DiamondA{text}A@{ shape: diamond }
CircleA((text))A@{ shape: circle }
DatabaseA[(text)]A@{ shape: cyl }

Essential edge types:

TypeSyntax
ArrowA --> B
Arrow + textA -->|text| B
Dotted arrowA -.-> B
Thick arrowA ==> B
Open linkA --- B

Workflow

flowchart TD
    Start([Task received]) --> Q1{Diagram type?}
    Q1 -->|flowchart/graph| FC[Load node-shapes.md + edge-syntax.md]
    Q1 -->|sequence| SEQ[Load sequence-diagram.md]
    Q1 -->|class| CLS[Load class-diagram.md]
    Q1 -->|state| ST[Load state-diagram.md]
    Q1 -->|er| ER[Load er-diagram.md]
    Q1 -->|gantt| GNT[Load gantt.md]
    Q1 -->|gitGraph| GIT[Load git-graph.md]
    Q1 -->|mindmap| MM[Load mindmap.md]
    Q1 -->|timeline/journey| TL[Load timeline-journey.md]
    Q1 -->|pie/quadrant/XY/sankey| DC[Load data-charts.md]
    Q1 -->|block/C4/kanban/packet| ADV[Load advanced-diagrams.md]
    Q1 -->|fix broken syntax| Debug[Load all references — check syntax rules]
    FC --> Construct[Construct diagram using syntax reference]
    SEQ --> Construct
    CLS --> Construct
    ST --> Construct
    ER --> Construct
    GNT --> Construct
    GIT --> Construct
    MM --> Construct
    TL --> Construct
    DC --> Construct
    ADV --> Construct
    Debug --> Construct

For flowchart styling, subgraphs, and interactivity, also load subgraphs-and-layout.md and styling-and-config.md.

For the full 6-phase flowchart element selection process (direction, shape, edge, label, grouping, styling), see Flowchart Construction Decision Process.

Reference Files

Flowchart References

Node Shapes — All node shape syntaxes — classic bracket notation and v11.3.0+ @{ shape: ... } notation. Includes the complete shape catalog with semantic names, short names, and aliases. Load when constructing nodes or choosing appropriate shapes.

Edge Syntax — All edge/link types — solid, dotted, thick, invisible, circle, cross, and multi-directional arrows. Covers edge IDs, animations, text labels, chaining, and the minimum length table. Load when connecting nodes or styling edges.

Subgraphs and Layout — Subgraph declaration, explicit IDs, nested direction control, direction limitation for external links. Also covers diagram direction codes, Markdown strings, special character escaping, entity codes, and comments. Load when grouping nodes or controlling layout.

Styling and Configuration — Node styling, link styling, classDef, CSS classes, click interactivity, tooltips, FontAwesome icons, custom icons, renderer selection (dagre/elk), and line curve configuration. Load when styling diagrams or adding interactive elements.

Flowchart Construction — 6-phase element selection process: direction, shape, edge, label, grouping, styling. Decision trees for flowchart construction. Load when building a flowchart from scratch.

Other Diagram Types

Sequence Diagram — Actors, messages, loops, alt/opt/par blocks, activations, notes, and autonumbering. Load when constructing sequence diagrams.

Class Diagram — Classes, attributes, methods, visibility, relationships (inheritance, composition, aggregation, dependency), and namespaces. Load when constructing class diagrams.

State Diagram — States, transitions, composite states, fork/join, concurrency, and notes. Load when constructing state diagrams.

ER Diagram — Entities, attributes, relationship cardinality, and keys. Load when constructing entity-relationship diagrams.

Gantt — Tasks, sections, dependencies, date formats, exclusions, and milestones. Load when constructing gantt charts.

Timeline and Journey — Timeline events with dates and sections; user journey tasks with scores and actors. Load when constructing timeline or user journey diagrams.

Git Graph — Commits, branches, merges, cherry-picks, tags, and theme variables. Load when constructing git graph diagrams.

Mindmap — Root nodes, child nodes, icons, classes, and shapes. Load when constructing mindmap diagrams.

Data Charts — Pie charts, quadrant charts, XY charts, and sankey diagrams. Load when constructing data visualization diagrams.

Advanced Diagrams — Block diagrams, C4 architecture diagrams, kanban boards, and packet diagrams. Load when constructing advanced or specialized diagram types.

Critical Constraints

  • The word end in all lowercase breaks flowcharts — capitalize as End or END
  • Starting a node connection with o or x creates circle/cross edges — add a space or capitalize
  • Subgraph direction is ignored when any subgraph node links to an external node
  • Click interactivity requires securityLevel='loose' — disabled in strict mode
  • Commas in stroke-dasharray must be escaped as \, in classDef statements

References

[1] Mermaid Flowchart Syntax Documentation (accessed 2026-03-07)

[2] Mermaid Official Site — Flowchart Syntax (accessed 2026-03-07)

Frequently asked questions

What to verify before installation and use

What does the mermaids-treasure source document cover?

Complete syntax reference for all Mermaid diagram types. Enables AI agents to construct valid diagrams with correct syntax, structure, and configuration across flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, gantt charts, git graphs, mindmaps, timelin…

How do I install mermaids-treasure?

The source record exposes this install command: npx skills add https://github.com/Jamie-BitFlight/claude_skills --skill "plugins/process-siren/skills/mermaids-treasure". Inspect the command and pinned source before running it.

Alternatives

Compare before choosing

Computed 10029,236

garrytan/gbrain

bulk-ingestion

End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.

Computed 10025,136

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 10015,385

wanshuiyin/Auto-claude-code-research-in-sleep

citation-audit

Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.

Computed 10014,706

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance