pele
Installation
SKILL.md
Pele Diagram Validation & Rendering
Pele (obsidianmd/pele, pele.run) is a synchronous, zero-dependency Mermaid 12.1.0 renderer that outputs clean, themeable SVG styled via CSS custom properties (--pele-*) without a headless browser.
Use the bundled CLI wrapper at ./scripts/pele (or pele if present on PATH). It caches pele@1.6.0 under ${PELE_CACHE_DIR:-${XDG_CACHE_HOME:-$HOME/.cache}/pele}/1.6.0 with --ignore-scripts on first run.
Required Workflow
- Always validate before finishing: Whenever you author or edit a Mermaid diagram—whether in a standalone
.mmdfile or inside fencedmermaid ``` blocks in Markdown—run--checkon the file. - Fix reported line/column errors: If
--checkexits1, read the[<type>/<code>] (line N, column M)diagnostic and caret snippet onstderr, fix the syntax (commonly unquoted parentheses/brackets in node labels or invalid arrow tokens), and re-run--checkuntil it exits0.