Slidev retro deck
Skill andresnator/agents-orchestrator/skills/slidev-retro-deck
npx -y skills add andresnator/agents-orchestrator --skill slidev-retro-deckAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Trigger: slidev, slides, presentation, deck, retro console, CRT, terminal theme. Build a Slidev presentation with a retro-console visual identity — three packaged themes (crt-phosphor, dos-terminal, synthwave-arcade), each with day and night schemes — themed Mermaid diagrams, and a mandatory PNG-export verification loop that checks every slide for overflow. También se activa en castellano: "hazme una presentación con Slidev", "presentación estilo consola retro".
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
7.3 KB, as published. Nobody here has run it
Slidev Retro Deck
Build 16:9 Slidev decks with a retro console identity (scanlines, tube glow, terminal type, blinking cursor) and verify every slide visually before declaring the deck done. Three packaged themes live under assets/themes/, each with a day (light console) and night (dark console) scheme selected per deck via headmatter colorSchema:
| Theme | Night | Day | Fonts (headings / body) |
|---|---|---|---|
crt-phosphor | green/amber phosphor on black | phosphor ink on paper-green | VT323 / JetBrains Mono |
dos-terminal | yellow/cyan on Borland blue | navy ink on ivory paper | Silkscreen / IBM Plex Mono |
synthwave-arcade | magenta/cyan neon on deep purple | sunrise pastel arcade | Press Start 2P / Space Mono |
The workflow applies to any Slidev deck; the packaged identity is the retro console.
Activation
- The user asks for a slide deck or presentation, especially with Slidev or a retro/terminal/Matrix look.
- Create each deck in its own directory (for example
.ai/slides/<deck-name>/), never inside a managed component tree.
Workflow
- Scaffold — copy
assets/scaffold/package.jsonandassets/scaffold/pnpm-workspace.yamlinto the deck directory, then install with pnpm.playwright-chromium(needed byslidev export) only downloads because the workspace file allows its build script.npmmay be aliased to pnpm in some setups, so prefer explicit pnpm commands. Runnpx slidev slides.mdfor a hot-reloading dev server. - Headmatter — start from
assets/slides-skeleton.md. Non-obvious facts: the seriph theme maps thefonts: serifslot to headings, so the display font goes there (each theme's font pair is listed in the skeleton comments and the theme CSS header);sans/monocarry the body mono font;colorSchemapicks the scheme —dark= night console,light= day console,auto= system preference plus the UI toggle;background: nonelets the CSS gradient show through. - Design system — pick a theme under
assets/themes/(crt-phosphor,dos-terminal,synthwave-arcade) and copy itsstyle.cssto the deck root (Slidev auto-loads it). Every theme is token-based: day palette on:root, night overrides onhtml.dark, so both schemes come from the same file. Each defines two semantic accents--accent-a/--accent-b: assign each accent to one topic/domain of the deck and keep the mapping consistent everywhere: text (.tx-a/.tx-b), borders (.bd-a/.bd-b), chips, stamps, and diagram nodes. - Stamps — every slide carries an absolutely positioned top-right badge naming its section/topic, placed right after the slide separator:
<div class="stamp stamp-a">topic</div>. Slides spanning both topics use.stamp-bothwith one span per accent. - Author credit — copy
assets/global-bottom.vueto the deck root; Slidev renders it on every slide, and the theme's.creditclass pins the handle small and dimmed at the bottom-left. Default handle is@andresnator; edit the copied file if the deck belongs to someone else. - Mermaid theming — copy the chosen theme's
mermaid-setup.tstosetup/mermaid.ts. It must export a plain function; never import@slidev/types(not a direct dependency, strict pnpm cannot resolve it, and the resulting vite error renders on the first slide). Each setup carries a day and a night palette and picks one at diagram render time from Slidev's scheme class; a live scheme toggle does not re-render existing diagrams (reload), and exports are always consistent. To accent nodes, tag them in the fence withclass <id> a,class <id> b, orclass <id> aux— the setup'sthemeCSSstyles those classes in the scheme-correct palette. Never useclassDefin fences: mermaid cannot parsevar()there, and hardcoded hexes break the day/night switch. - Diagram sizing — apply the playbook below; wide flows are
flowchart LR, neverTD. - Overflow discipline — mono fonts are wider and taller than proportional ones. Dense slides get per-slide frontmatter
class: text-sm; footers gettext-xs; watch the last table row and the final line of any box near the bottom edge. - Verification loop (mandatory) — never declare the deck done without it:
- Parse every mermaid block with
assets/mermaid-check/check.mjs(install its deps from the siblingpackage.jsonin a scratch dir):node check.mjs <deck>/slides.md. - Export:
npx slidev export slides.md --format png --output slide-export --timeout 90000. - Visually inspect every PNG for clipping, overflow, and legibility; fix and re-export until clean.
--range Niterates faster but wipes the output directory — always finish with a full export.
- Parse every mermaid block with
Diagram sizing playbook
Apply in order; stop when the diagram fits as large as possible:
| Lever | How |
|---|---|
| Orientation | flowchart LR for pipelines; TD overflows 16:9 |
| Scale | fence option {scale: 0.4–0.6} — mono fonts need the lower end |
| Spacing | {scale: X, flowchart: {nodeSpacing: 35, rankSpacing: 36}} — fence options merge into mermaid.initialize |
| Label trim | shorten the widest node label; move the info to a caption under the diagram |
| Width | .mermaid in the theme's style.css reclaims the slide's side padding via negative margins |
| Composition | diagram-only slides get frontmatter class: diagram-center to center vertically |
Hard rules
setup/mermaid.tsexports a plain function — no@slidev/typesimport.- No "done" without the full PNG inspection of every slide, in the scheme(s) the deck will actually use.
- One accent = one meaning, everywhere (text, borders, chips, stamps, diagram nodes).
- No color literals in mermaid fences: accent nodes with
class <id> a|b|aux(styled by the setup'sthemeCSS), neverclassDef—var()fails to parse and hexes break the day/night switch. - Respect each theme's heading type scale — pixel fonts (Silkscreen, Press Start 2P) are far wider than VT323 and overflow at CRT sizes.
- Presenter notes are a trailing
<!-- ... -->HTML comment inside the slide. - Keep the
prefers-reduced-motionguard on the blinking cursor.
Resources
assets/themes/<name>/style.css— day/night token-based theme (scanlines, glow, stamps, chips, diagram helpers).assets/themes/<name>/mermaid-setup.ts— matching day/night mermaid palettes forsetup/mermaid.ts.assets/slides-skeleton.md— headmatter plus cover, content, and diagram slide examples.assets/global-bottom.vue— per-slide bottom-left author credit (styled by each theme's.credit).assets/scaffold/—package.jsonandpnpm-workspace.yamltemplates.assets/mermaid-check/— parse validator for mermaid blocks.references/troubleshooting.md— symptom → cause → fix catalog from real failures.
Gives 0 of the 12 instructions most slides presentations skills give
Counted across 568 of the 571 authors here whose files we hold, read 2026-08-06
- include a visual element on every slidein 52 of 568, across 21 files
- put one idea per slidein 50 of 568, across 42 files
- state the design approach before writing codein 38 of 568, across 8 files
- validate XML immediately after each editin 37 of 568, across 7 files
- rasterize gradients and icons as PNG images before referencing themin 37 of 568, across 7 files
- generate and inspect thumbnails to validate layoutin 37 of 568, across 7 files
- commit to a single visual motif across every slidein 37 of 568, across 12 files
- use web-safe fonts onlyin 36 of 568, across 7 files
- keep 0.5 inch minimum marginsin 35 of 568, across 9 files
- use two-column layout for slides with charts or tablesin 34 of 568, across 5 files
- save a template inventory analysis to a filein 33 of 568, across 4 files
- use subagents to visually inspect rendered slidesin 33 of 568, across 9 files
Said here and by no other author read
- create each deck in its own directory
- install dependencies with pnpm
- assign each accent color to one topic consistently
- place a section badge on every slide
- copy the mermaid setup file to setup
- use flowchart LR for wide diagrams
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once.