Make a deck
Make a deck
How an agent builds a slide deck with the slides kit (draft). The why behind every rule is in the brief.
Read first
-
write-a-slide-brief.md, if you're given a script rather than a slide brief: write the brief first.
-
README.md, the brief: fonts (E1), size floors (E2), no bullet-by-bullet builds (F1), type-led covers with no photographs (D3), one claim per slide.
-
kit/README.md: the files, keys,
?ratio=, PDF export. -
trials/collective-action-s1/index.html, the worked example. Copy its structure:
- one
<section class="s s--LAYOUT">per slide; - the speaker note in
<aside class="notes">; data-section="…"on the first slide of each section.
Layouts:
cover,card(section), plain claim,split(claim + picture, or.pic.panelfor a quote beside the claim),bg(faint picture behind the claim),photo(full bleed with a band),plate(a picture on its own with its caption;.galleryfor two or three),quote,prompt(chat, ask, poll, breakout, clip), diagram (levels,climb),close. - one
-
research.md and research-decks.md, only if a design question comes up that the brief doesn't answer.
Ask for
The slide brief or script, plus the deck's title, speaker, event and date. Ask for photographs too, if any are wanted.
Rules
- Look: the kit's look is still being settled (brief E4). Use the default unless told otherwise;
?look=calmis a trial. - Classes: use only the kit's classes (
kit/slides.css). Sizes are in--u(one pixel of the 1920 × 1080 artboard); nothing meant to be read goes under 40 (headlines 72 or more). Add no new styles unless a slide truly needs one, and list any you add. - Covers: type only: eyebrow, title, subtitle, speaker. No decorative art, such as the rung boxes some Collective Action covers had (kit
.s--cover .art); it reads as a broken progress bar. - Headlines: a headline is a claim: a sentence, at most two lines.
- Steps: no bullet builds. If a point needs steps, make each step its own slide.
- Images:
- public domain or our own;
- resized to 1600 px or less (
sips -Z 1600); - kept in an
img/folder next to the deck; - credits: record each image's source and licence in the brief's image table. List them on a credits slide in an appendix after the close, and nowhere else: no credit labels on the pictures, however small (Rufus, 2 Nov 2026). Never put credits on the close slide itself: the close carries the question people leave with (see write-a-slide-brief.md).
- Where: the deck goes in its own folder (
deck/index.htmlplusimg/), with the content it belongs to (a course session folder, a paper's folder). Link to the images and the kit; don't inline them. For now, link to the kit by relative path into the design repo. That breaks once the deck is copied anywhere else (a course site, another machine); a versioned copy of the kit next to the deck will replace it (see Open below). - The kit: don't change it. Propose changes instead.
Make it
- Look: serve
~/src/life-itselfon localhost, so decks in other repos can reach the kit, and open the deck athttp://localhost:8792/<repo>/<path>/deck/index.html. In the Claude desktop app usepreview_startwith thelife-itself-staticlaunch config (in both the design and courses repos); elsewhere runpython3 -m http.server 8792 --bind 127.0.0.1 --directory ~/src/life-itself. Always bind to127.0.0.1: a plainhttp.serverlistens on the whole network, and agent auto mode blocks it. If the port is already in use, the server is already running: just open the URL. Hard-reload after edits; the browser caches. Check every slide at full window and at?ratio=16:9. - PDF, if wanted: print from Chrome, one slide a page.
The deck is done at this point. Don't build a single self-contained file as part of making a deck, and never commit one: it copies every image into the HTML (one Collective Action deck came to 1.6 MB).
Optional: one self-contained file
A separate step, only when someone asks for a single file to send or upload: python3 ~/src/life-itself/design/slides/build.py <deck>/index.html <output>.html inlines the CSS, JS, fonts and images. Put the output outside the repo, or in Google Drive.
Before handing back
- Check: render each slide at 960 × 540 and look at it. Everything should read, nothing should be crowded, and nothing important should sit in the top right.
- Report: say what you checked, what you guessed, and anything in the kit or brief that got in the way.
- Credits: all on the credits slide after the close; none on a picture or on the close slide.
- Log: add those as notes on the Beads epic
design-anwin the design repo (bd update design-anw --append-notes "…").
Open
- Versioned kit copy (Beads
design-anw.18): a deck should be able to carry its own copy of the kit's CSS, JS and fonts, stamped with the kit version, so it works wherever it is copied and can be updated on purpose. Until then decks link into the design repo.