plannotator-visual-explainer
关于
This skill generates self-contained HTML visualizations with Plannotator theming for technical explanations. It provides prescriptive templates for implementation plans and PR explainers, while delegating other visual content like diagrams and tables to a separate visual-explainer system. Use it to create visual documentation for plans, code changes, architecture, and technical concepts directly within Claude.
快速安装
Claude Code
推荐npx skills add backnotprop/plannotator -a claude-code/plugin add https://github.com/backnotprop/plannotatorgit clone https://github.com/backnotprop/plannotator.git ~/.claude/skills/plannotator-visual-explainer在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
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.
Plans/proposals (user should approve/deny):
plannotator annotate <file> --render-html --gate
Everything else (informational):
plannotator annotate <file> --render-html
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
Follow visual-explainer's structure, component classes (.ve-card, .kpi-card, .pipeline), and anti-slop rules. The only override is the color/typography layer — Plannotator tokens instead of Nico's custom palettes.
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.
GitHub 仓库
相关推荐技能
content-collections
元Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
polymarket
元这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。
creating-opencode-plugins
元该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。
sglang
元SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
