prototype
하는 일
사용자가 어떤 것이 어떻게 작동하거나 보여야 하는지에 대한 질문 하나에 답하도록 일회용 코드를 만듭니다. 실제로 만들기 전에 아이디어를 시험해 보려는 제품 담당자와 개발자를 위한 스킬입니다.
사용하는 경우
- ✓논리나 상태 모델이 자연스러운지 확인하고 싶을 때.
- ✓여러 가지 아주 다른 화면 버전을 비교하고 싶을 때.
- ✓무언가가 어떻게 작동해야 할지 확신이 없어서 먼저 시험하고 싶을 때.
스킬 링크
https://github.com/mattpocock/skills/blob/main/skills/engineering/prototype/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“결제 페이지의 레이아웃 세 가지를 볼 수 있도록 빠른 일회용 프로토타입이 필요합니다.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 질문에 따라 두 경로 중 하나를 고릅니다. 논리를 테스트할 공유 가능한 페이지나, 디자인을 보기 위해 전환 가능한 화면 여러 개입니다. 코드가 프로토타입임을 분명히 표시합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Prototype
A prototype is throwaway code that answers a question. The question decides the shape.
Pick a branch
Identify which question is being answered, using the user's prompt, the surrounding code, or by asking if the user is around:
- "Does this logic / state model feel right?" → LOGIC.md. Build a single shareable HTML file (free-play buttons plus tabbed guided walkthroughs) that pushes the state machine through cases that are hard to reason about on paper, and that a non-developer can drive.
- "What should this look like?" → UI.md. Generate several radically different UI variations on a single route, switchable via a URL search param and a floating bottom bar.
The two branches produce very different artifacts, so getting this wrong wastes the whole prototype. If the question is genuinely ambiguous and the user isn't reachable, default to whichever branch better matches the surrounding code (a backend module → logic; a page or component → UI) and state the assumption at the top of the prototype.
Rules that apply to both
- Throwaway from day one, and clearly marked as such. Locate the prototype code close to where it will actually be used (next to the module or page it's prototyping for) so context is obvious, but name it so a casual reader can see it's a prototype, not production. For throwaway UI routes, obey whatever routing convention the project already uses; don't invent a new top-level structure.
- Trivial to run. A UI prototype starts from one command in the project's task runner:
pnpm <name>,python <path>,bun <path>, etc. A logic demo is a single HTML file the user double-clicks. Either way, no thinking required to start it. - No persistence by default. State lives in memory. Persistence is the thing the prototype is checking, not something it should depend on. If the question explicitly involves a database, hit a scratch DB or a local file with a clear "PROTOTYPE, wipe me" name.
- Skip the polish. No tests, no error handling beyond what makes the prototype runnable, no abstractions. The point is to learn something fast.
- Surface the state. After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see what changed.
- Capture it when done. Fold any validated decision into the real code, then capture the prototype itself as a primary source: commit it to a throwaway branch, out of main, and leave a context pointer to that branch on the implementation issue. Capture the answer too (the verdict and the question it settled) in the issue or a commit. The main branch keeps only the validated decision.
자주 묻는 질문
프로토타입은 남기기 위한 것인가요?
아닙니다. 일회용 코드이며, 운영 코드로 오해되지 않도록 분명히 표시합니다.
두 경로는 어떻게 다른가요?
하나는 논리가 어떻게 동작하는지 한 파일에서 공유 가능하게 테스트하고, 다른 하나는 한 페이지에서 여러 인터페이스 버전을 보여 줍니다.
어느 경로를 골라야 할지 모르면 어떻게 하나요?
주변 코드를 기준으로 고르며, 그 가정을 프로토타입 맨 위에 적습니다.
상세 정보
작성자의 원본 설명
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
repo: mattpocock/skills
인기도
- GitHub 스타
- 310k
- 순위
- #105
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
ask-matt
310k에이전트가 아이디어에서 배포된 코드까지 이어지는 코딩 스킬 모음의 안내자가 되어, 상황에 맞는 스킬을 찾아 주도록 돕습니다.
code-review
310k마지막 기준점 이후 바뀐 내용을 저장소의 코딩 표준과 원래 명세에 나란히 비교해, 병합 전에 검토하도록 돕습니다.
domain-modeling
310k팀이 쓰는 용어를 담은 공유 프로젝트 용어집을 만들고, 중요한 설계 결정을 기록해 코드가 같은 단어를 쓰도록 돕습니다.
implement-spec
310k완성된 명세와 그 티켓을 작동하는 코드로 바꾸고, 티켓을 순서대로 처리한 뒤 하나의 브랜치에 모아 줍니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.