| name | render-plans-to-html |
| description | Converte artifacts de planejamento Markdown (PLAN.md, REVIEW.md, tasks.md, etc.) em dashboard HTML self-contained com sidebar, status pills, mermaid e syntax highlighting.
|
| source | vendored |
| upstream | https://github.com/FelipeOFF/render-plans-to-html |
| license | MIT |
| added | "2026-05-16T00:00:00.000Z" |
| vendored | "2026-06-05T00:00:00.000Z" |
render-plans-to-html
Convert any Markdown planning artifact into one self-contained, offline-capable HTML dashboard. Works with output from GSD, Superpowers, Ralph Specum, HopLoop, or any plain .md.
When to Use
- User asks to render or visualize plans, specs, reviews, or a folder of MD files in HTML.
- A planning artifact needs to be shared with someone who can't run the source tool.
- Multi-document phase output should be agglomerated into one navigable surface.
When NOT to Use
- Designing product UI — use
frontend-design or huashu-design instead.
- Editing source-of-truth Markdown — this skill never modifies inputs.
How to Run It
This skill runs via npx — no prior install required. Node.js ≥ 20 must be available on $PATH.
- Resolve input. Single
.md, folder (recursive), or comma-separated list. Ask only if not provided.
- Resolve output. Default:
<cwd>/plans.html. Override with --out.
- Detect language. Pass
--lang matching the language the user has been speaking in the conversation: pt-BR for Portuguese, en for English, es for Spanish. Do not rely on the system locale alone — the user's primary language in the chat is more reliable than $LANG. Only omit --lang when you genuinely cannot tell which language the user prefers; the CLI then falls back to $LANG/$LC_ALL and finally to English.
- Execute the renderer:
npx --yes render-plans-to-html <path>[,path2,...] \
[--out output.html] [--title "Phase v1.9"] \
[--lang pt-BR|en|es] [--default-agent opus|sonnet|haiku|codex] \
[--theme dark]
- Report. Print the absolute output path and offer to open it.
The HTML opens on an Overview tab with progress, ETA per agent, USD cost per agent, severity heatmap and burndown. Click any document in the sidebar to drill down to the original markdown.
Behavior
- Detects doc type by filename and content: plan / review / requirements / tasks / research / design / verification / generic.
- Each type gets a color-coded badge in the sidebar.
- Checkboxes (
- [ ] / - [x]) become status pills with a done/total metric.
- Severity keywords (
**CRITICAL**, **HIGH**, **MEDIUM**, **LOW**) become colored tags with counters.
- Mermaid blocks render as live diagrams (vendored mermaid).
- Code blocks get syntax highlight (vendored highlight.js).
- External links collected per doc into a "References" footer.
- Sidebar search filters nav.
- Dark/light theme toggle, persisted in
localStorage.
- "Copy as prompt" button copies the active doc back as text for re-prompting.
- Output is a single
.html with all CSS and JS inlined — works offline.
Quick Reference
| Input | Behavior |
|---|
file.md | Renders one doc |
folder/ | Recursive *.md discovery |
a.md,b.md | Renders the listed files in order |
| Flag | Default | Purpose |
|---|
--out | ./plans.html | Output file path |
--title | Plans (N) | Title shown in sidebar header |
--theme | auto | Initial theme: light, dark, or auto |
Optional: Local Install
If the user wants to install the CLI globally (so render-plans is always on $PATH), run the installer once:
npx render-plans-to-html-install --all
npx render-plans-to-html-install --claude
npx render-plans-to-html-install --codex
This is not required — the npx --yes render-plans-to-html flow above works without any local install.