Extracts design tokens (colors, typography, spacing, shadows) from any public URL and generates a DESIGN.md with evidence-backed observations. Requires awwwards MCP and Playwright.
Ships in awwwards-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Build a DESIGN.md plus a machine-readable design-evidence.json from a single public page. The document is a cited subset of what was observed, not an official brand system or the site's original source tokens.
Require:
http(s) URL;Supported inputs:
url: required, absolute public http(s) URL
outDir: optional, default current directory
viewport: desktop (default) or mobile
One URL and one viewport per run. No crawling, login, authenticated pages, asset downloads, or automatic motion recording.
If publicOnly is unavailable on the installed awwwards-mcp version, stop.
Do not replace it with an unguarded capture. The skill requires the guarded
capability added for arbitrary public URLs.
Use full-profile tools. For the v2 surface, use the equivalents in
v2-routing.md; do not mix profiles.
export_design_tokens with publicOnly:true,
selector:"body", the requested viewport, and maxNodes:800.
A refusal is final: report BLOCKED_DESTINATION or INVALID_URL.analyze_page_structure with publicOnly:true,
maxBands:20, and the same viewport.capture_live_site with publicOnly:true,
inline:false, and the same viewport. Inspect the saved image yourself
before writing visual claims.capture_component with publicOnly:true,
maxNodes:150, maxDepth:12, and compact:false. Do not guess selectors
that the structure capture did not show.DESIGN.md using the template below and
design-evidence.json using the evidence contract.Do not continue after a failed guard, robots block, navigation failure, or missing required evidence. Report the failure instead.
Classify every material statement:
Never label inferred/proposed values observed. Never claim:
Every design value in the document needs a claim in the sidecar with:
{
"id": "color-1",
"value": "#111111",
"classification": "observed",
"artifactId": "tokens",
"path": "/tokens/colors/0",
"property": "color",
"viewport": "desktop",
"state": "default",
"method": "computed-style aggregate",
"sampleCount": 37,
"limitations": []
}
path is a JSON pointer into the captured tool response or a node path in a
component pack. It is not a guaranteed reusable CSS selector.
Use this exact section order. Keep the YAML front matter valid.
---
version: alpha
name: <site title or host>
description: <one sentence: what this page appears to be>
colors: {}
typography: {}
rounded: {}
spacing: {}
components: {}
---
## Overview
<What was observed. One paragraph. Cite sources inline as [S1], [S2].>
## Colors
<Observed palette with counts. Distinguish page background, text, accents.>
## Typography
<Families, weights, sizes, line heights, letter spacing. Do not merge
independently aggregated values into a heading style unless a component
capture proves that tuple.>
## Layout
<Section bands, max widths, spacing rhythm, grid/flex evidence.>
## Elevation & Depth
<Shadows, borders, overlays, z-index evidence. Omit with a reason when absent.>
## Shapes
<Radii, borders, icon/button shapes.>
## Components
<Up to three components. For each: observed selector, node path, size,
typography tuple, colors, spacing, border/radius/shadow, states actually seen.>
## Do's and Don'ts
<Only rules grounded in observed evidence or clearly marked proposals.>
## Sources
- [S1] `export_design_tokens` — `<redacted URL>` — `<capturedAt>` — `<artifactId>`
- [S2] `analyze_page_structure` — ...
- [S3] `capture_live_site` — `<saved file>`
- [S4] `capture_component` — `<selector>` — `<node path>`
## Coverage and limitations
<What was not observed; mobile/dark/hover/state gaps; truncation; blocked
resources; robots/auth restrictions.>
## Unresolved details
<Values the evidence cannot establish. Never fill these with guesses.>
Keep DESIGN.md at or below 24 KiB UTF-8.
{
"schemaVersion": "awwwards-design-evidence-v1",
"requestedUrlHash": "<sha256 of the requested URL>",
"redactedFinalUrl": "<origin+pathname>",
"capturedAt": 0,
"viewport": "desktop",
"toolVersion": "<installed awwwards-mcp version>",
"captures": [
{
"id": "tokens",
"tool": "export_design_tokens",
"artifactId": "tokens",
"capturedAt": 0,
"sha256": "<sha256 of the canonical tool JSON>",
"artifactPath": "tokens.json",
"coverage": "<complete|partial|unknown>",
"limitations": []
}
],
"claims": [],
"omissions": [],
"validation": {
"documentBytes": 0,
"sidecarBytes": 0,
"localValidator": "pass",
"googleLint": "not-run"
}
}
Every capture record must correspond to a real tool response saved next to the
sidecar (artifactPath); its SHA-256 must match that file, and every claim
path must resolve in the saved response. Keep the sidecar at or below
256 KiB. Never embed screenshots as base64 in Markdown; reference the saved
file path.
From the installed skill directory:
node scripts/validate-design-md.mjs DESIGN.md design-evidence.json
The validator needs Node 22+, Python 3, and PyYAML
(pip install pyyaml), because it parses the front matter with a real YAML
parser instead of guessing. If Python/PyYAML is unavailable, use Google's
linter below as the YAML check and keep the rest of the manual review.
Optional Google-format validation:
npx --yes --package="@google/design.md" designmd lint DESIGN.md
Lint success proves document structure, not extraction accuracy. Manually check at least ten emitted values against the tool responses and screenshot.
Return a short failure report, not a document, for:
INVALID_URL — not absolute public http(s);BLOCKED_DESTINATION — private/loopback/metadata/reserved host;ROBOTS_DISALLOWED or ROBOTS_UNAVAILABLE — when the MCP reports it;PAGE_BLOCKED or TIMEOUT;create_design_brief as a substitute: it takes Awwwards slugs
and synthesizes direction, not arbitrary-URL source evidence.get_design_md tool or claim one exists.DESIGN.md from memory or from the screenshot alone.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/awwwards-atlasUse when working with the experimental Atlas section/component evidence layer in awwwards-mcp 1.19+ - enabling AWWWARDS_MCP_ATLAS, importing or capturing Atlas evidence, searching sections/components, reading regions or status, exporting local evidence packs, or maintaining the Atlas cache. Atlas is opt-in, off by default, and its labels are candidate-only./awwwards-doctorUse when awwwards-mcp scraping or tools stop working — BlockedError, "layout may have changed" parser errors, empty results, failed captures, stale searches — or when the user reports the MCP behaving oddly. Guides running the doctor/drift/index scripts, applying their fixes, re-anchoring parsers after real awwwards.com drift, and recovering the in-flight task that surfaced the failure./awwwards-/awwwards-skills:awwwards-design-mdfrom awwwards-skills
awwwards-skills@giofornari is listed by giofornari/skills — review the source before installing
npx claudepluginhub giofornari/skills --plugin awwwards-skills