Modify the Beautiful Mermaid live editor itself rather than writing ordinary Mermaid diagrams. Use when the task mentions the Beautiful Mermaid repo, `editor.ts`, generated `editor.html`, config panel/options, themes or dark mode, zoom, PNG/SVG export, clipboard behavior, sample presets, or renderer wiring for the editor. Do not use for generic Mermaid syntax help or normal Markdown Mermaid authoring.
Instalación
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Modify the Beautiful Mermaid live editor itself rather than writing ordinary Mermaid diagrams. Use when the task mentions the Beautiful Mermaid repo, `editor.ts`, generated `editor.html`, config panel/options, themes or dark mode, zoom, PNG/SVG export, clipboard behavior, sample presets, or renderer wiring for the editor. Do not use for generic Mermaid syntax help or normal Markdown Mermaid authoring.
Work from the Beautiful Mermaid editor source tree, not from generated HTML output.
Preconditions
If $ARGUMENTS includes a repo path, treat it as the starting point.
Before proposing edits, read the target repo's AGENTS.md, package scripts, and current editor source.
Treat editor.ts as the source of truth. Do not edit generated editor.html directly unless the target repo explicitly requires committed build artifacts.
Execution flow
1. Locate the real edit surface
Find the Beautiful Mermaid repo root and the editor.ts file that generates editor.html.
Read the current build/dev entrypoints (package.json, dev.ts, Bun scripts, or equivalents) before assuming command names.
Identify adjacent source files only after locating the concrete change path:
src/browser.ts
src/types.ts
src/theme.ts
src/styles.ts
samples-data.ts
2. Route by task type
Load only the references needed for the requested change:
Task type
Load first
Config panel, color control, slider, sample preset
references/CHANGE_PATTERNS.md
Render pipeline, theme, dark mode, zoom, export, clipboard