beautiful-mermaid
Beautiful Mermaid
Render Mermaid diagrams as ASCII/Unicode art (for terminal) or SVG (for files).
Quick Start
# Render ASCII diagram to terminal
node ~/.claude/skills/beautiful-mermaid/scripts/mermaid.mjs "graph LR; A-->B-->C"
# Output:
# ┌───┐ ┌───┐ ┌───┐
# │ A │────►│ B │────►│ C │
# └───┘ └───┘ └───┘
Usage
node ~/.claude/skills/beautiful-mermaid/scripts/mermaid.mjs [options] [input]
Options
| Option | Description |
|---|---|
-f, --format TYPE |
Output format: ascii (default) or svg |
-t, --theme NAME |
Theme for SVG output (default: zinc-dark) |
-o, --output FILE |
Write to file instead of stdout |
--ascii |
Use pure ASCII instead of Unicode box-drawing |
--themes |
List available themes |
-h, --help |
Show help |
Input Sources
- Inline:
mermaid.mjs "graph TD; A-->B" - File:
mermaid.mjs diagram.mmd - Stdin:
echo "graph LR; A-->B" | mermaid.mjs -
Examples
ASCII Output (Terminal)
# Flowchart with Unicode box-drawing (default)
node ~/.claude/skills/beautiful-mermaid/scripts/mermaid.mjs "graph TD; Start-->Process-->End"
# Pure ASCII for maximum compatibility
node ~/.claude/skills/beautiful-mermaid/scripts/mermaid.mjs --ascii "graph LR; A-->B"
SVG Output (Files)
# Create SVG with tokyo-night theme
node ~/.claude/skills/beautiful-mermaid/scripts/mermaid.mjs -f svg -t tokyo-night "graph TD; A-->B" -o diagram.svg
# Sequence diagram
node ~/.claude/skills/beautiful-mermaid/scripts/mermaid.mjs -f svg -t catppuccin-mocha "sequenceDiagram
Alice->>Bob: Hello
Bob-->>Alice: Hi!" -o sequence.svg
Supported Diagram Types
| Type | Syntax |
|---|---|
| Flowchart | graph TD/LR/BT/RL or flowchart TD/LR/BT/RL |
| State | stateDiagram-v2 |
| Sequence | sequenceDiagram |
| Class | classDiagram |
| ER | erDiagram |
Available Themes (15)
Dark themes: zinc-dark, tokyo-night, tokyo-night-storm, catppuccin-mocha, nord, dracula, github-dark, solarized-dark, one-dark
Light themes: zinc-light, tokyo-night-light, catppuccin-latte, nord-light, github-light, solarized-light
List themes: node ~/.claude/skills/beautiful-mermaid/scripts/mermaid.mjs --themes
When to Use
- Architecture diagrams — Visualize system components directly in conversation
- Data flows — Show how data moves through a system
- State machines — Document application states and transitions
- Sequence diagrams — Illustrate API interactions and message flows
- Class diagrams — Document object relationships
- ER diagrams — Database schema visualization
- Documentation — Export SVG for README files and docs
More from tdimino/claude-code-minoan
academic-research
Search academic papers, build literature reviews, and synthesize research findings — combines Exa MCP (research_paper category, arxiv filtering) with arxiv-mcp-server for paper discovery, download, and deep analysis. Triggers on academic paper, literature review, research synthesis, arxiv, find papers, scholarly search.
69travel-requirements-expert
Plan a trip, create an itinerary, or research a destination through a structured 5-phase workflow---discovery questions, Exa/Firecrawl research, expert detail gathering, and a day-by-day requirements spec. This skill should be used when a user says "plan a trip," "create an itinerary," "help me visit [place]," or needs travel research with specific venues, safety protocols, and dietary accommodations.
67twilio-api
Use this skill when working with Twilio communication APIs for SMS/MMS messaging, voice calls, phone number management, TwiML, webhook integration, two-way SMS conversations, bulk sending, or production deployment of telephony features. Includes official Twilio patterns, production code examples from Twilio-Aldea (provider-agnostic webhooks, signature validation, TwiML responses), and comprehensive TypeScript examples.
64figma-mcp
Convert Figma designs into production-ready code using MCP server tools. Use this skill when users provide Figma URLs, request design-to-code conversion, ask to implement Figma mockups, or need to extract design tokens and system values from Figma files. Works with frames, components, and entire design files to generate HTML, CSS, React, or other frontend code.
61firecrawl
Scrape web pages to clean markdown using Firecrawl v2 — handles JS-heavy pages, site crawls, URL mapping, document parsing (PDF/DOCX/XLSX), LLM-powered extraction, autonomous agent scraping, and post-scrape browser interaction (Interact API). Prefer over WebFetch for quality and completeness. Triggers on scrape URL, fetch page, crawl site, extract content, parse document, web to markdown, DeepWiki, Firecrawl.
51scrapling
Scrape pages locally with anti-bot bypass, TLS impersonation, and adaptive element tracking — no API keys, no cloud. Handles Cloudflare protection, CSS/XPath element extraction, and survives site redesigns. Complements firecrawl (cloud) with 100% local execution. Triggers on Cloudflare bypass, anti-bot scraping, stealth fetch, local scraping, Scrapling.
47