back home

Critly

liveweb, skills for Claude Code, Codex and Cursor, and a cli on npmsince 2026MIT

design concepts, skills and a check that help agents build better UI

critly is a design tool for building with agents. it's a library of design concepts, each with the rule, real numbers and a demo you can toggle, plus skills that let your agent build and review UI with them, and a check that measures the running app and fails with the fix named.

a quick look, made from real screens
design concepts, each with a demo
100
rules the check runs by default
15
agent skills, generated from the library
2

what it does

  1. a library you can try

    concepts across type, colour, spacing, motion, states, sound and performance, and now identity and marketing too, each with real numbers and an interactive demo.

  2. native apps too

    a mobile section for iOS and Android, with gestures, haptics, sheets, safe areas and the soft keyboard, for SwiftUI, Compose, Flutter and React Native.

  3. skills for your agent

    critly builds and reviews UI with the concepts, and critly-audit audits a whole app and sets up the check. before it picks a look, the agent builds two different first screens, compares them at real size and keeps the better one. this site was redone with them.

  4. a check it can't skip

    critly check opens your running app at phone and desktop widths, light and dark, and fails with the fix and the concept named, so an agent can't talk its way past it. a taste pass covers what no rule can fail, like how many boxes are on the first screen.

inside the app

direction firsta night bus app that looks like the bus's own destination blind. every value says which thing it came from.
the first screensay what it is, show the product, offer one next step. flip it to weak to see the difference.
a signature moveone move, big where people pause, and the everyday list stays plain.
the checkevery finding names the fix and the concept behind it, and exits 1.
on a phonethe same brief at 390px, in its hi-vis direction.

why I built it

writing code costs almost nothing now. design is the slow part. agents build UI that works but feels generic, with default easings, no states past the happy path, and off-scale spacing.

rules in a prompt get read once and forgotten. I wanted principles an agent actually uses while it builds, and a check it can't argue with.

built with

how it works

one source, two readers

concepts are MDX files. the same content builds the site for people and the skill files for agents, and a github action regenerates the skill whenever the content changes, so they never drift.

demos are the argument

each concept ships a wrong and a right version of the same component, so you feel the difference instead of reading about it.

one script, three places

the check's rules are one file and one dependency-free script. the same script runs from the cli, inside playwright tests, and in an agent's browser tool, and every rule links back to its concept.