What frontend-slides gets right, and what our kit misses
What frontend-slides gets right
Sources: the skill (~/.agents/skills/frontend-slides/: SKILL.md, STYLE_PRESETS.md, viewport-base.css, html-template.md, animation-patterns.md, the Warm Earth reference in assets/); the admired decks and the two session 1 builds in look/round4/ (decks/, fs-s1/, kit-s1-lean/); our kit/ (slides.css, deck.css, deck.js, themes/sor.css) and make-a-deck.md. Round 4 has already measured type sizes and lowercase height (look/round4/index.html). This note doesn't repeat that. It covers process, layout, rhythm and the small details.
TL;DR
- The skill makes the look a choice made by seeing. You see three rendered one-slide previews before any deck is built, and every look is a named preset with "signature elements". Our process jumps from a script to a full deck in a fixed kit, so nobody chooses the look by looking at it.
- The admired decks aren't lean. Cultural Evolution has a median of 58 words a slide and In Tech We Trust 36. Our session 1 builds have 21–24. Their light look comes from type that is small next to the slide (a heading:body ratio of about 1.85, body leading 1.65), left-set text in a centred column of at most 900 px, and two shades of ink. It doesn't come from having few words.
- Rhythm is the subtle part. In Cultural Evolution no more than two plain content slides ever run together: a parchment ground, a centred quote, a dark slide or a section break comes in between, and there is a section slide about every four slides. The art deck alternates text and pictures strictly. Our builds have runs of three or four look-alike slides.
- Pictures are never cropped, and are often given their own slide. The admired decks use
object-fit: containand equal heights in twos and threes, with the words on the slide before. Our split crops (object-fit: cover) and bleeds the picture off the edge. - We impose things that hurt: a locked class list ("add no new styles"), stale size floors in make-a-deck.md, centred text as the default, and a text block that sits below the middle of the slide. The admired decks average about one hand-tuned inline style per slide.
- The skill's weaknesses are real for us. Its type stops growing at fixed rem caps and shrinks again at window-height breakpoints, which is exactly the Zoom case. Pictures are capped at
min(50vh, 400px). It has no visual check, no notes or read view, and it pushes for a new look every time. Keep our engine; take the skill's process, rhythm and layout habits.
1. The process: what the skill makes the agent do
In order (SKILL.md):
- Detect the mode: new deck, PowerPoint conversion, or improving an existing deck. Improving has its own rules: "Count existing elements, check against density limits"; if a change would overflow, "automatically split content and inform the user".
- Content discovery in one round: all questions in a single
AskUserQuestioncall: purpose, length (5–10 / 10–20 / 20+), whether the content is ready, and whether in-browser editing is wanted. - Images before the outline. "View each image", mark it USABLE or NOT USABLE with a reason, then "Co-design the outline … This is NOT 'plan slides then add images'" (for example, three screenshots make three feature slides).
- Style discovery, "show, don't tell": pick a mood (at most two of Impressed, Excited, Calm, Inspired), then the agent makes three single-slide previews ("~50-100 lines, showing one animated title slide"), opens them, and asks which one, or which mix.
- Generate: read html-template.md, animation-patterns.md and viewport-base.css first, and "include the FULL contents of viewport-base.css". All sizes through
clamp(), comments on every section. - Deliver: open the file, then offer deployment or a PDF.
What probably makes the decks better:
- Previews. The look is chosen by eye on a cheap artefact, before 40 slides commit to it.
- A named, coherent preset with a short list of signature devices: for Warm Earth, a 40 px × 2 px sand rule under each heading, a 3 px sand left border on quotes, 6 px circular bullets, paper texture at 0.03–0.04, and five named grounds. The agent copies a whole worked look; preset 13 also points at a full reference deck.
- Taste instructions: "Dominant colors with sharp accents outperform timid, evenly-distributed palettes", plus a do-not list ("Everything centered, generic hero sections, identical card grids").
- "Never cram, never scroll", with a density table: content slide "1 heading + 4-6 bullet points OR 1 heading + 2 paragraphs"; quote "max 3 lines"; image slide "max 60vh". The admired decks break it (Cultural Evolution slide 16 has a heading and four paragraphs), so it works as a nudge rather than a limit.
The skill checks almost nothing visually. Its checks are about code (overflow: hidden, clamp() used, "content fits at 1280x720"), and the only check that involves looking is opening the file. Our "render each slide at 960 × 540 and look at it" is stronger.
2. The design rules, with values
- Fluid type with caps. viewport-base: title
clamp(1.5rem, 5vw, 4rem), h2clamp(1.25rem, 3.5vw, 2.5rem), bodyclamp(0.75rem, 1.5vw, 1.125rem), smallclamp(0.65rem, 1vw, 0.875rem). The decks raise these. Cultural Evolution has h2clamp(1.6rem, 4.5vw, 3.2rem), bodyclamp(1rem, 2.2vw, 1.7rem)and quoteclamp(1.1rem, 2.5vw, 1.85rem). The Warm Earth reference is larger still (body cap 2.1rem, h2 cap 3.8rem), so each deck drifted smaller than the preset. - Caps decide how much of the screen is ground. Cultural Evolution's heading stops growing at 1138 px wide and its body at 1236 px. On a 1440 or 1920 screen the text stays the same size while the slide gets bigger. That is why the 900 px column is 62% of the width at 1440 but 47% at 1920 (round 4).
- Ratios. Heading:body is 3.2 / 1.7 = 1.88 (Cultural Evolution) and 2.5 / 1.35 = 1.85 (In Tech); our SoR theme has 76 / 48 = 1.58. Body leading is 1.65 and lists 1.55 (ours: 1.45 and 1.4). The contrast is in weight as well as size: headings 700, body 400, in the same serif.
- Three voices: a bold display serif; the same serif at 400 and italic for body, quotes and emphasis; and a small sans for utility only (section number "Part II" in uppercase,
letter-spacing: 0.2em,opacity: 0.6; attributions; table row labels; the slide number atopacity: 0.5). - Two inks and a coloured italic. Headings in
#1a1a1a, body in#2d2d2d, muted#7a7468.emis italic in clay-dark#6b5535, andstronggoes back to full ink at 700. Emphasis is a change of colour and voice, never a highlighter. - Column and spacing. Content slides have
.slide-content { max-width: min(90vw, 900px); margin: 0 auto; justify-content: center }, with text set left inside the column; bodymax-width: min(75ch, 100%). Padding isclamp(1.5rem, 5vw, 5rem), the same on all sides. Gaps are--content-gap: clamp(0.75rem, 2vw, 2rem)and--element-gap: clamp(0.25rem, 1vw, 1rem), a two-step spacing scale. - Grounds. Cultural Evolution: cream 22, clay sections 13, parchment 7, charcoal 3, gold 1 (a single climax near the end). In Tech: cream, red sections, charcoal subsections, four full-bleed photographs.
- Layouts it reaches for: heading + body; heading + quote + body; heading + table + one emphasis line; a centred quote with a huge faint opening mark (
clamp(3rem, 8vw, 8rem),opacity: 0.2); a centred statement (max-width: min(55ch, 80vw)); text beside a picture (1fr 1fr, picturemax-height: min(70vh, 500px),object-fit: contain,border-radius: 4px); a picture as background with argba(26,26,26,.55)overlay; a gallery of two or three at equal height (Art:min(70vh, 500px)for two,min(65vh, 450px)for three, shadow0 8px 40px rgba(0,0,0,.5)). - Motion: entrance only, on arrival.
.revealmoves up 25 px over 0.7 s withcubic-bezier(0.16, 1, 0.3, 1), staggered by 0.1 s (0.05–0.55 s); list items slide 15 px in from the left; section titles scale 0.92 → 1 over 1 s. Everything has arrived within about a second, with no clicks. - Atmosphere: SVG fractal noise at 0.03–0.04 on cream (Cultural Evolution); blurred orbs (
blur(80px), opacity 0.12–0.2) placed differently on every slide (Art).
What carries the quality, in order: the column and centring (a left-set block floating in the middle of the ground); type small next to the slide, with a wide heading:body ratio and loose leading; the rhythm of grounds and slide types (§3); then the details (the rule, the two inks, the coloured italic, the texture). Colour matters least: round 4's swap test showed that.
3. The subtle things an agent on our kit would miss
- Rhythm of slide types. Cultural Evolution's sequence: title, quote, content, section, content, parchment, content, quote, section, content, content, parchment… The longest run of plain content slides is two. In Tech changes type on almost every slide (statement, picture, background picture, quote, section, subsection). The art deck alternates text and gallery 13 times. Our builds: fs-s1 has four plain cream slides in a row (33–36), and the kit build has two splits either side of one prompt.
- A quiet variant ground. Parchment
#e8e0d0against cream#f5f0e6is barely different, but it turns the next page between two text slides. Our grounds all mean something (sand, earth, night), so there is no "same job, new page". - Short headings, with the claim lower down. Admired headings are labels of two to five words ("Culture defined", "Why the wariness?"). The sentence that matters is a
.slide-emphasisline at 400 weight, often with its key phrase in coloured italic. Our sentence headline, two lines at headline size, puts the heaviest type and the most words in the same place. - The rule sits tight under the heading. 40 × 2 px,
margin-top: clamp(0.3rem, 0.8vw, 0.6rem), then a 2 rem gap, so the rule belongs to the heading. Ours is 64 × 3 with a 30u gap and is centred, so it floats between heading and body. - Optical centre. The admired blocks sit at the geometric middle, with padding equal on all sides. Our SoR theme sets
--pad-top: 236u; --pad-bottom: 110u(for Zoom's thumbnail), so the block's centre lands about 63u below the middle. The eye already reads the true middle as slightly low. - Centring is used sparingly. Content is left-set and only sections, statements and quotes are centred. Our theme centres every body without a list, columns or figure, and its own comment admits the fragility: "Any new structure class should be added to the list above, or it will centre."
- A picture and its text. For artworks the admired decks give the words one slide and the works the next, whole and at equal height. When text and picture share a slide, the picture is contained, rounded slightly, and capped at about half the slide height, so it never fights the text. Ours crops to fill half the slide and bleeds off the edge, which suits a photograph but not a painting.
- Per-slide tuning. Cultural Evolution has 44 inline styles over 46 slides, and In Tech 39 over 38: a
max-width: min(60ch, 80vw)to rebalance a line,text-align: centerfor one statement, a size bump for an opening line. Our builds have 3 and 6, because make-a-deck says "use only the kit's classes". - Quiet chrome. A slide number at
opacity: 0.5; 6 px dots atopacity: 0.3; a 3 px progress line. The brand is a logo at 0.55–0.92, bottom right.
4. Our kit and make-a-deck.md, side by side
What we lack: a step where the look is chosen by seeing it; a rule about rhythm (runs of slide types and grounds); a neutral variant ground; a short-label heading pattern; contained, uncropped pictures and an equal-height gallery for works (ours has .gallery at a fixed height: 600u but no rule about when to put the words on another slide); paper texture; licence to tune a slide.
What we impose that hurts:
- The class lock: "use only the kit's classes … Add no new styles unless a slide truly needs one" and "The kit: don't change it". This removes the per-slide judgement the admired decks rely on.
- Stale and conflicting floors. make-a-deck.md says "nothing meant to be read goes under 40 (headlines 72 or more)". sor.css uses 76 / 48 / 32, the round 4 theme note 60 / 36 / 26 / 20, kinds-of-deck.md 56 / 36 / 26 / 20, and the brief says sizes are "open again". An agent following make-a-deck builds the "massive" deck.
- Centred text by default, and the low block (§3).
- The split crops and bleeds (
object-fit: cover,margin: -pad-top), and the cover rule ("type only … no photographs") rules out In Tech's cover: title at 3fr beside the book cover at 2fr with a shadow. - A hidden eyebrow that still takes a grid row (
visibility: hidden), which pushes the body down. The theme collapses it toheight: 0as a patch.
What we do better (keep it):
- Scaling by proportion.
--u = min(sw/1920, sh/1080)with no caps and no height breakpoints, so a slide looks the same at 960 × 540 as at full screen, and the sizes can be checked on an artboard. - Read view (R) with notes under each slide, overview (O), a contents rail with section ticks,
#nin the URL,?ratio=16:9for recording, and a vector PDF from print at 1920 × 1080. The skill's PDF is screenshots: "An 18-slide deck can produce a ~20MB PDF", with text you can't select. Outside PowerPoint conversion the skill has no speaker notes at all, and its dots give no labels (Cultural Evolution has 46 identical dots). - Zoom-aware rules: nothing in the top-right quarter, contrast ratios written down (ink on cream 15:1), a prompt slide for the room's turn, a check at 960 × 540.
- Images handled properly: linked rather than inlined (In Tech is 15 MB), sources and licences recorded, credit placement rules. The art deck has no captions at all, only alt text.
5. The skill's weaknesses for our use
- Small type on Zoom and at 720p. The caps are in rem, so on a 1440 screen shared to a 960 Zoom window Cultural Evolution's body (27 px) arrives at about 18 px and its small text (16 px) at about 11 px. In Tech's body arrives at about 14 px. Worse, a deck run in a 960 × 540 window trips the
max-height: 600pxbreakpoint: Cultural Evolution's body drops toclamp(0.8rem, 1.4vw, 1.1rem), 13 px, and the dots disappear. The skill shrinks type exactly where we need it largest. - Text uses little of the screen. The 900 px column cap and the type caps leave 53% of a 1920 slide empty. Pictures default to
min(50vh, 400px), 37% of a 1080 slide's height, and even the photo-led In Tech caps its pictures at 500 px. - A new look each time: "Vary between light and dark themes, different fonts, different aesthetics … it is critical that you think outside the box!" Only preset 13 ("Use this preset by default") holds Life Itself decks together, and they still drift (the reference's body cap is 2.1rem, Cultural Evolution's 1.7rem, In Tech's 1.35rem).
- Motion everywhere by default (
.revealon every block), Google-hosted fonts ("never system fonts"), single files with base64 images, Vercel deployment, and no rendering check.
What to take into our way of building decks
Ranked by how much each should improve a deck, for the effort:
- Add a look step before the build: two or three directions, each as three real slides (cover, claim, picture), opened full screen and at 960 × 540, picked by eye. This is the skill's preview step, and it matches the brief's build-look-learn loop.
- Write a rhythm rule into make-a-deck.md and check it in the overview (O): no more than two slides in a row with the same ground and layout; a section or change of ground every four to six slides; alternate words and pictures in picture-led decks. Add one neutral variant ground for "same job, new page".
- Layout: left-set text in a centred column about 62% wide (the theme note's 62vw), with the block at or slightly above the middle. Centre only sections, statements, quotes and prompts. Drop the theme's centre-by-default selector.
- Type proportions, not their caps: heading:body about 1.85, body leading 1.6–1.65, weight contrast (headline 400–500 against small sans labels), two inks and a coloured italic for emphasis. Keep
--uscaling and the live-text floor, so the slide is light by proportion and still reads on Zoom. - Pictures: never crop a work of art (
contain); show works whole at equal height in twos and threes at 64–75vh; give the words their own slide when the picture is the point. Keepcoverfor photographs. - Let the agent tune within tokens: allow per-slide adjustments (a max-width, a centring, one size step) and list them in the report. Fix make-a-deck's stale "40 / 72" floors, so the guide matches the brief.
- Details: the rule tight under the heading (about 40 × 2 at 0.5 rem), paper texture at 0.03, chrome at about 0.5 opacity.
- Test one quiet entrance (the whole slide fades and rises 25 px over 0.7 s, ease-out-expo, no stagger) with Rufus on his laptop. It may be part of what he likes, and it keeps the no-builds rule.
Keep our engine: scaling by proportion, the read view and notes, the rail, #n, the vector PDF, the Zoom rules and the 960 × 540 check. Fold items 2–7 into the kit's theme and make-a-deck.md, rather than switching to the skill.