modules/programs/agents/shared/skills/mermaid-to-png/SKILL.md
Convert mermaid diagrams in markdown files to PNG images. Use when the user wants to export markdown with mermaid to formats that don't support mermaid (Google Docs, PDF, etc).
npx skillsauth add MichaelVessia/nixos-config mermaid-to-pngInstall 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.
Extracts mermaid diagrams from markdown files, renders them to PNGs, and inserts image references after each mermaid block. The original mermaid code is preserved for future editing.
Run the script via bunx:
bunx ~/nixos-config/modules/programs/agents/shared/skills/mermaid-to-png/mermaid-to-png.ts "<markdown-file>"
```mermaid code blocks in the markdown fileassets/<filename-kebab-case>/diagram-N.png after each mermaid blockdocument.md
assets/
document/
diagram-1.png
diagram-2.png
...
Before:
# My Doc
```mermaid
graph LR
A --> B
```
After:
# My Doc
```mermaid
graph LR
A --> B
```

development
Generate self-contained HTML visualizations with Plannotator theming. Use for implementation plans, PR explainers, architecture diagrams, data tables, slide decks, and any visual explanation of technical concepts. Plans and PR explainers follow Plannotator's prescriptive approach; all other visual content delegates to nicobailon/visual-explainer.
development
Turn an idea or objective into a goal package for /goal. Interviews the user, builds a reviewed fact sheet via Plannotator, then explores the codebase to produce an execution plan.
development
Open Plannotator's browser-based code review UI for the current worktree or a pull request URL, then act on the feedback that comes back.
testing
Open Plannotator on the latest rendered assistant message and use the returned annotations to revise that message or continue.