Style Extraction
Language Configuration
Before generating any content, check aico.json in project root for language field to determine the output language. If not set, default to English.
Process
- Get reference material:
- URL: Use Playwright MCP to take screenshot, then analyze
- Screenshot: Analyze directly
- Description: Generate tokens based on style keywords
- Extract systematically using the checklist below
- Save output: ALWAYS write to
docs/reference/frontend/design-system.md
Extraction Checklist
Colors
Typography
Spacing & Layout
Effects
Output Template
# Design System
## Colors
### Brand
- Primary: #xxx
- Secondary: #xxx
### Text
- Primary: #xxx
- Secondary: #xxx
- Muted: #xxx
### Background
- Page: #xxx
- Card: #xxx
## Typography
### Font Family
- Headings: "Font Name", sans-serif
- Body: "Font Name", sans-serif
### Font Size
- sm: 0.875rem
- base: 1rem
- lg: 1.125rem
- xl: 1.25rem
## Spacing
### Border Radius
- sm: 0.125rem
- md: 0.375rem
- lg: 0.5rem
## Effects
### Shadow
- sm: 0 1px 2px rgba(0,0,0,0.05)
- md: 0 4px 6px rgba(0,0,0,0.1)
Playwright MCP Usage
If user provides URL:
browser_navigate to URL
browser_take_screenshot (fullPage: true)
- Analyze screenshot for design tokens
Key Rules
- ALWAYS extract actual hex values from reference - don't guess
- MUST note shadows, borders, transitions
- ALWAYS save to
docs/reference/frontend/design-system.md
Common Mistakes
- ❌ Guess colors without checking → ✅ Extract actual hex values
- ❌ Skip subtle details → ✅ Note shadows, borders, transitions
- ❌ Ignore responsive differences → ✅ Document mobile vs desktop
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: yellinzero-aico-aico-frontend-style-extraction3description: Style Extraction4---56# Style Extraction78## Language Configuration910Before generating any content, check `aico.json` in project root for `language` field to determine the output language. If not set, default to English.1112## Process13141. **Get reference material**:15 - URL: Use Playwright MCP to take screenshot, then analyze16 - Screenshot: Analyze directly17 - Description: Generate tokens based on style keywords182. **Extract systematically** using the checklist below193. **Save output**: ALWAYS write to `docs/reference/frontend/design-system.md`2021## Extraction Checklist2223### Colors2425- [ ] Background colors (page, card, section)26- [ ] Text colors (primary, secondary, muted)27- [ ] Accent/brand colors28- [ ] Border colors29- [ ] State colors (success, warning, error)3031### Typography3233- [ ] Font families (headings, body, mono)34- [ ] Font sizes (scale from xs to 4xl)35- [ ] Font weights (normal, medium, semibold, bold)36- [ ] Line heights3738### Spacing & Layout3940- [ ] Border radius values41- [ ] Container max-width42- [ ] Section padding43- [ ] Component spacing scale4445### Effects4647- [ ] Shadows (sm, md, lg)48- [ ] Borders & dividers49- [ ] Transitions5051## Output Template5253```markdown54# Design System5556## Colors5758### Brand5960- Primary: #xxx61- Secondary: #xxx6263### Text6465- Primary: #xxx66- Secondary: #xxx67- Muted: #xxx6869### Background7071- Page: #xxx72- Card: #xxx7374## Typography7576### Font Family7778- Headings: "Font Name", sans-serif79- Body: "Font Name", sans-serif8081### Font Size8283- sm: 0.875rem84- base: 1rem85- lg: 1.125rem86- xl: 1.25rem8788## Spacing8990### Border Radius9192- sm: 0.125rem93- md: 0.375rem94- lg: 0.5rem9596## Effects9798### Shadow99100- sm: 0 1px 2px rgba(0,0,0,0.05)101- md: 0 4px 6px rgba(0,0,0,0.1)102```103104## Playwright MCP Usage105106If user provides URL:1071081. `browser_navigate` to URL1092. `browser_take_screenshot` (fullPage: true)1103. Analyze screenshot for design tokens111112## Key Rules113114- ALWAYS extract actual hex values from reference - don't guess115- MUST note shadows, borders, transitions116- ALWAYS save to `docs/reference/frontend/design-system.md`117118## Common Mistakes119120- ❌ Guess colors without checking → ✅ Extract actual hex values121- ❌ Skip subtle details → ✅ Note shadows, borders, transitions122- ❌ Ignore responsive differences → ✅ Document mobile vs desktop123124---125> Converted and distributed by [TomeVault](https://tomevault.io/claim/yellinzero) — claim your Tome and manage your conversions.126<!-- tomevault:4.0:skill_md:2026-04-13 -->