/mattpocock-skills:slidevfrom mattpocock-skills
Build, revise, and verify Slidev presentations as working web projects.
Ships in mattpocock-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Treat the deck as a staged argument, not a document. Each slide carries one beat: one claim, question, example, comparison, or transition the audience can absorb before the speaker moves on.
Classify the request before changing files:
package.json, entry Markdown, theme, styles, components, layouts, assets, and source material.When the workspace contains no existing deck and the request does not explicitly ask for a new one, stop and ask the user to identify the deck. Do not scaffold a project, install Slidev, or create presentation files.
For an existing deck, preserve its visual system and package manager unless the user asked for a redesign or migration.
Establish these constraints from the request and available files:
Infer constraints that the sources make clear. Ask only when a missing answer would materially change the deck. For an explicitly requested new deck, resolve its destination before scaffolding.
For claims not supplied by the user, verify them against primary sources and retain their URLs for a source line, speaker notes, or a references slide.
This step is complete when you can state the talk's promise in one sentence and name the delivery target.
Write a slide inventory before polishing Markdown. Give each slide a claim, question, or purposeful transition rather than a topic label. Shape the sequence around the talk's needs; a useful default is:
Use duration and interaction to size the deck; do not apply a universal slides-per-minute formula. Split a beat when its title needs "and", its visual has multiple focal points, or its content needs shrinking to fit.
Put nuance, transitions, citations, demo instructions, and fallback explanations in presenter notes. Slides carry the audience-facing beat; notes carry the speaker's route through it.
This step is complete when every required point has one place in the sequence and every slide has a reason to exist.
For an explicitly requested new deck, scaffold with Slidev's current official command and the chosen package manager. For syntax, project structure, feature choices, and current source links, read references/authoring.md. Read it again when changing layouts, diagrams, export behavior, or MCP usage.
When a slide uses staged reveals, transitions, motion, code animation, Monaco, or a custom interactive Vue component, read references/interactions.md completely before implementing it. Use the smallest interaction that carries the beat, and apply that reference's state and export checks.
Build three tracer slides before the full deck:
Define a small visual language across those slides: a type scale, spacing rhythm, palette, code treatment, image treatment, and a handful of recurring layouts. Reuse the project's theme before inventing local abstractions. Scope global CSS under .slidev-layout so it does not leak into presenter UI.
Prefer one strong visual focal point. Turn lists into sequences, comparisons, diagrams, or separate beats. Use animation to control explanation order or compare states, and keep static content static. Keep code examples to the lines the audience must understand; import real snippets when drift from executable source would matter.
Run the dev server and inspect the tracer slides at presentation size. The visual system is ready only when all three are readable without clipping, emergency scaling, or layout exceptions that the remaining deck would repeat.
Build the remaining slides from the approved visual language and beat inventory.
public/ when the deck must work offline or export reliably.If the Slidev MCP server is already connected, use its structured slide operations and live navigation where helpful. Direct file edits remain valid; do not pause the deck to configure MCP unless the user asked for that setup.
Keep the dev server running and inspect every slide full-size in sequence. Use live browser navigation, Slidev's MCP navigation when connected, or exported PNGs. Inspect every click state that changes meaning or geometry.
Check for:
Fix issues and repeat the loop. After changing shared styles or layouts, revisit every affected slide. A source review or successful build does not replace this rendered review.
If the available browser or Playwright cannot launch, try an already-installed Chromium executable, Slidev's browser exporter, or another browser tool available in the harness. When none is available, report visual QA as blocked with the exact missing dependency. A successful build is still not evidence that the slides fit.
Use the project's scripts and package manager. At minimum:
validate-mermaid and fix every syntax error;CLI PDF, PPTX, and PNG export requires playwright-chromium. Install it in the deck project when export is part of the requested deliverable and the dependency is absent. Interactive features do not survive every export format, so provide static states or export click steps when the artifact depends on them.
Finish by reporting the deck entry, the command to present it, validation commands, exported artifact paths, and any assumptions or live-demo dependencies. Do not call the work complete until the production build passes and every delivered slide has been visually inspected after its last relevant change.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub royalbis/mattpocock-skills --plugin mattpocock-skills37 skills in this plugin
/ask-mattAsk which skill or flow fits your situation. A router over the skills in this repo./claude-handoffHand the current conversation off to a fresh background agent that picks up the work immediately./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X"./diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow./domain-modelingBuild and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a CONTEXT.md, or recording or editing an ADR.