/coleoni-break

Break it before your users do. Then make it hold.

Mockups get perfect content. Production gets a 60-character name, a German translation, a missing photo and someone with their text at 200%. The skill does all of that to the component in the real page, measures what broke, outlines it, and fixes the CSS at the cause.

npx skills add c0le0ni/skills --skill coleoni-break
View on GitHub
Claude Code, Codex, Cursor, Gemini CLI and more 14 scenarios Measured, not eyeballed Fixes the CSS at the cause
Real crops from the skill’s sheet, one per scenario, with the three that break (long, word, names) outlined in red and measured The real class diff in three files (segmented, inspector, slider) next to the fixed card holding the 42-letter word The card’s code row enlarged: the Copy code button over the HTML tab, the overlapping area hatched and measured, with the cause and the fix below
Example

My settings card, broken 14 ways.

I ran the skill on the settings card next to the grid on Loaders, my open source loader library, on a local copy of the site. 3 of 14 scenarios broke: longer text, a 42-letter word and accents with emoji pushed the buttons out of the card, up to 216px, and put Copy code on top of the HTML tab. After 8 lines of class changes, none did.

break.md
# Break test: arc
  [data-intro-card] > section

3 / 14 scenarios break.

- Text 3× longer: breaks.
  spills out of the component:
  button.relative.flex, 74px (+2)
- A word that won't wrap: breaks.
  spills out of the component:
  button.relative.flex, 216px (+3)
- Accents and emoji: breaks.
  spills out of the component:
  button.relative.flex, 40px (+2)
- Right to left: holds
- 320px screen: holds
- Text at 200%: holds
3 → 0scenarios breaking, of 14
216pxthe worst spill, measured
8lines of classes changed, in 3 files
1sheet with every crop
Scenarios

Fourteen things real content does.

Each one runs on a fresh load of the real page, against the component as it is, so a problem that was already there is counted once.

ScenarioWhat it does
Text 3× longerA long name, a long title, a real review
A word that won’t wrapA 42-letter word: URLs, emails, German
No textMissing data, a field nobody filled
TranslatedAccents everywhere and 40% more words
Huge numbersEvery number becomes 1,234,567.89
Accents and emoji“Zoë Ñúñez-O’Brien 🎂”, the name your form will meet
Images failEvery image and background broken
1 and 25 itemsThe list inside the component, nearly empty and full
Right to leftArabic, Hebrew
320pxThe smallest phone, or 400% zoom
Text at 200%The browser’s font size doubled; text in px is flagged
High contrast, dark modeWindows forced colors; the system in dark
How it works

Break, measure, fix, break again.

A screenshot of every case would be a lot to look at. The skill measures first, so the sheet shows where to look.

  1. Finds the component

    In the running app, a Storybook story or a page. One selector, the narrower the better.

  2. Breaks it 14 ways

    Changes the real DOM of the real page: same fonts, same CSS, same neighbors.

  3. Measures what broke

    Clipped text, texts on top of each other, content leaving the component, sideways scroll, text in px.

  4. Outlines and crops

    Every problem outlined in red, every scenario cropped, all on one sheet.

  5. Judges what is real

    A 60-letter product name is real. A 42-letter price is not, and it says so.

  6. Fixes, if you ask

    At the cause: fixed sizes, nowrap, absolute badges, fixed grids, px. Then runs again.

Install

One command, any agent.

The only package is playwright-core, installed by the agent on first use. It drives the Chrome or Edge you already have.

AgentClaude Code, Codex, Cursor…
Node.js18 or newer
Chrome or Edgealready on the machine
01Install
npx skills add c0le0ni/skills --skill coleoni-break
02Use it in your agent
/coleoni-break http://localhost:5173/menu .product-card
For your whole user, not just the project-g
Claude Code only-a claude-code
Codex only-a codex
Every Coleoni skillnpx skills add c0le0ni/skills
Examples

Any component that holds content.

It shows the sheet first. Code changes only when you say so.

Break a card in the running app.

/coleoni-break http://localhost:5173/menu .product-card

A component in Storybook, and fix it.

/coleoni-break the Card story, fix what breaks

Only the scenarios that matter here.

/coleoni-break checkout summary, translation and 320px only
Options

The engine, from the terminal.

scripts/break.mjs runs on its own too: node break.mjs page.html --select ".card" --out break-report.

OptionWhat it does
--select ".card"The component to break
--scenarios a,bOnly some scenarios: long, word, narrow…
--width 1280Desktop width; the narrow scenario is always 320
--lang en|ptLanguage of the sheet

Real content is coming. Let it come.

npx skills add c0le0ni/skills --skill coleoni-break