← Back to Articles
AI 9 min read

Impeccable: How I Used an AI Design Skill on This Site

The first version of this site looked like every other AI-built page. Impeccable, a design skill for coding agents, gave Claude Code a brief, a list of patterns to refuse and a set of review commands. Here is what it is, how I used it PR by PR, how it maps to real standards, and when to pick something else.

I am a data engineer, not a designer. When I built this site with Claude Code, the first version looked like every other AI-generated page: a dark navy theme, Inter with a serif display font, a teal accent, a grid of identical icon cards, glowing boxes and a pulsing "live" dot. Nothing was broken. It was just generic, and for a personal site, generic is the bug.

Impeccable is the tool that changed that. It did not replace design judgment. It gave the agent and me a shared vocabulary for what was wrong, and a process for fixing it in small steps.

What Impeccable is

Impeccable is an agent skill by Paul Bakaus, Apache 2.0, that "started from Anthropic's frontend-design skill." It is a folder of markdown instructions and a few Node scripts that a coding agent loads when it works on a frontend. It works with Claude Code, Cursor, Codex CLI, GitHub Copilot, Gemini CLI and others. In this repo it lives in .agents/skills/impeccable/, linked into .claude/skills/, and pinned by hash in skills-lock.json so every machine gets the same version.

It works in four layers:

  • Project context first. Before editing anything, the agent loads PRODUCT.md (users, brand personality, anti-references, principles) and, if present, DESIGN.md (tokens, type, components). If PRODUCT.md is missing, it interviews you to write one. It also classifies the work as brand (the design is the product: landing pages, portfolios, content sites) or product (the design serves the product: dashboards, app UI) and loads different rules for each.
  • Shared design laws. Opinionated defaults: color in OKLCH, no pure black or white, neutrals tinted toward the brand hue, a deliberate color strategy. Light or dark is never a default; you write one sentence about who reads the page, where and in what light, and let that decide. Body text capped at 65 to 75 characters per line. Varied spacing instead of the same padding everywhere. No em dashes in copy.
  • Absolute bans. Patterns the agent must refuse and rewrite: colored side-stripe borders, gradient text, glassmorphism by default, the big-number "hero metric" template, identical icon, heading and text card grids, and modals as a first thought. A list of overused fonts gets rejected too, and a "category reflex" check asks whether someone could guess your palette from your industry alone.
  • About two dozen commands. critique and audit evaluate; polish, distill, quieter, bolder and harden refine; layout, typeset, colorize and animate improve one dimension; clarify, adapt and optimize fix copy, responsiveness and speed; shape agrees a design brief before any code; live lets you pick an element in the browser and see generated variants. There is also a deterministic detector, npx impeccable detect, with 62 rules for common AI-design tells in the current release.

The detail that made it safe on a live site: evaluate commands only report, and refine commands change code. You see the findings before anything moves.

Step one: a brief, not code

The most useful file in the repo turned out to be PRODUCT.md. I wrote down who reads this site (mid-to-senior data professionals, often arriving from LinkedIn), the personality (expert, sharp, approachable) and, most usefully, three anti-references, looks I did not want:

  • Generic tech startup: purple gradients, glassmorphism, floating blobs, hero metrics.
  • Developer portfolio: terminal-dark, monospace used as decoration.
  • Dry consulting: navy and gold, stock photos, generic "thought leadership" tone.

Five principles follow, including "editorial, not developer" and "practice what you preach: a data expert's site should be clean, structured, and precise." Every critique after that was judged against this page, not against the agent's taste.

How it went, PR by PR

I did this working with Claude Code: I wrote the brief, chose between directions and reviewed every change; Claude Code ran the Impeccable commands, wrote the fixes and opened the PRs.

A left-to-right flow on a plum background with five numbered steps: Brief (PRODUCT.md, anti-references), Evaluate (critique or audit, reports only, highlighted), Fix in phases (bugs first, then identity), Polish (final pass, small diffs) and Write it down (CLAUDE.md, design rules). A dashed arrow loops from Write it down back to Evaluate, labelled: next change, the agent starts from the written rules.
Brief first, evaluate before changing anything, fix in small phases, then make the rules permanent.
  • First pass (May 2026, #19). An editorial serif for headlines, visible focus rings, a prefers-reduced-motion rule, and a mobile menu that was simply missing: below 768px the navigation disappeared with no replacement.
  • Audit (September, #37). audit scored the site about 13 out of 20, with nothing at the two most severe levels. The fixes: skip links, ARIA labels on searches and navs, aria-pressed on filters, a new control-border color at 3:1 contrast, 44px touch targets on phones, fonts loaded with <link> and preconnect instead of a CSS @import, and the banned patterns removed (side-stripe borders, emoji icons, em dashes in titles, card grids turned into ruled lists).
  • Layout (October, #153). Home "looked like one block." layout came back with three directions and mockups; I picked a thin rule between sections with deliberately varied spacing (48, 56 and 24px), because equal spacing everywhere was the problem.
  • Critique, phase 1: bugs (#155). critique found real defects: on a 1280x640 laptop screen, Home scrolled past its own hero on load, because a fact card moved keyboard focus on every render. The Reddit toggle and the news ticker could not be used from the keyboard.
  • Critique, phase 2: identity (#156). Inter and DM Serif Display are both on the skill's overused-font list, so the site moved to Public Sans and Source Serif 4. Out went the decorative dots, glowing shadows and two pulsing animations competing for attention. Six identical category tiles became a quiet row of links. I compared two full directions side by side before any code changed.
  • Polish (October, #157). The last pass found a new hero button that duplicated the site's existing button component, and one link row missing the 44px touch-target rule. Six lines changed.

In December the site moved to its current look, "the schematic": warm ivory, one deep violet accent, plum for dark technical sections, and a visual language borrowed from the Data Architecture map. That direction was mine, not the skill's. It was still built inside Impeccable's rules: one solid accent and never a gradient, every text color checked at 4.5:1 or above, and any structural device on a page has to encode something true, like a real count.

What I learned

  • Phase the critique. Bugs and accessibility first, identity second, polish last. Three small PRs are easy to review; one big redesign is not.
  • Verify before fixing. The critique claimed the weekly game had the same focus bug as the fact card. It did not; the game code already guarded against it. Checking first saved a "fix" to code that worked.
  • The rules apply to the agent too. In #153 Claude Code added small uppercase labels above each section title. The next critique flagged that exact shape as an AI-design tell, and #156 removed them. The skill catches its own agent's habits.
  • Write the decisions down. A skill only helps while it is loaded. Every finding went into CLAUDE.md and the design-system rule (tokens with their contrast ratios), so the next task inherits the decisions without running the critique again.

How it maps to real standards

Impeccable is not a standard. It is an opinionated layer over a few real ones, and it helps to know which part is which. The measurable parts come from standards bodies; the taste parts are the author's opinions, well argued but still opinions.

  • Accessibility. WCAG 2.2 at level AA asks for 4.5:1 contrast for normal text, 3:1 for large text and for controls, keyboard access and visible focus. Its target-size rule is 24 by 24 CSS pixels at AA and 44 by 44 at AAA. Impeccable's audit scores this; this site writes AA into PRODUCT.md and uses 44px targets on phones.
  • Design tokens. Named variables for color, type and spacing, with a shared format from the W3C Design Tokens Community Group, whose first stable version (2025.10) shipped in October 2025. Impeccable's extract and document pull tokens out of your code. Here every color is a CSS variable and hardcoding is not allowed.
  • Usability review. Nielsen's 10 usability heuristics are the classic checklist. critique scores against heuristics and adds persona walkthroughs and the detector.
  • Performance. Google's Core Web Vitals: page content visible within 2.5 seconds (LCP), responses to input within 200 milliseconds (INP), and layout shift of 0.1 or less (CLS). Impeccable's motion rule, never animate layout properties, protects the last two.

Two cautions. An agent's contrast numbers are estimates until a tool checks them. And the "AI slop" list protects against what models over-produce today; it will change as models change. Treat it as current taste, not permanent law. That is why this site also runs checks that involve no model at all: a smoke test and a Playwright interaction test in headless Chrome on every PR.

When to use it, and when not

Impeccable fits best when an agent writes your frontend, nobody on the team is a designer, and you want the result to look intentional. Its home ground is brand work: personal sites, landing pages, content sites, docs. Other options, and when I would pick them:

  • Anthropic's frontend-design skill for a one-off page or prototype. It is lighter and shares the anti-generic spirit, without the commands, audit or project memory.
  • A component library and design system (shadcn/ui, Material, IBM Carbon) for product apps with many screens, where tested, accessible components and consistency matter more than a distinctive look.
  • A designer working in Figma, with the agent implementing their spec, when the brand matters enough to pay for one. Impeccable then becomes a reviewer of the code the agent writes.
  • Prompt-to-app builders (v0, Lovable, Bolt) for throwaway prototypes, when you are testing an idea, not building a brand.
  • Automated checkers (axe, Lighthouse, Playwright) always, next to any of the above. They find defects; they never improve a design.

If you already have a mature design system, don't let Impeccable fight it: use audit, harden and clarify, and skip the taste commands like bolder and colorize. For a dense data dashboard, use the product register and a component library.

The brief does the work

The skill is good, but the brief is what made it work. Without PRODUCT.md, Impeccable would have given this site a better generic look. With it, every critique had something concrete to measure against. Write the brief first, evaluate before changing anything, fix in small phases, and keep real checks in CI: the skill brings taste, the tests bring proof.

Further reading