Pele
Render Mermaid diagrams as SVG with Pele. Use its JavaScript API for custom rendering, theming and browser integration.
Install
npx skills add lingengyuan/my-skills --skill pelegit clone --depth 1 https://github.com/lingengyuan/my-skills.git /tmp/my-skills
mkdir -p ~/.claude/skills
cp -r /tmp/my-skills/.claude/skills/pele ~/.claude/skills/pelePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Pele
Use the official JavaScript API from the current local Pele installation. Do not pin a release.
Save the Mermaid source beside its SVG. Read, render and write in one Node invocation. For standalone use on this machine, the package is installed in `~/.local/share/pele`; run inline Node there with absolute input and output paths:
```sh
cd ~/.local/share/pele && node --input-type=module - /absolute/input.mmd /absolute/output.svg <<'JS'
import { readFileSync, writeFileSync } from 'node:fs';
import { render } from 'pele';
const [input, output] = process.argv.slice(2);
writeFileSync(output, render(readFileSync(input, 'utf8')).svg);
JS
```
Pass `RenderOptions` when the task needs custom layout, fonts, padding, diagram configuration, icons or math. Use CSS variables for theming. For browser integration, use `mount()` for container sizing, zoom and updates. Consult the installed types or official [API](https://pele.run/api) and [theming](https://pele.run/theming) docs only when needed.
Return links to the source and SVG after success. Do not query versions, fetch documentation, parse XML separately or create browser previews by default. Preview only when requested or when a layout problem needs inspection.
Preserve diagram content. Report errors or limitations without silently changing renderers. State diagrams use `flowchart.curve` for transitions.Details
- Skill name
pele- Repository
- lingengyuan/my-skills
- Path
.claude/skills/pele/SKILL.md- License
- MIT
- Repo updated
- 14 November 2026
FAQ
What does the Pele skill do?
Render Mermaid diagrams as SVG with Pele. Use its JavaScript API for custom rendering, theming and browser integration.
How do I install the Pele skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add lingengyuan/my-skills --skill pele. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Pele popular?
It lives in lingengyuan/my-skills, which has 9 GitHub stars and 1 forks.
Related skills
Brief Output
9lingengyuan/my-skills
精简回答、技术说明与工程文档,删除冗余信息与 AI 味表达,只保留完成任务所需的必要事实与技术决策。适用于精简输出、压缩改写、去除 AI 腔调以及全文一致性修订。
Google Go Style
9lingengyuan/my-skills
按 Google Go Style 编写、重构或审查 Go 代码。用于命名、注释、接口、错误处理、并发、包组织与可维护性决策。
Insight Collector
9lingengyuan/my-skills
Analyze URLs, source code, images, technical documents, or notes, and archive reusable insights, code snippets, and architecture patterns into a knowledge base. Use when collecting knowledge, archiving technical articles, saving reusable code, or recording insights (收录, 记录一下).
Portpilot Assistant
9lingengyuan/my-skills
Inspect, diagnose, allocate, and free local development ports using the bundled PortPilot CLI. Use when finding available ports, inspecting port listeners, resolving port conflicts, freeing ports, or managing PortPilot configuration.
Panels
10thatmike1/claude-skills
Comic-book layout for work output — bold mini-headers, short chunks, whitespace, and [BLOCKER]/[RISK]/[FYI] severity tags. Keeps full technical accuracy; restructures prose for ADHD scannability. Best for code reviews, implementation plans, and long output. Use when user invokes /panels, says "panels mode" / "panels style" / "panel layout". One of a rotating wardrobe with /detective and /punchy.
Warden
10thatmike1/claude-skills
All-day accountability on request. Build a flexible day plan together, keep the current block visible, and check in through T3 Code with desktop reminders.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.