# Device Frame Collage Deck
A 6-10 slide deck at 1920 x 1080 on a warm paper canvas: serif headlines, a black phone frame with an island, a browser window overlapped by a phone, a tablet next to a watch, colored sticker chips, strips of tape and handwritten notes with drawn arrows pointing at the screens. Every frame is plain HTML and CSS, so no mockup images or frame downloads are needed. The user supplies the story and either screenshots or a description of each screen.
## Before you start
Ask only for what you do not already have. Everything else keeps its default.
1. What the deck is about: product name, one line on what it does, and 3-6 points to make (default: none, this is required).
2. Screens: screenshots to place in the frames, or a short description of each screen so you can draw a simple mock UI (default: mock UI from the description).
3. Style: `paper` (default, warm paper and terracotta) | `night` (dark canvas, light frames) | `sage` (soft green). Optional brand color for `--accent`.
## Deck contract
`references/deck-contract.md` fixes the page size, the type scale, the device frame sizes, the word budget per slide type and the collage rules. `references/template.html` is a worked 7-slide example (a fictional voice-journal app) that uses every frame and every collage piece. Every slide you make must pass the contract.
## Steps
1. **Brief** - write `outline.md`: one line per slide with its `data-type` from the contract and the point it makes. Every point the user gave appears on a slide; never pad to reach a number.
2. **Copy the kit** - copy `references/template.html` to `deck/deck.html` and `references/fonts/` to `deck/fonts/`. Screenshots go in `deck/screens/`.
3. **Build** - for each outline line, start from the template slide of the same type and replace its copy. Put a screenshot in a frame with `<div class="screen" data-screen><img src="screens/home.png" alt="..."></div>`, or edit the mock UI markup. Keep frame classes, sizes and the `--s` / `--r` ranges from the contract.
4. **Theme** - set `data-theme` on `<html>`; set `--accent` in `:root` if the user gave a brand color.
5. **Validate** - run `node scripts/check-deck.mjs deck/deck.html --shots deck/slides --pdf deck/deck.pdf`. Fix every FAIL: split a slide that is over budget, move a note that touches a device, scale a device up when its screen text is under 14 px.
6. **Deliver** - `deck/deck.html` (open it and use the arrow keys; add `?all` to see every slide), `deck/slides/slide-NN.jpg`, `deck/deck.pdf`, and a list of anything from the brief you left out and why.
## Rules
- Never shrink type to fit. Over budget means two slides.
- At most 3 devices per slide; tilt devices no more than 8 degrees.
- Handwritten notes are short (max 8 words) and each one has an arrow pointing at something real on the screen.
- Screenshots are cropped to the frame's aspect ratio with `object-fit: cover`; never stretch them.
- Frames are generic. Do not add a manufacturer logo, a brand name of a phone or computer, or a real operating system's status-bar icons beyond the simple ones in the template.
- Never invent facts, numbers, customers or quotes; use only what the user gave you. A quote slide needs a quote the user supplied.
- Everything stays local: fonts, screenshots and scripts sit next to the deck; no web fonts or CDN links.
## Check
- Run `node scripts/check-deck.mjs deck/deck.html`; every slide must print PASS (words within budget, text at least 24 px on the slide and 14 px inside devices, 56 px edge margin, nothing clipped, no covered copy, no request outside the folder).
- Open `deck/slides/slide-NN.jpg` one by one at full size: every frame sits straight on its shadow, no screen text is cut off, every arrow points at what its note names.
- Open `deck/deck.html` in a browser, step through with the arrow keys from first to last slide; the pieces pop in and nothing is clipped at 1920 x 1080.
- Switch `?theme=night` and repeat the checker once.
## Not for
- Data-heavy decks with charts and tables on most slides
- Editing existing presentation files such as .pptx or .key
- Photo-realistic 3D device renders or video walkthroughs
## References
- `references/deck-contract.md` - page size, type scale, frame sizes, word budgets, collage rules, theme tokens. Read before building.
- `references/template.html` - the worked example deck; copy slide types from it.
- `references/fonts/` - Newsreader (headlines), Inter (text and screen UI), Caveat (handwritten notes), all OFL.
- `references/third-party-notices.md` - font licenses.
- `scripts/check-deck.mjs` - measures every slide and exports JPGs, PDF and an optional click-through video (`--video out.mp4`).
## Inspiration
The layout idea (screens dropped into drawn device frames instead of searching for frame graphics) comes from a public post by Boris Cherny (@bcherny, October 2026). All frames, screens, copy and the example app here are original.
変数 スライド · ページ
使い方
使い方を選ぶ
ブラウザーの Studio で編集するか、自分の AI にインストールして自由に制作。
Studio 編集 フィールドを変更 書き出し。無料の対応パックはログイン不要。有料パックの編集・書き出しは購入またはメンバーシップが必要です。
Prompt / CLI / MCP / ZIP · API: 近日公開
インストール方法を選ぶ
AI へのインストールはすべてログインが必要。無料パックはログインのみ、有料パックは購入またはメンバーシップも必要です。
Prompt
ダウンロードと検証の手順を含むプロンプトを AI に渡します。
CLI
ログイン後、AI を選びインストールコマンドを実行。Node.js 22+ が必要です。
MCP
設定を追加して AI を再起動し、アカウント接続・検索・インストールを依頼。Node.js 22+ が必要です。
ZIP
ZIP を解凍し、SKILL.md を直下に含むパックフォルダーを AI のスキルディレクトリに置きます。