¿Qué hace showcase?
Pictures and films of existing work (brands, products, sites, apps, designs) presented the way the best independent studios present theirs: big, sharp, flat, arranged with care. Render, don't rebrand: everything that is the brand comes from the brand; a showcase adds only the frame, the field, the crop, the arrangement and the motion. (Designing a brand is the identity skill's job.)
How it works: the work is laid out in a set, an HTML page of shots, each a frame at an
exact size, built with the kit in assets/set.css. Pictures of the real work (plates) come from
scripts/grab.mjs. scripts/shoot.mjs shoots every shot as a still at 2× (3840×2160 for 16:9,
4096 wide for a board). scripts/montage.mjs cuts stills and clips into a film of hard cuts.
scripts/film.mjs films the live product with Closeup: frame by
frame, with a drawn cursor and a camera that closes in on clicks, laid into a designed frame.
Paths below are relative to this skill's directory; call it $SKILL in commands.
1. Check the tools
node -v # 18 or later
node -e "require('playwright')" && echo ok # from the project, or installed globally
ffmpeg -version | head -1 # for films
Missing Playwright: npm i -D playwright && npx playwright install chromium in the project (or
-g). Closeup needs no install: film.mjs uses the project's @cesarvenzac/closeup if it has one,
otherwise fetches it from npm once into ~/.cache/showcase.
2. The brief
Work out from the conversation and the project, then ask in one short message only what's missing:
- The work. A URL; a local dev server (find it in
package.json, run it, grab fromlocalhost); image or video files; a Figma file (if Figma tools are connected, export frames as plates); components in a repo; the brand's existing posts, decks and assets. - Where it's going. Default: a post on X. Also a case study, a deck, a README, a store page.
- The brand. The logo as SVG (look in the repo:
public/,assets/, files withlogoin the name), colours, typefaces, its own words. Missing ones are read from the work (grab.mjs --brand). - What to make. When nobody says: a board of the work, three single frames (the best product moments), a montage of them, and a walkthrough if the product is interactive.
- References. Images of work the user wants to match. Look at each before directing and note what they share: fields, crops, type, how much product shows, the finish.
3. The workspace
Make showcase/ in the project (or the current folder), copy assets/set.html and assets/set.css
into it, and keep everything there: plates/, out/, direction.md, moves files. Kept together,
the whole series can be made again in one go when the product changes.
4. Plates: pictures of the real work
node "$SKILL/scripts/grab.mjs" https://example.com --out showcase/plates/home.png --brand
node "$SKILL/scripts/grab.mjs" https://example.com --selector ".pricing-card" --scale 4 --out showcase/plates/card.png
node "$SKILL/scripts/grab.mjs" https://example.com --clip 120,80,900,560 --scale 3 --out showcase/plates/editor.png
node "$SKILL/scripts/grab.mjs" https://example.com --dark --out showcase/plates/home-dark.png
node "$SKILL/scripts/grab.mjs" https://example.com/app --viewport 390x844 --scale 3 --out showcase/plates/mobile.png
--brand writes home.brand.json: title, description, headings, the colours the page covers most,
its colour variables, its fonts, control radius, logo candidates, and the markup of the link home
(homeLink, where a logo built in HTML and CSS shows up). Cookie banners and chat widgets are
hidden; --hide ".promo" hides more; --full grabs the whole page.
Show the product in use, not empty, put in that state before grabbing (film.mjs takes the same
flags): --files "input[type=file]=demo/clip.mp4" loads a file into a tool, --prepare showcase/state.mjs runs export default async ({ page }) => { … } (log in, click through, fill in),
--ready ".result" waits for the outcome to show.
Grab the parts that carry an idea (a component with --selector, a region with --clip) at
--scale 3 or 4, not only whole pages: a full page shrunk into a frame is unreadable in a feed. A
component grabbed with --selector comes out cut out, transparent round its own corners and free of
its containers' borders: show it as a .plate.cutout. --isolate grabs it at its own size when the
page draws it scaled or clipped (an app shown at 0.8 inside an artboard). Animations are held still
first (entrances finished, loops at their start; --at 2.5 for another moment, --live to leave them
running). Look at every plate (open the image) before using it.
A product behind a login: ask for a demo account (--prepare signs in) or a local run with sample
data; otherwise use what its owners publish (the site, a case study) and say so when handing over.
A tool that works on files (a converter, an editor) needs something to work on. When nobody gives you files, use the brand's own media (its logo animation, its link card, the sample files it ships) so every number on screen is the tool's real output, and say what you used.
5. Direction
Read references/art-direction.md before laying anything out: it holds the bar and the reasons.
Skim references/shots.md for the compositions. Then write showcase/direction.md, briefly:
- The brand, as found: its colours (hex, and where each came from), typefaces, logo file, its own words you'll use. What's missing, and how you'll do without it.
- Shot list: for each shot, its id, size, field, composition, plates, and its one idea in a few words. Plan density: the board (everything), product moments, a detail, the quiet one.
- Films: kind (montage, walkthrough, loop, reveal), length, and the story in one line.
6. Build the set
Edit showcase/set.html: the brand's tokens in its :root, the brand's fonts (a Google Fonts link
or @font-face to files in the project), then one <section data-shot="id" class="shot SIZE FIELD COMPOSITION"> per shot. Inline the logo's SVG (fill="currentColor"). Copy markup from
references/shots.md; set anything particular inline (style="--plate-w: 64cqw").
Everything inside a shot is sized in cqmin/cqw/cqh (hundredths of the shot; inside a tile,
of the tile), so a composition holds at any size. On the shot element itself those units measure
the window instead: space it with var(--q) (a hundredth of its shorter side in px) or with
margins on its children, and never pad a shot.
7. Shoot, look, fix
node "$SKILL/scripts/shoot.mjs" showcase/set.html # every shot → showcase/out/<id>.png at 2×
node "$SKILL/scripts/shoot.mjs" showcase/set.html --only board # one shot (the sheet still shows them all)
Then look: open out/_sheet.png (the whole series at the size a feed shows it), then each shot
at full size, and go through references/review.md. Fix every warning (soft: plates, fonts that
fell back). Change the set, shoot again. At least two passes; the first is never the one to keep.
8. Film
Read references/motion.md first.
# A montage of the series in hard cuts, 4K (seconds to make):
node "$SKILL/scripts/montage.mjs" showcase/out/board.png showcase/out/editor.png showcase/out/detail.png --each 0.3
# The live product used by the cursor, the camera closing in, laid into a designed shot's .slot:
node "$SKILL/scripts/film.mjs" https://example.com --pick "#app" --moves showcase/walk.moves.json \
--zoom 1.5 --into showcase/set.html --slot walk --poster 4 --keep-raw
Each film comes with a strip of 12 evenly spaced frames (walk.strip.png): judge it there first.
Closeup films render frame by frame: 20 to 45 seconds of work per second of footage. Run them in
the background with a long timeout, try the moves on a short take first, and re-lay a kept take with
--take instead of filming again. Then pull a few frames and look at them (motion.md, "Checking
a film").
9. Hand over
Give each file's path and pixel size, one line on what each frame is for, what was missing from the
brand and how you handled it, and what would make the series better. Show the contact sheet and the
lead image if the session can show files. If a check in review.md still fails, say so.
Ground rules
- Render, don't rebrand: the brand's own logo, colours, type and words; no invented motifs.
- Show the real work: never invented screens, features or numbers; no lorem ipsum.
- No other company's trade dress (the kit's phone is a plain handset).
- Keep the set, the plates, the moves and
direction.md: the series is a source, not a one-off.
Files
scripts/grab.mjs: plates and brand facts from a URL or a file, in any state.scripts/shoot.mjs: every[data-shot]as a still at 2×, a contact sheet, warnings.scripts/montage.mjs: stills and clips cut into one film of hard cuts.scripts/film.mjs: a shot, or a live page laid into a shot, filmed with Closeup; ffmpeg finish.assets/set.html: the set to start from.assets/set.css: the kit (sizes, fields, plates, boards, compositions, type, motion).references/art-direction.md: the bar, and how to meet it. Read before laying out.references/shots.md: every composition, with markup.references/motion.md: montage, walkthroughs, loops, reveals, moves, timing. Read before filming.references/review.md: what to check before handing over.