Debug Slidey render, layout, CLI, MCP, browser, rrweb/video, PDF/PNG/MP4, and deck-output failures. Use when Codex needs to diagnose a broken or ugly Slidey deck, bad scene layout, render/audit/check failure, stale render bundle, Puppeteer/browser issue, MCP slidey tool problem, timing/narration overrun, or mismatch between viewer and exported output.
Use this skill to debug existing Slidey behavior. For creating or substantially rewriting a deck, use slidey-authoring first; return here when the question is why a deck, render, CLI command, viewer, or MCP tool behaves badly.
--list, --estimate, --check, --audit, PNG scene renders, or PDF exports first..artifacts/slidey-debug/<short-name>/ unless the user asks for a committed artifact.dist-render/render.html as generated. Rebuild it with npm run build:render; do not hand-edit it.Pick the cheapest command that answers the failure mode:
| Symptom | First command | What it tells you |
|---|---|---|
| Need scene number or duration | node src/index.js spec.slidey.json --list | Scene indices, types, start times, durations. |
| Narration may overrun | node src/index.js spec.slidey.json --estimate | Audio budget warnings without rendering. |
diagram-svg node sizing/overlap | node src/index.js spec.slidey.json out.mp4 --check | Static geometry violations, no Chrome. |
| Visual/layout issue | node src/index.js spec.slidey.json .artifacts/slidey-debug/<name> --scenes N | PNG frames for direct visual inspection. |
| Real browser layout issue | node src/index.js spec.slidey.json out.mp4 --scenes N --audit .artifacts/slidey-debug/<name>/audit.json | Rendered geometry, overflow, tiny text, template leaks. |
| Blank/stale/broken export | npm run build:render then rerun the scoped PNG/PDF | Rebuilds the Vue render bundle. |
| Chrome/Puppeteer failure | node src/index.js doctor | Browser launch and screenshot health. |
| Schema uncertainty | node src/index.js --schema | Current spec schema. |
Use an output directory for PNG spot checks. Use PDF for sequence review. Use MP4 only for final timing/video/audio issues after layout is already understood.
Read only the files tied to the observed symptom:
src/index.js.src/renderer.js and the matching src/scenes/<type>.js.--list, --estimate: src/timing.js.src/schema.js and src/validate.js.src/check.js.src/audit.js plus the rendered Vue component.web/components/DeckHost.vue, web/sceneSteps.mjs, web/store.js, and web/components/<Name>Scene.vue.src/video.js, src/overlay-render.js, src/rrweb-render.js, or src/tour/ depending on the source type.src/mcp.js and the exact tool handler branch.tools/vscode-slidey/ after confirming the CLI viewer path works.If the deck itself is the likely bug, inspect only the affected scene and nearby meta fields. Common deck-level causes include missing meta.mode: "pitch", wrong relative asset paths, overpacked diagram coordinates, long unwrapped node labels, and narration longer than scene duration.
web/, rebuild the render bundle before export-oriented checks.diagram-svg auto-layout is the default safe path. Hand-authored x/y/w/h coordinates require --check and a PNG review because boxes can grow without moving neighbors.node src/index.js ... first. If the CLI fails, MCP is not the root cause.src/mcp.js handler and compare its args with the CLI command that works.slidey_docs, remember the content comes from .claude/skills/slidey-authoring/SKILL.md, with YAML frontmatter stripped.When handing back a diagnosis, include:
eb6dc73
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.