Skills Prompts Hues

Popular categories

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

  1. 1
    Map 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.

  2. 2
    Assemble 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.

  3. 3
    Add 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.

  4. 4
    Inspect 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.

  5. 5
    Report, 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/skills

Commands 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

Also in this pack

All 19 skills →

Summary by trendhub. The skill itself lives in emilkowalski/skills/skills/break-ui by Emil Kowalski (MIT); read the full, current text there.