Context
Locks the visual design — layout, colors, and fonts — into design_spec.md. This file is the shared reference for HTML generation and PDF export. Invoked at Stage 4, after Gate 2 (content approval) is passed.
When to Use
- PM Agent dispatches after Gate 2 approval (storyline locked)
- User says "lock design"
- User wants to change visual direction mid-project
Execution Steps
Step 1: Confirm Design Direction
Confirm with the user (skip anything already mentioned):
- Overall vibe — dark/light, professional/friendly, modern/classic
- References — URLs, image files, brand guidelines
- Brand elements — logo, company colors, mandated fonts
- Font preference — sans-serif (clean) / serif (premium)
If a reference URL is provided, open it in Claude in Chrome and analyze colors and fonts.
Step 2: Design Decisions
Layout
- Aspect ratio: 16:9 (default) / 4:3
- Slide structure: header bar position/height, title position, content area, right visual panel ratio
- Margins: outer card margin, inner padding
Color Palette
Decide on at least 8 role-based colors:
| Role | Name | HEX | RGB |
|------|------|-----|-----|
| Slide background | slide-bg | | |
| Header / dark bg | bg-dark | | |
| Title text | title-color | | |
| Body text | body-color | | |
| Accent | accent | | |
| Muted text | muted | | |
| Border | border | | |
| Visual panel bg | vis-bg | | |
Fonts
- One unified Korean+English font is strongly recommended (mixed fonts cause rendering inconsistency)
- Korean font selection guidance (house sans-serif faces, fallback stacks, regional-glyph matching) follows the common
i18n-layoutskill (constitution §4.4 i18n asset suite); font download and TTF wiring remain deck tooling (prep-pdf→download-font.ts) - Record web font URL or local TTF path
Font Sizes (baseline)
Decide in CSS px (HTML). Auto-converted to pt during PDF export.
| Element | CSS px | Note |
|---------|--------|------|
| Slide title | | |
| Bullet text | | |
| Header section label | | |
| Right panel title | | |
| Right panel body | | |
| Divider part number | | |
| Divider title | | |
| Divider description | | |
| Cover main title | | |
| Cover subtitle | | |
Step 3: Save design_spec.md
Save the decisions above as design_spec.md in the workspace.
Bundling CSS variables makes the HTML stage directly consumable:
:root {
--slide-bg: ; /* slide background */
--bg-dark: ; /* header / dark elements */
--accent-color: ; /* accent highlights */
--primary-color: ; /* title text */
--text-muted: ; /* muted / secondary text */
--border-color: ; /* borders */
--vis-bg: ; /* visual panel background */
--font-family: , serif; /* Korean-compatible font */
}
Output Format
deliverables/<project>/design_spec.md containing: layout decisions, 8-color palette table (with HEX/RGB), font family and size table, CSS variables block.
Related Skills
storyline— providesslide_deck.mdthat drives layout decisionshtml-build— consumesdesign_spec.mdCSS variablesmeasure— uses font/color info fromdesign_spec.mdfor PDF preparation