Documentation
Engines
Four tools that run on your machine, offline. They measure; they do not decide what is beautiful.
Intent model
Reads a brief into eleven design axes:
lightness chroma temperature contrast hue spread energy formality density expressiveness technicality era
It is a 4.5 MB distilled embedding model (a 128-dimension student of a larger teacher) with no network calls. It describes the average reading of a brief, which is the point: the agent learns what the typical page for this brief would be, the palette it would reach for, and the clichés the category invites, so it knows what to beat. /unparalleled intent "<brief>" prints it.
Audit
A deterministic audit written in Rust and compiled to WebAssembly, so it runs inside the skill with nothing to install. Same input, same report.
| Dimension | Checks |
|---|---|
| Contrast | WCAG 2.2 ratios and APCA Lc for declared and same-rule pairs, composited over alpha. Ratios are floored, so 4.499 never passes. |
| Typography | Modular-scale fit, distinct sizes, body and minimum size, line height, fluid clamp() display sizes, display tracking. |
| Spacing | Grid adherence, distinct values, the range between section and component rhythm. |
| Colour | Raw colour literals outside tokens, pure black or white, off-palette colours, and the category and house palettes. |
| Motion | transition: all, layout-property animation, missing reduced-motion paths, scroll-driven animation without fallbacks. |
| Interaction | Detects Lenis, GSAP, ScrollTrigger, Barba, Framer Motion and Three.js; checks reduced-motion branches, Lenis↔ScrollTrigger sync, focus on route changes, wheel hijacking. |
| Accessibility | lang, zoom lock, alt text, accessible names, labels, heading order, landmarks, skip link, autoplay, focus outlines, reflow. |
| Copy | Buzzwords, reading grade, sentence and headline length, value statement, vague calls to action, unsourced proof, title and meta. |
| Negative space | From screenshots: ink coverage, empty cells, side-margin balance, whitespace bands and their regularity. |
Repeats of one rule collapse into one finding, so the report reads as decisions. Scores are arithmetic (blocker 40, major 15, minor 5) and say nothing about design quality. A public page that was never captured cannot pass.
Capture
Opens the page in a real browser at five widths, scrolls it with the wheel so scroll-driven scenes run, and measures what a code check cannot see. The craft checks were calibrated on five award-level reference sites.
| Check | Flags |
|---|---|
display-timid | The largest type is under 80 px at desktop. |
boxed-ui | More than two outlined boxes per 1000 px of page. |
hero-visual-weak | Real imagery covers less than a third of the first view. |
split-hero | The default text-left, picture-right opening. |
asset-poor | Too few real images for the length of the page. |
wireframe-placeholder | Grey boxes or placeholder art left in. |
motion-sparse | Fewer than six moving elements per 1000 px over a scroll pass. |
diagram-labels-tiny | Five or more diagram labels under 11 px on a phone. |
page-weight | The first load is heavier than 8 MB. |
It also records small touch targets, long line lengths, competing focal points and runtime errors. --kind ui switches to application-screen rules.
Color Intelligence
An offline palette engine. It turns weighted aesthetic terms into role-based palettes and certifies declared foreground and background pairs against WCAG 2.2, for the exact sizes they are used at, with APCA as supplementary guidance.
npm run color:setup # creates the Python environment and writes .mcp.json
npm run color:doctor # prints model, vocabulary and catalog factsIt needs Python 3.11 or newer and no network at runtime. Agents use it through MCP (generate_palette, analyze_palette, search_palettes and more) or a CLI fallback.
What they cannot do
- Certificates cover declared opaque sRGB pairs only. A rendered page still needs pairs measured in the browser.
- Aesthetic similarity scores are uncalibrated, and no bundled palette has an independent human aesthetic approval.
- No score, check or certificate says a design is good. Rendered review and your decision do.