How the General Translation brand deck in Prototemplate's deck/ folder is built and edited.
pnpm skills:install gt-deck --project <dir>Run it from a Prototemplate checkout. It links skills/gt-deck into the project’s .claude/skills and .agents/skills; --copy vendors the folder instead, and --dry-run prints each step first.
The brand deck is the General Translation identity in 93 slides. Its source is the deck/ folder of the Prototemplate repository, and pnpm build:deck turns it into one viewer page, with its pictures as files beside it, that prototemplate.com/deck serves. Kevin judges product surfaces against it (2026-09-25) and had Prototemplate's viewer shell built from its viewer (2026-09-08), so every slide meets the grammar below in both themes before it ships.
Paths are relative to a Prototemplate checkout ($PROTOTEMPLATE). The two scripts in scripts/ read that checkout: from its root they need no flag, and from an installed copy of this skill they take --root <checkout> or the PROTOTEMPLATE variable. The deck's own written grammar is deck/DECK-GRAMMAR.md; this skill distils it with the head CSS, the scripts and Kevin's directives. Detail lives in references/: full-picture-slides.md, viewer-and-build.md, type.md, writing.md, borrowing.md and sources.md.
deck/parts/head.html (tokens, slide and viewer CSS, the icon sprite, the GT mark symbol) and deck/parts/tail.html (SECTIONS, the viewer script, the mood picture engine) are locked unless the brief says otherwise; each deck/slides/NN-slug.html belongs to the lane assigned that slide; deck/fonts/deck-fonts.css changes only with a type decision; the grammar, the shooter, the assembler and scripts/build/deck.mjs belong to the deck owner. The full table is in references/viewer-and-build.md ("Files and ownership").
<section class="slide ..."><div class="in"> ... </div></section> preceded by an HTML comment that names the slide. It carries no <script>; the build refuses one.deck/ and push to main from its own worktree. Read git status and git log -- deck/ first, edit only the slides you were assigned, stage files by name, and leave head.html, tail.html and the registries in section 12 to the integrator unless the brief hands them to you.^\d\d-.*\.html$, in sorted order. A slide's number everywhere (the counter, the hash, shoot-slide.mjs, SECTIONS, DECK_SLIDES) is its position in that order. The prefixes 37 and 54 have been unused since two mood slides were retired on 2026-10-05, so after slide 36 the prefix runs ahead of the position: 38-motion.html is slide 37 and 95-closing.html is slide 93.12a-slide.html does not match the pattern: the shooter skips it silently and the build fails its count. When no prefix is free, renumber the files after the insertion point. A prefix past 99 needs the pattern changed in the build, the shooter, the assembler and check-deck.mjs.--hair with the crosses in --cross. A slide never draws them..slide is inset 57 px on every side and padded 72 px top and bottom and 80 px left and right. The usable area inside .in is 1326 by 642 px, from x 137 to 1463 and y 129 to 771 on the stage.--display and --text resolve to 'Inter', the rsms InterVariable roman registered by deck/fonts/deck-fonts.css, with font-optical-sizing: auto. No italic face is inlined, so the sheet sets no italic or <em>.h1, h2 and .big share one rule in head.html (weight 500, -0.025em, balanced, cv11 and ss01), and slide CSS never restates the features or the tracking. Weight 500 is the ceiling and running text is 400, except the specimen on the Typography slide.h1 88, .big 72, h2 44, .lead 26, p 22, .rows 20, .cap 15; SVG text never under 18. Text under 15px on the sheet is a defect.<svg> sized in the mark's aspect with no viewBox of its own.The size table, the measures, the copy rules in full and the #gt-mark markup are in references/type.md.
| Token | Light | Dark |
|---|---|---|
--paper | #ffffff | #070707 |
--ink | #070707 | #f2f2f0 |
--ink-2 | #3a3d44 | #b9bcc3 |
--titanium | #8a8f98 | #8a8f98 |
--hair | ink at 18% | #f2f2f0 at 22% |
--hair-soft | ink at 9% | #f2f2f0 at 10% |
--plate | ink at 3.5% | #f2f2f0 at 5% |
--cross | ink at 38% | white at 34% |
--edge | ink at 62% | #f2f2f0 at 55% |
.swatch, .panel and .ic hue rules in head.html, and in the reference-logo plates on The name (15-naming.html), which check-deck.mjs reports as warnings..ic.ok green #12a37a for done or passing, .ic.warn amber #f0a020 for open or in review, .ic.no red #e5484d for excluded or rejected, .ic.info GT blue #2f5ce0 for GT itself. The four hues are the same in both themes, and text and lines stay monochrome. Kevin asked for them on 2026-09-09: "use more colorful stuff like green check marks or other icons across tables and other kind of sparse, just text slides"..panel: #101010 in both themes, white monospace, with a --hair border in dark. Nothing else on the sheet uses monospace. The ASCII monogram on slide 23 draws its @ characters in a monospace stack because it is a pasted mark.--mood-ink and --mood-opacity belong to the artifact picture standard. scripts/lint/pictures.mjs holds their values, so a slide never sets them.All are defined in head.html; check there before writing slide CSS.
| Class | What it does |
|---|---|
.center | a centered block over the whole content box |
.left-mid | left aligned, vertically centered |
.split | .head above .body with a 56 px gap; .body fills the rest and centers its content (.body.end aligns it to the bottom) |
.cols | two columns at 5fr and 7fr with a 72 px gap, centered vertically; .cols.even is 1fr and 1fr, .cols.wide-right 4fr and 8fr |
.stack | a vertical flex with a 22 px gap |
.rows | a ruled key and value table; --key sets the key column (default 240 px, .rows.narrow 180 px), .rows.tight pads 14 px; two lines per value at most |
.plain | a ruled list of statements at 24 px; .no strikes a line through in titanium |
.pair | two figures side by side with captions and a 28 px gap |
.shot, .shot.fit, .shot-wrap | a bordered screenshot, one that fits its box, and a wrapper that centers one in the space left |
.scales, .scale | slider rows: a 150 px label, a hairline track with an 11 px ink marker, a 150 px label |
.spec, .lang, .ladder | the type specimen, the multilingual grid and the type ladder |
.swatches, .swatch | color plates, the only place the deck shows more than two tones |
.refs | a two-column reference list |
.say | two quoted registers side by side (defined, unused on 2026-10-05) |
head.html (63 glyphs on 2026-10-05), written as <svg class="ic ok" aria-hidden="true"><use href="#i-check-circle"/></svg>. Use ok, warn, no or info for the four hues, or no color class for a monochrome category glyph..rows > div > b, or the key cell of a slide's own ruled table) or at the start of a .plain row. An icon inside a sentence is a defect. It is 20 px on 20 px rows with 10 px before the label, and 24 px on 24 px display lists with 12 px. A key that wraps keeps its second line under the label; the hanging indent in head.html does this..ic.ext is the 16 px titanium external glyph (#i-arrow-top-right-on-square) that follows a link in a table.node skills/gt-deck/scripts/heroicon-symbol.mjs <name>. It prints the <symbol id="i-name" viewBox="0 0 20 20"> from @heroicons/react 20 solid in the checkout, or reports that the sprite already has it.head.html adds the symbol to the sprite.<svg width="0" height="0" style="position:absolute" aria-hidden="true">, with a comment saying it waits for the sprite, as 93-fixed-points.html does for i-lock-closed. When the sprite gains the glyph, delete the slide's copy; the script names such copies. Symbol ids are global across the assembled deck.<svg class="dia" viewBox="0 0 W H">, width 100%, overflow: visible. Size the viewBox to the width it renders at where you can, so 20 px labels and 1 px strokes stay 20 px and 1 px on the sheet; the Diagrams slide draws its four examples in 300-unit boxes at 300 px.class="ink", "mid" (ink-2) or "hair", at stroke-width 1 or 1.5, with square caps and no rounded joins.var(--ink), var(--paper) or var(--plate). Isometric faces are ink at fill-opacity 0.04 on top, 0.09 on the left and 0.15 on the right, lit from the upper left.<text> in the same SVG at 20 px in ink-2, or .lab at 26 px in ink at weight 500, with .sm at 18 px as the floor. They stay horizontal and 12 px clear of any line.references/isometric.md, the 30 degree projection.deck/shots/OPENERS.md and docs/ARTIFACT-PICTURES.md.src and its dark twin in data-dark, for example <img class="shot" src="shots/<name>-light.jpg" data-dark="shots/<name>-dark.jpg" alt="...">. Page twins are site-<page>-{light,dark}.jpg, 1440 wide from 2x captures. Detail crops are detail-<name>-{light,dark}.jpg at native 2x pixels. proto-* and glyph-* files are Prototemplate and Glyphfield captures. A screenshot is never stretched or cropped through content, and it keeps its 1 px --hair border..big, one sentence that starts "This section covers", and a credit.<canvas class="mood-img" data-tone="...">, screened live by the viewer at 1 CSS px cells, behind a lower-right plate with the picture's title at 44 px, one or two sentences on why it is in the deck, and the credit.canvas.dither that the viewer redraws per theme at 2 px cells.references/full-picture-slides.md has the markup, the plate geometry, the credit formats, the image rules and the steps for adding a mood picture.Slides 17 to 23 present the seven race-type marks Kevin chose on 2026-09-29. Each slide pastes its file from public/marks, and The lockup also pastes bar-monogram.svg at 375, 187 and 94 px on a paper and an ink ground:
| Slide | File |
|---|---|
| 17 The bar monogram | bar-monogram.svg |
| 18 The lockup | bar-monogram-lockup.svg |
| 19 The plate | plate-inverted.svg |
| 20 Double cut | double-cut.svg |
| 21 Livery stack | livery-stack.svg |
| 22 The dithered monogram | bar-monogram-dithered.svg |
| 23 The monogram in ASCII | bar-monogram-ascii.svg |
<svg> whole and add width and height in px before xmlns, keeping the viewBox's aspect. The monogram is 1100 by 282 for its 499.6 by 128 viewBox. The files fill with currentColor, so a mark takes the slide's ink in both themes.scripts/build/speed-marks.mjs, run pnpm build:marks, paste the new markup over the old, re-crop the marks page capture for Skills and marks (slide 71, deck/shots/proto-marks-speed-*.jpg), and rebuild the deck.check-deck.mjs fails when any mark pasted on these slides differs from every file in public/marks, and warns when a size breaks the file's aspect.head.html lacks goes in a <style> that is the first child of the slide's <section>. Every selector starts with a class you add to that section: <section class="slide s08">, then .s08 .track { ... }. An unscoped rule reaches every slide and every thumbnail.#stage > .<class>, because the thumbnails clone slides without the viewer chrome..s19a is the Diagrams slide at position 33). Search the slides for a class before you take it..s-opener block and mood slides one .s-mood block, repeated in each file. Keep the copies identical; check-deck.mjs warns on a copy that drifts.id, so style by class.check-deck.mjs fails on any selector that does not start with a class on its section.<img> that shows a page or a crop takes a data-dark twin when one exists in shots/. Without one it keeps its 1 px --hair border, so a light capture reads as a plate on the dark ground.prefers-color-scheme. The D key and the site's theme button flip it. The viewer then swaps every data-dark image and redraws the dither ramps and the mood canvases.references/viewer-and-build.md has the theme mechanics.node deck/shoot-slide.mjs 8 15 # positions 8 and 15, light and dark, into deck/preview
node deck/shoot-slide.mjs all # every slide
node skills/gt-deck/scripts/check-deck.mjs --titles # registries, structure, scoping, marks; writes nothing
pnpm build:deck # public/brand-deck.html, public/deck-assets and public/shots/deck
pnpm lint:pictures # the mood grids, slides and the built deck's grids
pnpm lint:lines:shell # the line audit, /deck included, against the dev server on 3005
node scripts/lint/lines.mjs --shell --only /deck --width 1440 --theme dark # the deck alone, about 45 scheck-deck.mjs before a commit. It exits 1 on an error.public/brand-deck.html and public/deck-assets/ with the slides. The page is the file /deck serves, pnpm build runs lint/pictures.mjs against it and its grid files, and the line audit reads it.references/viewer-and-build.md covers the build's image files and lazy loading, its macOS and Pillow requirements, the deck/tmp/shots symlink, the shooter's Chromium path, and the size-limited artifact copy.When a slide is added, removed, retitled or moved, nine places restate it: SLIDE_COUNT in deck/assemble.mjs, the #bar-total count, SECTIONS in tail.html, DECK_SLIDES in src/lib/search-index.ts, the slide count sentence on /brand, the /deck lines in README.md and public/llms.txt, deck/shots/OPENERS.md, and the section opener's "This section covers" sentence. The table with what changes in each, and what check-deck.mjs verifies, are in references/viewer-and-build.md ("The registries a slide touches").
.panel, bullets, shadows, rounded corners or gradients.These rules hold for any GT presentation, the brand deck included (Kevin, 2026-07-29 and 2026-10-05): plan the narrative and each slide's text in text first; each slide stands alone, has a reason to exist and connects to the one before it; introduce an idea before a slide relies on it; open with how the brief was approached; return to an earlier style when it read better; and run the presentation in a real viewer. The detail and Kevin's words are in references/writing.md.
Kevin judged the first dashboard, onboarding and auth pass against the deck on 2026-09-25. A surface that borrows the grammar takes the tokens with the dark theme as a remap, the type ladder with tracking on Inter's curve, weight 500 as the ceiling, and one rule per seam with ruled rows. The rails, rules and registration crosses belong to the sheet, and icons and dither material follow the host repository. The detail is in references/borrowing.md; gt-aesthetic holds Kevin's verdicts across surfaces.
<section class="slide ..."> with its name comment, a scoped <style> if any, and no <script>..panel..plain rows.data-dark twins or their border.node deck/shoot-slide.mjs N shows no overflow and no page error, and both JPEGs were looked at.node skills/gt-deck/scripts/check-deck.mjs exits 0, with every registry in section 12 updated for an added, moved or retitled slide.pnpm build:deck ran, public/brand-deck.html and public/deck-assets/ are staged with the slides, and pnpm lint:pictures passes.gt-voice (the writing rules the copy follows), gt-diagrams (diagram construction, the isometric family included), gt-dither and gt-graphics (the Bayer screen and the artifact picture standard behind the mood slides), gt-brand (the identity the deck presents, and the Inter rules for every other surface), gt-aesthetic (Kevin's verdicts across surfaces), gt-lints (the line audit and the picture lint), prototemplate (the repository and its shell). From the wiki: agent-browser for driving the viewer in a browser, create-graphics, design-engineering-polish.
Dated provenance for every rule is in references/sources.md: the deck's files and grammar, the build and check scripts, and Kevin's dated directives.
The folder skills/gt-deck as agents fetch it. Each file opens raw.
SKILL.mdreferences/borrowing.mdreferences/full-picture-slides.mdreferences/sources.mdreferences/type.mdreferences/viewer-and-build.mdreferences/writing.mdscripts/check-deck.mjsscripts/heroicon-symbol.mjs