/shelf-decks:shelf-decksfrom shelf-decks
Build a presentation in the member's own brand from one deck spec, HTML first (an animated reveal.js deck reviewed slide by slide), then a matching editable PowerPoint and a PDF. Use for "make me a deck", "slides for my investors/client", "turn this into a presentation", "export it to PowerPoint or PDF", or /shelf-decks.
Ships in shelf-decks. 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.
One deck spec (deck.js) renders two matching outputs: an animated reveal.js HTML deck that you review, and an
editable PPTX. The PDF comes from the HTML. The member's brand (colours, fonts, logo, label, image style) lives
in one brand.json. Never write slides by hand in HTML or PowerPoint; write the spec and render it.
"${CLAUDE_PLUGIN_ROOT}/bin/shelf-decks".shelf-decks on PATH, or resolve this SKILL.md symlink; the command is ../../bin/shelf-decks.First time on a machine: shelf-decks check. If it lists missing Node packages, run shelf-decks setup (installs
pptxgenjs, puppeteer-core and pdf-lib; no browser download). It needs Node 18+ and a Chrome, Edge, Brave or
Chromium for screenshots and the PDF. If the session cannot run commands, give the member the commands in order,
including render, shots (and looking at every slide) and pdf, and propose the slide titles.
shelf-decks brand shows the saved brand and a contrast check. No brand yet: ask for their real
colours, fonts, logo and company label, never invent them, then
shelf-decks init --name "Acme Studio" --accent C2410C --ink 1C1917 --bg FAF7F2 --display "Fraunces" --body "Inter" --logo ~/Brand/logo.png --image-style "...".
Fix every LOW contrast line before building.shelf-decks new <folder> copies the sample spec in the member's brand. Pick a builder per slide
from the map below, then write deck.js. Each slide is { type, ...opts, talk }.shelf-decks render <folder>/deck.js writes <name>_vN.html and <name>_vN.pptx (a new N
every time; nothing is overwritten).shelf-decks shots <name>_vN.html writes one 1920x1080 PNG per slide and a
contact sheet. Open and look at every slide image at full size, then the contact sheet as a sequence. Check
the gate below. Fix the spec and render again until it passes. Show the member the HTML (arrow keys,
T talk track, S speaker view) before any export. Never skip this review, even when the member says
"just send the PowerPoint": you may skip asking them to review, but you still render the HTML, run shots
and look at every slide yourself before you hand anything over, and you say so in one line (crowding, clipped
text and missing sources only show when someone looks).shelf-decks pdf <name>_vN.html makes the PDF. Send the PDF outside the
team: fonts must exist on the opening machine, and the PDF carries them.shelf-decks sample <folder> copies the fictional Northwind Bakery deck (10 slides, its own brand.json) for
practice. To see that practice deck in the member's own brand, use shelf-decks new <folder> instead: same
slides, no bakery brand.json, so the member's saved brand applies.
module.exports = {
profile: "member", // brand.json (beside the spec, or the member's saved one); "editorial-light" = neutral
name: "Q3_Review", // output base name -> Q3_Review_v1.html / .pptx
title: "Q3 review", // browser tab
imagesDir: "images", // images beside the spec
profileOverrides: { accent: "1F6F5C" }, // optional one-deck tweak, bare hex
slides: [ { type: "cover", ..., talk: "stage direction\n\n\"what you say out loud\"" } ],
};
titleParts: [{ text: "From " }, { text: "£1.2m", c: "accent" }], with
c one of accent, accentD, ink, coral, white. Put \n in a part for a line break.image: "cover" finds images/cover.png; image: "shop.jpg" keeps the extension.talk becomes the speaker note in both outputs and the on-screen talk-track drawer in the HTML.Full options for each builder: references/builders.md.
| Builder | The idea it carries |
|---|---|
cover | Open on the result. Title, tagline, promise, image right. |
divider | Section break, or name the enemy. Full-bleed image, big white title. |
statement | One conviction, said plainly. Two big lines (dark: true for a rhythm break). |
bigStats | Three or four hero numbers as proof. |
timelineAlt | A journey or plan over time; the last node is highlighted. |
split | Define a concept or show a place. Text left, image right, pills. |
outcomeBars | Before and after: two outcomes with bars. |
darkGrid | Four punchy points or a model, as a 2x2. |
cards | Three to six parallel items or steps. The workhorse: use sparingly. |
calculator | A price or budget: foundation, line items, total. |
modules | An ecosystem on a foundation. |
compare | Two options, two roles, risk and answer, side by side. |
diagram | A live animated flow, loop, relationship, matrix or checklist. |
hero | Full-bleed image with the title over a soft scrim. |
art | A full-bleed picture, no text. |
close | Land on one action, with a call-to-action button. |
bigStats (several) or outcomeBars (before and after).timelineAlt.split or statement.calculator.modules.compare (calm) or darkGrid (punchy).cards (numbered) or diagram with diagram: "flow".statement or divider.cards slides in a row, and three at most in the whole deck.cards, calculator, compare) with open ones (statement,
divider, split). Never three dense slides back to back.imageStyle (see shelf-decks brand). Prompt every
generated image with it, and keep text out of images.cover), close on the action (close).{ type: "diagram", diagram: "flow", kicker, title, footer, image: "flow", data: { stages: [{ label, note }] } }.
Kinds: flow (stages), loop (nodes on a cycle), relationship (hub and nodes), matrix (rows of cells),
checklist (rows with evidence). The HTML draws them live and animated, with notes on hover. The PPTX needs a
picture: if images/<image>.png does not exist, render bakes the live diagram to images/<image>.baked.png in
headless Chrome and uses that. Without Chrome the PPTX slide is blank and render warns you.
footer line), for example
"Source: till data, Oct 2025 to Sep 2026"._vN; pdf refuses to replace a file.Before any export, for the sequence and then each slide:
Then open the PPTX once (PowerPoint, Keynote or LibreOffice) and spot-check the cover, a dense slide and the close: fonts and image crops can differ from the HTML. Report exactly what you checked.
For a stage talk, keynote or TED-style talk, read references/keynote-mode.md before choosing builders. The spoken story sets the slide count, density and pacing.
| Problem | Fix |
|---|---|
Missing Node packages | shelf-decks setup, then shelf-decks check. |
No Chrome or Chromium found | Install Google Chrome, or npx playwright install chromium, or set CHROME_PATH. |
profile "member" needs a brand.json | shelf-decks init ..., or use profile: "editorial-light". |
| A diagram slide is blank in the PPTX | Chrome was missing at render time: install it and render again, or add images/<image>.png. |
| The PPTX shows a different font | The brand font is not installed on that machine. Install it, or send the PDF. |
| Text does not fit | Cut words or split the slide. Do not shrink the type. |
| An image is missing in the HTML | The file must sit in images/ beside the spec; check the name and extension. |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub skyremote/skool-navaigate-install --plugin shelf-decks