Taste Lab is a Claude Code skill that performs design DNA extraction from any website URL. It belongs to the category of AI-powered design analysis tools, specifically built for designers, product teams, and AI agents who need to understand not just the visual tokens but the reasoning behind design decisions. The core value proposition is transforming a website's computed styles into an actionable design context file, combining a Design Map of every token with a Taste DNA analysis of the deliberate trade-offs behind each choice. This enables agents to make informed decisions instead of blindly copying numbers.
Tools that scrape design tokens only give raw numbers—background #08090A, font Inter, radius 6px—without explaining why those choices were made. Taste Lab solves this by extracting both the measurements and the deliberate decisions behind them, producing a trade-off chain for each principle. This matters because AI agents that only have tokens copy numbers without understanding context; an agent with taste knows what each decision meant and can make the right call on a page it has never seen. The result is a design context that captures the why, not just the what.
The analysis pipeline begins with Live Browser Capture: Playwright opens the page in a real browser with no cached sessions, taking a full DOM snapshot and screenshot at realistic viewport widths, such as 1440×900. This ensures the extraction sees the design as a user would, not a stale server-side render. Then Token Extraction parses every computed style across 20 measurement categories, including color palette, type scale, spacing rhythm, border radii, shadow stacks, grid columns, and breakpoints. The output is a complete, objective measurement set that forms the factual basis for pattern recognition, with every pixel and hex value cited exactly.
Pattern Recognition clusters the raw measurements into a coherent design system. For example, it finds the 6 real grays from 40 computed values, identifies the spacing base as 4px or 8px, and names the dominant typeface pairing. This step converts a list of values into system-level rules with an Evidence line and a Design Goal explaining why each pattern exists. The final step, Trade-off Analysis, asks what deliberate constraints make the design coherent. Each trade-off is stated as a Trigger → Decision → Reason → Evidence chain, avoiding vague adjectives like 'clean and modern' and instead citing specific pixel values and DOM evidence. At least one Restraint principle is required.
The output consists of two files: {domain}.md for humans and {domain}.json for machines. The markdown file contains a Design Map with every measured token and a Taste DNA section with 3–4 named trade-offs explaining why the design works the way it does. The JSON file is structured for programmatic use—every field typed, every token keyed consistently—ready to be dropped into Cursor rules, Figma Make prompts, Windsurf Cascade rules, GitHub Copilot instructions, or any agent workflow. Integrations are explicitly built for Claude Code (native /taste command), Cursor, Windsurf, Figma Make, GitHub Copilot, v0 by Vercel, Antigravity, Bolt, and Lovable. If it reads files, it works with Taste output.
admin
Taste Lab operates as a staged analysis pipeline with four distinct roles: Extract Measurements, Detect Patterns, Infer Taste, and Observe. The first agent extracts precise objective measurements from the webpage—every color, weight, spacing value, radius, and shadow cited with exact px/hex/ratio. The second agent, acting as a Principal Design Engineer, detects systematic rules, producing 5–8 patterns each with evidence and a design goal. The third agent, the Ultimate Design Critic, derives the Taste—the deliberate trade-offs—yielding at least 4 principles, each with Trigger, Decision, Reason, Evidence, and Trade-off. The final agent, the Lead Critic & Final Editor, ruthlessly filters the analysis using anti-slop grep, validates JSON, then writes the final output files. This multi-stage approach ensures depth and accuracy.
Designers can reverse-engineer a competitor's site to understand their design system and apply similar trade-offs to their own projects, gaining insights into why certain colors, spacings, and typographic choices were made. Product teams can feed taste.json into AI tools like Cursor and Figma Make to ensure generated designs stay on-brand with consistent spacing, color, and typography. Developers integrating AI agents can provide taste.md as context so that agents generate UI that respects the target design system's constraints. The outcome is that design generation becomes evidence-based: every decision is traceable to a real page, with specific measurements and trade-off reasoning, leading to more coherent and intentional designs.
Taste Lab is built for designers, frontend engineers, product managers, and AI/ML practitioners who work with design systems or agent-driven design generation. It runs as a skill for Claude Code (CLI, desktop app, VS Code extension, JetBrains) and also supports Gemini CLI. The tech stack requires Playwright MCP server and a real browser (Chromium ~100MB). It is open-source and free to use; installation is two steps via the GitHub repository. In summary, Taste Lab transforms any website into a complete design DNA file, giving AI agents the taste to make informed design decisions instead of blindly copying tokens. It turns design into something agents can understand and apply.
Designers looking to deconstruct and understand the design systems of leading websites. Frontend engineers and design system maintainers who need accurate token values and trade-off documentation. AI/ML practitioners building agent workflows that require design context for UI generation. Product teams using tools like Claude Code, Cursor, Windsurf, or Figma Make to enforce brand consistency in AI-assisted design. Design educators and researchers analyzing visual decision-making patterns.