squint

An agent skill that makes Claude Code, Codex, and other coding agents build UI where every element earns its place, and then try to break it before they ship.

npx skills add realhasanshoaib/squint
Claude drew every frame and synthesized every sound of this video in JavaScript.

Why

AI-built UI looks AI-built: a purple gradient, "Welcome back", icon tiles, a badge on every row, and a glowing Submit button. A list of banned patterns doesn't fix it, because the next screen is never on the list.

So squint gives the agent principles with tests it can run, such as "if removing it loses nothing, remove it" and "blur the screenshot and name the first three things you see". For anything its examples don't cover, the agent applies the principle. Then, before it reports, it tries to prove its own work wrong.

What it checks

Try to break it

The last step makes the agent attack its own work instead of approving it. Each attack is a hypothesis it can fail: no data, a thousand items, the longest translation, keyboard only, a failed request. For risky changes, a judge model from a different family reviews the evidence without the builder's reasoning. Fixes get retested, and the report lists what failed first.