break
Qué hace
Esta skill muestra una parte de la interfaz en todas las situaciones en las que podría aparecer, como textos muy largos o datos que faltan. Es para desarrolladores y diseñadores que quieren ver dónde falla un componente.
Cuándo usarla
- ✓Cuando quieres ver cómo gestiona un botón, un campo de formulario o una tarjeta textos muy largos o datos que faltan.
- ✓Cuando necesitas revisar un solo componente en busca de problemas visuales antes de publicarlo.
- ✓Cuando quieres un informe comparativo de cada escenario con los fallos resaltados.
Link de la skill
https://github.com/jakubkrehel/skills/blob/main/skills/break/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Pon a prueba mi campo de nombre de perfil y muéstrame todas las formas en que podría romperse en una página de pruebas.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill muestra el componente en una página temporal para cada escenario realista, como contenido largo o vacío. Después obtienes un informe con desplazamiento donde se marcan los problemas.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Break
This skill takes one component and renders it on a harness page under every scenario that can actually reach it. That page is the deliverable: a visual report the user scrolls through, every scenario side by side, with the breaks marked.
It observes rather than judges. A finding here is something that visibly broke on the page, named in the vocabulary of the domain skill that owns the fix. Reviewing code against a standard is interface-review and better-interface; exploring design alternatives is variant; working through a component's product states one at a time is state-machine.
Where variant insists on the real page, this skill isolates on purpose. You are not judging how the component looks in context. You are checking whether it defends itself when the content is worst-case.
The whole run is build, look once, report: minutes, not a session. Nothing in it justifies instrumentation, browser debugging or a second pass.
1. Scope one component
One component per run. "The settings page" is not a component; the profile form's text input is. Where the request spans several, list the candidates and ask which one to test.
Restate what the component is in one sentence: what it accepts, what it renders and where it will live.
2. Infer the scenarios from the component
Stress only what varies. A scenario earns a slot when the component accepts something that can take that shape in production. So read the component first: its props, its slots, its states and the data it renders.
scenarios.md holds the axes, the values on each and the cue that says whether an axis applies. Walk it against the component and keep only the axes whose cue matches. A text input gets content length and states, never item quantity. A static icon button with a fixed label gets container and environment, never long text.
Write the kept scenarios down before building, one line each. Then say which axes you dropped and why, in one line, so a wrong inference is cheap to catch.
3. Build the harness page
The harness page renders the component once per scenario in a single column, with a short text label above each instance.
A scratch route inside the app holds the real component, imported from the project and untouched. The route inherits the app's layout, fonts, global styles and providers for free.
Where the framework splits server from client components, the page is client code, "use client" in Next. Otherwise fixture data can silently vanish crossing that boundary, and the page renders empty.
Labels, container widths and fixture props are everything the page adds. No fonts or styles of its own, no simulated themes or token swaps, no probes. A component observed under any of those is a different component.
Feed scenarios as props and fixture data. The harness never imports production state, never wires to live data and production never imports from the harness.
4. Look once
Load the page once in a browser already at hand, skim every scenario top to bottom and note what visibly broke. "Text escapes the field's right edge", never "spacing feels tight". A predicted failure is not a finding.
With no browser at hand, say so and hand the URL over for the user to check. Launching, window-wrangling or debugging a browser is out of budget. When you skipped the look, the report is the URL and the scenario list, with no findings table and no page notes.
Then mark each break you did see on the page, a one-line note under that scenario's label, in a single edit. The page has to read as the report on its own.
5. Report what broke and stop
Report findings as a table, broken scenarios first:
| Scenario | Observed | Owner |
|---|---|---|
| One unbreakable 60-character string | Overflows the card, no wrap and no truncation | better-typography |
| Zero items | Blank region with no message | better-writing |
This skill owns no domain rules and issues no verdict.
"Everything survived" is a complete and useful report. Say which scenarios are on the page and where it is running, so the user can see every one themselves. End there rather than padding the result with preferences.
Do not fix anything unasked. On a request to fix, follow the owner skill's rules, then re-render the failing scenarios to confirm.
6. Leave the page up, delete it on request
The page is half the report, so it outlives the findings table. Leave it running. Delete it and its fixtures only when the user says they ar
Preguntas frecuentes
¿Cambia el código de mi componente?
La skill crea una página de prueba temporal para observar el componente. Las correcciones son un paso aparte.
¿Puede probar una página completa a la vez?
No. Trabaja con un componente cada vez, así que elige una parte de la página, como un solo campo de formulario.
¿La página temporal se queda en mi proyecto?
La página es temporal, así que pide a tu agente que la elimine cuando termines.
Detalles
Descripción original del autor
Renders a component you choose under every scenario that can reach it on a temporary page and stress tests it.
repo: jakubkrehel/skills
Popularidad
- Estrellas en GitHub
- 10 mil
- Posición en el ranking
- #11891
- Licencia
- MIT
- Actualizada
- 1/11/2026
Comentarios
- …
Más skills de este repositorio
better-accessibility
10 milRevisa y corrige problemas de teclado, foco, lector de pantalla, formularios y movimiento en una interfaz, según los estándares WCAG 2.2.
better-colors
10 milCrea y revisa sistemas de color generando paletas, nombrando tokens, convirtiendo formatos y midiendo el contraste.
better-interface
10 milRevisa una pantalla o un flujo completo en accesibilidad, diseño, redacción, tipografía, color y acabado, y luego ordena los problemas por prioridad.
better-layout
10 milOrganiza agrupación, alineación, orden de lectura y estructura adaptable, y comprueba que los diseños aguantan al redimensionarse o traducirse.
Skills parecidas
test-driven-development
311 milEnseña a tu agente a escribir primero una prueba que falle, verla fallar y después escribir el código más pequeño que la hace pasar, antes de construir cualquier función o corrección.
verification-before-completion
311 milEnseña a tu agente a ejecutar comprobaciones reales y leer su resultado antes de afirmar que una tarea, una corrección o una compilación está completa o en buen estado.
migrate-to-shoehorn
310 milSustituye los casts de tipo arriesgados de tus archivos de prueba por la librería shoehorn, para que las pruebas usen datos parciales y sigan pasando las comprobaciones de tipos.