viz/skills/mermaid-theme/SKILL.md
Activated when the user asks to set, change, or configure Mermaid diagram colors or themes, mentions theme names like Tokyo Night, Nord, Catppuccin, Dracula, GitHub, or Solarized, or asks about available color schemes for diagrams.
npx skillsauth add musingfox/cc-plugins mermaid-themeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Configure color themes for Mermaid diagrams by managing the MERMAID_COLOR_SCHEME environment variable.
Use the AskUserQuestion tool with these options:
{
"questions": [
{
"question": "Which color scheme would you like to use for Mermaid diagrams?",
"header": "Color Scheme",
"multiSelect": false,
"options": [
{"label": "Tokyo Night", "description": "Deep blue-purple tones, modern dark theme"},
{"label": "Nord", "description": "Ice blue tones, arctic-inspired palette"},
{"label": "Catppuccin Mocha", "description": "Warm purple tones, cozy dark theme"},
{"label": "Catppuccin Latte", "description": "Warm tones, light theme with pastels"},
{"label": "Dracula", "description": "Purple-pink tones, high contrast dark theme"},
{"label": "GitHub Dark", "description": "Deep blue tones, familiar GitHub dark mode"},
{"label": "GitHub Light", "description": "Light blue tones, clean GitHub light mode"},
{"label": "Solarized Dark", "description": "Amber-blue tones, precision colors"},
{"label": "Custom", "description": "Provide your own hex colors"}
]
}
]
}
For built-in schemes: Map the label to scheme name (see references/color-schemes.md for mapping).
For "Custom": Ask for custom colors using AskUserQuestion:
{
"questions": [
{
"question": "What primary color would you like? (hex format, e.g., #7aa2f7)",
"header": "Primary Color",
"multiSelect": false,
"options": [
{"label": "Blue (#7aa2f7)", "description": "Tokyo Night blue"},
{"label": "Purple (#bb9af7)", "description": "Tokyo Night purple"},
{"label": "Cyan (#88c0d0)", "description": "Nord cyan"},
{"label": "Green (#a6e3a1)", "description": "Catppuccin green"}
]
}
]
}
Use the Write tool to create ~/.mermaid-theme.sh:
#!/bin/sh
# Mermaid Theme Configuration
# Generated by mermaid-theme skill
export MERMAID_COLOR_SCHEME="<scheme-name>"
For custom colors, also export:
export MERMAID_PRIMARY_COLOR="<user-color>"
export MERMAID_SECONDARY_COLOR="<optional>"
export MERMAID_TEXT_COLOR="<optional>"
Theme saved to ~/.mermaid-theme.sh
To apply now: source ~/.mermaid-theme.sh
To make permanent: add 'source ~/.mermaid-theme.sh' to your shell profile
~/.mermaid-theme.sh already exists, ask if user wants to overwrite/diagram command and mermaid-display skillreferences/color-schemes.mddata-ai
Unified entry point for Obsidian daily-note captures and long-form notes. Triggers on "記一下 / log / 紀錄 / capture this / 寫到 journal" (→ cap mode) and "建立筆記 / new note / 寫一份筆記 / create a note on" (→ note mode). Also via `/obw:cap` and `/obw:note`. Requires `.obsidian.yaml`.
tools
Use the `gog` CLI to operate Google Workspace — Gmail (read/search/send/labels/drafts), Calendar (events/RSVP/freebusy/focus-time/out-of-office), and Drive (list/search/upload/ download/share/move). Triggers on any Gmail, inbox, email, calendar, agenda, meeting, schedule, RSVP, Drive, Google Doc/Sheet/Slides, file share, or upload/download request.
documentation
Interactively create .obsidian.yaml for a project and install starter templates (task / doc / adr) into the vault's Templates folder. Skips templates that already exist; never overwrites.
tools
Manage project hook-guard installation — set up, diagnose, or update Claude Code hooks, git pre-commit, and commit-msg scripts with security checks, code-quality gates, and CLAUDECODE skip logic. Triggers on "set up hooks", "configure pre-commit", "add linting hooks", "initialize hook-guard", "check hooks", "hook doctor", "verify hook setup", "troubleshoot hooks", "update hooks", "regenerate hooks", "sync hooks with current tools", or similar requests.