/presentation-studio:slidev-animejsfrom presentation-studio
Builds, choreographs, troubleshoots, and validates Anime.js animations and embedded HyperFrames scenes inside Slidev presentations. Use when Codex needs to add reusable Vue animation components to a Slidev deck, wire Anime.js lifecycle cleanup with Slidev clicks and slide mounts, create CSS, keyframe, JavaScript object, stagger, timeline, playback, timer, animatable, easing, SVG, text, layout, draggable, scroll, scope, WAAPI, or engine-control demos, or verify animated Slidev decks in browser and export workflows.
Ships in presentation-studio. 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.
Read the colorset output contract before authoring or auditing visual output. Apply one exact bundled palette to every authored output path and inspect rendered paint. Default to colorset1; declare colorset2 when its category distinctions are needed. Start category marks with opaque solid fills and no decorative borders; exhaust the selected palette's usable unique solids before outlined overflow variants. Choose black or white inside text by actual fill contrast.
For connected explanatory diagrams, use the smallest readable layout by default. Follow diagram compaction to reduce idle gaps and route length while protecting labels, full arrowheads, endpoint identity and motion clearance. Keep chart scales and useful data dimensions intact; do not apply packing to unrelated animation studies.
For an ordered main row with an optional reciprocal check branch and backward return, start with the measured connected-flow scaffold instead of hand-sizing the diagram. It creates a native readable Vue stage, separated ports, visible base routes and a parcel following the actual paths.
For configurable column counts, regular grids, or masonry collections, read dynamic composition templates and copy assets/templates/slidev-layouts/ into the deck. Keep the three copied runtime files unchanged; customize wrapper data/props and use its display-title prefix for visible order. Prefer the copy-ready collection parent for fixed readable cards, actual-width column limits and capacity-driven pagination; use the engine directly for custom control. Declare CLI/theme/Vue dependencies, retain complete category identities, and run the bundled static checker before native build/capture. Inspect capacity, all pages and real inner-width changes; preserve readable fixed typography and every component. Keep literal three-row masonry distinct from vertical column masonry.
For HyperFrames scenes inside a slide or a dynamic collection cell, read HyperFrames integration. Generate new starter decks with the bundled scaffold; merge its player resources manually into existing decks. Use the reusable preview component for Play/Pause controls, map Slidev clicks to explicit seek times, and pause inactive scenes. Use colorset1 and local Open Sans inside authored starter scenes because iframe styles are isolated; preserve explicit styling in supplied custom compositions. Validate backward seeks, slide reentry, actual cell dimensions and a deterministic static-export state.
For native Mermaid fences, install the bundled diagram defaults once in the deck. Plain Mermaid source then inherits colorset1 automatically, with the same red/neutral palette and solid body treatment used by the Mermaid and PlantUML skills. Preserve existing setup hooks and explicit user styling.
Use the static deck checker before building: uv run --script <skill-root>/scripts/check_mermaid_deck.py --deck deck --plain-mermaid --expect-blocks 3 for a requested three-block deck. It checks Mermaid fences and runtime inputs without modifying files. Slidev headmatter such as theme: default is separate from diagram source and is legal. Use native build/capture metadata for slide count and rendered geometry; do not count global --- separators or opening/closing fence lines as slides or Mermaid blocks.
components/ directory. Keep slides.md focused on slide composition and small props such as $clicks.animejs next to the Slidev deck and import only the APIs needed by the component.createScope({ root }) for component-local selectors, shared defaults, media query handling, and batch revert() on unmount or slide reruns.$clicks. Clamp click counts, keep target names and DOM structure stable, and restart, seek, or update animations intentionally when the slide step changes.npm --prefix <deck-root> run build, then capture the built deck using uv run --script <skill-root>/scripts/capture_deck.py --deck <deck-root> --output-dir <workspace-captures>. Run bundled Python helpers through uv run --script so their declared dependencies are available. Inspect every animation slide, the screenshots and capture.json; the helper records native click, replay and reduced motion states and owns server cleanup. Confirm visible motion, complete labels/heads and actual click transitions; a captured image alone is not a quality pass.Read references/integration-patterns.md before implementing or debugging an Anime.js Slidev deck. It covers project shape, Vue lifecycle, scoped cleanup, $clicks, export, and verification.
For a named Anime.js capability, select its directly linked recipe below. Read references/animation-type-index.md for broad coverage or API lookup. Each animation pattern has one dedicated reference.
Read references/assets/animated-svg-assets.md when the task asks for SVGs that Anime.js can animate. It documents the generated SVG asset pack, stable selectors, and the copy-ready runtime template under assets/templates/slidev-svg-asset-pack/.
For normal work, copy only assets/templates/slidev-svg-asset-pack/ into the target deck; it contains components/SvgAssetSlide.vue, lib/svg-assets.js, and the six SVG files under assets/templates/slidev-svg-asset-pack/assets/animated-svg/. Do not read or copy assets/examples/ during normal skill use.
In an isolated workspace, copy the complete pack without enumerating the bundle: run cp -R skills/slidev-animejs/assets/templates/slidev-svg-asset-pack/. <deck-root>/ in bash or Copy-Item skills/slidev-animejs/assets/templates/slidev-svg-asset-pack/* <deck-root> -Recurse -Force in PowerShell. Replace <deck-root> with the exact requested deck path.
The runnable validation fixture under assets/examples/slidev-animejs/ is maintenance-only. It consumes the runtime template through a thin wrapper so fixture validation exercises the same files shipped in the isolated runtime payload.
Read references/visual-tokens.md before creating or updating animated Slidev examples, generated SVG assets, controls, or export fixtures. Use Open Sans for slide and SVG text, Material Symbols Rounded for system icons, and the documented brand palette for editable marks, stages, controls, highlight states, and generated assets.
When an Anime.js animation pattern, SVG asset hook, or Slidev lifecycle pattern proves reusable, update the owning reference before finishing. Use references/animation-type-index.md and the dedicated animation files for API-specific patterns, references/integration-patterns.md for Vue/Slidev lifecycle and $clicks, and references/assets/animated-svg-assets.md for SVG selector contracts. Include trigger, DOM contract, Anime.js API, cleanup/replay behavior, and validation command.
Read only the resource matching the task.
Select the matching recipe and read it in full.
agents/openai.yaml (opens in a new tab)assets/examples/slidev-animejs/components/AnimeFeatureSlide.vue (opens in a new tab)assets/examples/slidev-animejs/components/DynamicLayoutExample.vue (opens in a new tab)assets/examples/slidev-animejs/components/HyperframesExample.vue (opens in a new tab)assets/examples/slidev-animejs/components/SvgAssetSlide.vue (opens in a new tab)assets/examples/slidev-animejs/lib/anime-demos.js (opens in a new tab)assets/examples/slidev-animejs/lib/svg-assets.js (opens in a new tab)assets/examples/slidev-animejs/package-lock.json (opens in a new tab)assets/examples/slidev-animejs/package.json (opens in a new tab)assets/examples/slidev-animejs/setup/mermaid-renderer.ts (opens in a new tab)assets/examples/slidev-animejs/setup/mermaid.ts (opens in a new tab)assets/examples/slidev-animejs/slides.md (opens in a new tab)assets/examples/slidev-animejs/styles/index.css (opens in a new tab)assets/examples/slidev-animejs/vite.config.ts (opens in a new tab)assets/palettes/colorsets.json (opens in a new tab)assets/templates/ConnectedFlow.vue (opens in a new tab)assets/templates/slidev-diagram-style/diagram-style.mjs (opens in a new tab)assets/templates/slidev-diagram-style/setup/mermaid-renderer.ts (opens in a new tab)assets/templates/slidev-diagram-style/setup/mermaid.ts (opens in a new tab)assets/templates/slidev-hyperframes-starter/components/HyperframeStory.vue (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin presentation-studio4 skills in this plugin
/d3-google-slidesTransfers D3 visuals and collections to Google Slides. Preserves editable charts, curves, maps, and frozen animation states, with verified raster layers, original HTML links, and timed media when needed./slidev-echartsBuilds and troubleshoots Apache ECharts visualizations inside Slidev presentations. Use when Codex needs to add reusable ECharts Vue components to a Slidev deck, wire responsive chart containers, embed synchronized HyperFrames scenes, create click-driven data stories, tune chart modules and renderers, expose deterministic chart states for downstream capture, or validate charts in the browser; hand video composition and recording to the video skill./Other plugins' skills for the same job