plannotator-visual-explainer
backnotprop/plannotator
Generate self-contained HTML visualizations for plans, PRs, and technical explanations with Plannotator theming.
What is plannotator-visual-explainer?
Plannotator Visual Explainer creates prescriptive visual documentation for implementation plans, PR walkthroughs, and architecture diagrams. Use it when you need to explain technical concepts, design decisions, or code changes through structured, themed HTML visualizations delivered via Plannotator's annotation UI.
- Generate implementation plans and design docs with milestones, architecture diagrams, and risk tables
- Create PR explainers with diff reviews, file tours, and risk maps for code changes
- Build architecture diagrams, data tables, slide decks, and project recaps via visual-explainer delegation
- Render Mermaid diagrams in light and dark palettes with validation before delivery
- Deliver all visualizations through Plannotator's annotation UI with approval gates for plans
How to install plannotator-visual-explainer
npx skills add https://github.com/backnotprop/plannotator --skill plannotator-visual-explainer- Plannotator installed and configured
- For visual-explainer path: nicobailon/visual-explainer skill installed
How to use plannotator-visual-explainer
- 1.Identify your content type: implementation plan, PR explainer, or other visual explanation
- 2.Read the relevant references (design-system.md, svg-patterns.md, pr-components.md, or theme-override.md)
- 3.Build your HTML following the prescribed structure for your path (Plan, PR, or Visual Explainer)
- 4.For Mermaid diagrams: render in both light and dark palettes and validate no errors appear
- 5.Deliver via plannotator annotate with --gate flag for plans, without flag for informational content
Use cases
- Document a backend refactoring with before/after data flow diagrams and risk assessment
- Explain a PR with file-by-file walkthrough, diff hunks, and review focus areas
- Create an architecture diagram showing component interactions and async paths
- Build a feature proposal with milestones, mockups, and open questions for stakeholder approval
- Generate a migration guide with timeline phases and implementation checkpoints
- Backend and frontend engineers documenting design decisions
- Code reviewers explaining changes to team members
- Technical leads proposing features or architecture changes
- DevOps engineers visualizing infrastructure or deployment plans
plannotator-visual-explainer FAQ
Use Plan path for implementation plans, design docs, and proposals. Use PR path for code change walkthroughs and diff reviews. Use Visual Explainer path for architecture diagrams, data tables, slide decks, and general technical explanations.
No. Timelines show phases and dependencies only, never hour or day estimates. The design philosophy explicitly excludes time estimates.
Rendering is a hard gate. If you see an exception, empty SVG, or error output like 'aria-roledescription="error"', fix the diagram or theme configuration and rerun both palettes until every SVG passes before delivering.
Use plannotator annotate <file> --gate for plans (requires approval), or plannotator annotate <file> for informational content. Do not use open or xdg-open.
Yes. The Visual Explainer path delegates to nicobailon/visual-explainer but replaces its color palettes with Plannotator theme tokens. Use visual-explainer's structure and component classes with Plannotator's design system.
Full instructions (SKILL.md)
Source of truth, from backnotprop/plannotator.
name: plannotator-visual-explainer disable-model-invocation: true description: > 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.
Plannotator Visual Explainer
Three paths depending on content type. Each has its own references and structure.
Route by content type
Implementation plan, design doc, or proposal → Follow the Plan path. Read references/design-system.md and references/svg-patterns.md. Prescriptive structure.
PR explainer, diff review, or code change walkthrough → Follow the PR path. Read references/design-system.md and references/pr-components.md. Prescriptive structure.
Everything else (architecture diagrams, data tables, slide decks, project recaps, general visual explanations) → Follow the Visual explainer path. Delegates to nicobailon/visual-explainer with Plannotator theme tokens.
Delivery
Always deliver via Plannotator's annotation UI. Do NOT use open or xdg-open.
For any deliverable that uses Mermaid, render every diagram with Mermaid 12 in both the light
and dark palettes before opening the annotation UI. Rendering is a hard gate: an exception,
empty SVG, or error output such as aria-roledescription="error" or Syntax error in text
means the explainer is not deliverable. Fix the diagram or theme configuration and rerun both
palettes until every SVG passes.
For zoomable diagram shells, additionally zoom to the maximum and pan to all extremes in both palettes before delivering: the figure caption must stay fully legible throughout (see references/diagram-shell.md).
Plans/proposals (user should approve/deny):
plannotator annotate <file> --gate
Everything else (informational):
plannotator annotate <file>
Plan path
For implementation plans, design docs, feature specs, migration guides, and proposals.
Before generating, read:
references/design-system.md— Plannotator theme tokens, typography, component patternsreferences/svg-patterns.md— inline SVG building blocks for architecture diagrams, flowcharts, data flow
Document structure (in order, pick what fits):
- Header — eyebrow label (mono, uppercase), title (serif, large), prompt box (the original brief)
- Summary strip — 3-5 stat cards showing key numbers at a glance (components, endpoints, tables, etc.)
- Milestones / timeline — vertical timeline showing phases without time estimates. Phases show sequence and dependencies, not duration.
- Architecture / data flow — inline SVG diagram. Use for 3+ interacting components. Highlighted boxes for new components, dashed arrows for async paths.
- Mockups — build UI mockups in HTML/CSS directly, not as descriptions
- Key code — dark-theme code blocks with syntax highlighting. Only architecturally significant interfaces/schemas — not every function.
- Risks & mitigations — table with severity badges (HIGH/MED/LOW)
- Open questions — callout cards with decision owner ("Decide with: backend team")
Not every plan needs every section. Skip what doesn't serve the content. Never include time estimates, boilerplate sections, or exhaustive file lists.
Adapt to the task: Backend → lead with data flow. Frontend → lead with mockups. Refactoring → lead with before/after diagrams. Infrastructure → lead with architecture.
Quality bar: The plan answers "what, why, and how" within 30 seconds of reading. Whitespace is a feature — one idea per viewport.
PR path
For PR walkthroughs, diff reviews, code change explainers, and reviewer guides.
Before generating, read:
references/design-system.md— Plannotator theme tokens, typography, component patternsreferences/pr-components.md— diff rendering, review comment bubbles, risk chips, file cards, before/after panels
Document structure (in order, pick what fits):
- Header — PR title, meta strip (file count, +/- lines, branch, author)
- TL;DR — bordered card with primary accent left border. 2-3 sentences. Readers who see nothing else should get the gist.
- Why — motivation and before/after comparison (two-column grid)
- File tour — collapsible cards per file. Each has: file path + badge (NEW/MOD/DEL) + line stats, a "why" paragraph, and important diff hunks. High-risk files expanded, safe files collapsed.
- Risk map — visual chips showing which files need careful review vs. which are mechanical. Three tiers: attention (destructive), medium (warning), safe (success).
- Where to focus — numbered callout cards. Each names a file/function and describes the concern.
- Test plan — checkbox-style verification checklist
- Rollout (if applicable) — phased deployment with feature flags
Use Pierre diffs via CDN for syntax-highlighted inline diffs — see references/pr-components.md for the pattern.
Visual explainer path
For architecture diagrams, data tables, slide decks, project recaps, comparisons, and any other visual explanation.
Before generating:
- Ensure
visual-explaineris installed:- Check:
~/.claude/skills/visual-explainer/SKILL.mdor~/.agents/skills/visual-explainer/SKILL.md - If not found:
npx skills add nicobailon/visual-explainer -g --yes
- Check:
- Read visual-explainer's
SKILL.md(workflow, diagram types, anti-slop rules) - Read the relevant visual-explainer references and templates for your content type
- Read
references/theme-override.md— Plannotator tokens replacing Nico's palettes - For zoomable Mermaid diagrams with controls and a caption: read
references/diagram-shell.mdand copy its shell — do not hand-roll viewport, canvas, or caption markup
Follow visual-explainer's structure, component classes (.ve-card, .kpi-card, .pipeline), and anti-slop rules. Overrides are the color/typography layer — Plannotator tokens instead of Nico's custom palettes — plus the zoomable diagram shell in references/diagram-shell.md when the deliverable has one.
Design philosophy (all paths)
- Whitespace is a feature. Generous padding, large section gaps. If cramped, add space — don't shrink text.
- One idea per viewport. Hero section, then diagram, then detail grid — not all crammed together.
- Show, don't describe. A timeline shows sequencing. A diagram shows relationships. A code block shows the interface.
- No time estimates. Timelines show phases and dependencies. Never attach hour/day estimates.
Related skills
More from backnotprop/plannotator and the wider catalog.

plannotator-compound
Analyze Plannotator plan archives to extract denial patterns and generate actionable HTML dashboard reports.

plannotator-setup-goal
Turn ideas into structured goal packages with user interviews and codebase exploration.

brave-search
Web search and content extraction via Brave Search API—no browser required.

bib-search-citation
Search and cite from local BibTeX/BibLaTeX libraries with topic, author, year, and DOI filters.

latex-paper-en
English LaTeX assistant for journal and conference papers—compile, format, bibliography, grammar, and section review.

latex-thesis-zh
Chinese LaTeX thesis assistant for compilation, formatting, GB/T 7714, structure, terminology consistency, and final compliance checks.