Agent skill · Emil Kowalski's Skills
/break-ui Stress-test components with realistic worst-case data
break-ui makes the agent act as the most awkward real user a component will meet. It lists every value the UI renders, builds a fixture of plausible worst cases next to the demo data, puts both behind a dev-only toggle and reports what broke at several widths, with a cause and CSS fix for each problem.
Works with
- Claude Code, Codex, Cursor and other agents
Used forDesign polish and animation
When to use it
- A list or card looks fine with sample names and you want to know how it handles real ones.
- You are about to ship a screen and want edge cases such as empty, single and very long lists checked.
- You need a reusable fixture that later changes can be tested against.
How it works
- 1Map rendered values
The agent tables every field the component shows with its source, type, length limit from schemas or migrations, and whether it is optional.
- 2Assemble the worst case
It builds one believable fixture that spreads long emails, one-letter names, missing fields and awkward counts across the visible rows, plus empty, one and large-list states.
- 3Add a toggle
It wires a Demo data / Worst case switch at the data boundary, persisted in the URL or inside a standalone HTML file, and never shipped to production.
- 4Inspect and match signatures
It checks the real container width, 320px, 200% zoom, dark mode and right-to-left, and maps each visible break to a known cause and fix.
- 5Report, then fix on request
It ranks breaks as Broken, Ugly or Fragile, lists open design decisions and what held up, and edits code only when you name the fixes.
What it steers the agent away from
- Testing with nonsense strings that designers dismiss as unrealistic
- Editing the component's markup to fake a break instead of changing the data
- Applying fixes before you have seen the report
Install this skill
It installs with the Emil Kowalski's Skills pack.
Claude Code, Codex, Cursor and other agentsThe skills CLI copies the skill folders into your agent's skills directory.
npx skills@latest add emilkowalski/skillsCommands come from the author’s README; check it for changes before you run them.
Questions
What kind of data does it use?
Values a real user could plausibly enter, or the actual limit from your validation schema or database column; if no limit exists it reports that as a finding.
Does the toggle end up in production?
No. It is gated to the dev environment or a prototype route, and the fixture is kept afterwards as a regression check unless you remove it.
More guides from Emil Kowalski's Skills
/animateBuild web animations that pass a strict motion reviewBuilds a single web animation by first checking whether it should move, then choosing tool, properties, curve, duration and exit.Read the guide →/improve-animationsAudit an app's motion and get executable fix plansAudits a codebase's motion by category and writes self-contained fix plans that another agent or cheaper model can carry out.Read the guide →/learn-tasteTurn your design corrections into rules agents followCollects the design corrections from a session and proposes each as a rule with its reason in DESIGN.md or as a lint check.Read the guide →/prototypeCompare genuinely different UI variants in a live pickerBuilds three to five clearly different versions of one UI piece, shows them in a switcher and moves your pick into the codebase.Read the guide →
Also in this pack
/animate-expoWrites React Native and Expo motion with Reanimated, Gesture Handler and haptics, keeping animation work on the UI thread.↗/animation-performanceDiagnoses dropped frames by naming the cause first, steering motion to transform and opacity and off a busy main thread.↗/animation-vocabularyTranslates a loose description of a motion effect into its precise name, so you can ask a designer or AI for it.↗/apple-designBrings ideas from Apple's WWDC fluid-interface talks to the web: instant response, springs, momentum, materials and typography.↗/ask-sonnerExplains setting up, styling and troubleshooting the Sonner toast library, from toast.promise calls to toasts hidden behind modals.↗/choreographCoordinates several moving elements, deciding order, overlap and what stays still so staggers and entrances read as one motion.↗/find-animation-opportunitiesProposes up to a handful of places that would benefit from motion, with exact values, and rejects the rest without editing code.↗/gesturesBuilds drags, swipes and sheets that follow the pointer 1:1, then hand off release velocity to a spring.↗/pick-ui-libraryRecommends one library from a curated list for a frontend task, checking package.json before suggesting anything new.↗/remove-animationsDeletes or reduces animations that fail a purpose and frequency test, then cleans up the code they leave behind.↗/review-animationsReviews motion code in a diff against ten strict standards and flags anything that has not earned approval.↗/write-swiftGuides modern Swift through value types, Swift 6 concurrency, some versus any generics, Swift Testing and performance work.↗
Summary by trendhub. The skill itself lives in emilkowalski/skills/skills/break-ui by Emil Kowalski (MIT); read the full, current text there.