본문으로 건너뛰기
Skillpedia
테스트10k · #11891

break

하는 일

이 스킬은 인터페이스 부품 하나를 나타날 수 있는 모든 상황에서 보여 줍니다. 아주 긴 텍스트나 빠진 데이터 같은 상황에서 컴포넌트가 어디서 실패하는지 보려는 개발자와 디자이너를 위한 것입니다.

사용하는 경우

  • ✓버튼, 양식 필드, 카드가 아주 긴 텍스트나 빈 데이터를 어떻게 처리하는지 보고 싶을 때.
  • ✓출시 전에 컴포넌트 하나의 시각적 문제를 확인하고 싶을 때.
  • ✓실패 항목이 강조된 모든 시나리오의 나란히 보기 보고서가 필요한 경우.

스킬 링크

https://github.com/jakubkrehel/skills/blob/main/skills/break/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/jakubkrehel/skills/blob/main/skills/break/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 프로필 이름 입력란을 스트레스 테스트하고, 테스트 페이지에서 깨질 수 있는 모든 방법을 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 긴 내용이나 빈 내용 같은 현실적인 시나리오마다 임시 페이지에 컴포넌트를 렌더링합니다. 그다음 문제가 표시된 스크롤 가능한 보고서를 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

자주 묻는 질문

이 스킬이 제 컴포넌트 코드를 바꾸나요?

스킬은 컴포넌트를 살펴보기 위한 임시 테스트 페이지를 만듭니다. 수정은 별도의 단계입니다.

페이지 전체를 한 번에 테스트할 수 있나요?

아닙니다. 한 번에 컴포넌트 하나만 다루므로, 예를 들어 단일 양식 필드처럼 페이지의 한 부분을 고르세요.

임시 페이지가 프로젝트에 남나요?

임시 페이지로 만들어졌으므로, 끝나면 에이전트에게 제거해 달라고 요청하세요.

상세 정보

작성자의 원본 설명

Renders a component you choose under every scenario that can reach it on a temporary page and stress tests it.

repo: jakubkrehel/skills

인기도

GitHub 스타
10k
순위
#11891
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬