Interfaces that look chosen.
A design discipline for Claude Code. It writes the direction down before any CSS, flags default-looking choices right after each edit, and sends the result to a critic that didn’t write it.
node · bash · python3 · never overwrites your files
Or, as a Claude Code plugin:
- 1
export function Hero() { - 2
return ( - 3
<section className="bg-gradient-to-r from-purple-600 to-indigo-500"> - 4
<h1 className="font-extrabold">Supercharge your workflow</h1> - 5
<span className="animate-pulse rounded-full" /> - 6
<button className="transition-all">Get started ✨</button> - 7
</section> - 8
) - 9
}
Chosen, not defaulted.
A broken layout gets fixed because someone sees it. A default layout ships, because nothing is technically wrong with it. Slop is the sum of choices nobody made, so the kit names each one and writes down what replaces it.
− left to its defaults
+ with the kit
Decide first. Then write CSS.
Every piece of visual work walks the same four steps. The direction lives in DESIGN_MAP.md, and the session hook puts its Character and Signature back in front of the agent at the start of every session.
Brief/design-brief
Read the project, then ask once for what it can’t find: the product, who it serves, the one job of the screen, real competitors, the assets that exist. Write a subject inventory of 8–12 things only this product has.
Direction/direction · /brand-method
Five lines — Product, Character, World, Moments, Signature — and one idea sentence: “On this page, X becomes Y.” Then the token table. Then stop for your agreement.
Build/motion-craft · /logo · slop-scan · motion-gate
Implement against the map. Motion only where it carries meaning, with reduced-motion and hover guards. The scan hooks flag default-looking choices right after each edit.
Audit/slop-audit · design-critic
Screenshots at three widths, in both themes. Nine ordered passes from spacing to motion, then a fresh read by an agent that didn’t write the code.
They comment on the line. You make the call.
A pattern can’t tell a reflex from a choice the direction made on purpose, so the scan hooks warn and never block. A file with a reason can opt out with design-kit-allow-slop.
Six hooks · run by Claude Code, not by you
session-startSession start. Loads DESIGN_MAP.md and re-surfaces Character and Signature, or says the map is still the template.
adds contextprompt-routerEach prompt. Points “make it nicer” at the brief, and a visual task at the right skill.
adds contextslop-scanAfter an edit. Reflex gradients, transition-all, ambient pulse, heavy headings, emoji icons, hype copy. Names the file and line.
warnsmotion-gateAfter an edit. Animation with no reduced-motion guard in the file, and transitions on layout properties like width, top or margin.
warnsbranch-protectBefore git. Pushes to main or master, and force-pushes.
blocksblock-dangerous-commandsBefore a command. rm -rf on system paths, git reset --hard, git clean -fd, SQL TRUNCATE.
blocks
One skill per step, and a second read.
Nine skills, invoked with /skill-name, and three agents that review work they didn’t write.
Why not just ask it to make it look good?
A vague aesthetic ask gets the model’s average taste, and the model’s average taste is the template. “Make it premium” produces the same page for a law firm and a skate shop. What changes the output is a decision written down before the CSS, kept in front of the agent, and checked after every edit.
Why this kitWrite the direction first.
One command, from your product repo. Then run /design-brief in your next session and let it ask what it can’t find.
--dry-run shows every file it would touch