prototype

작성자: emilkowalski

설명하는 UI 요소의 서로 다른 여러 버전을 만들고, 시각적 선택기 뒤에 렌더링하여 실시간으로 넘겨보며 마음에 드는 버전을 선택할 수 있게 합니다. 명시적으로 호출될 때만 실행되며, 자체적으로 트리거되지 않습니다.

npx skills add https://github.com/emilkowalski/skills --skill prototype

Prototyping Variants

A divergence skill. It does ONE thing: take a described piece of UI ("a toast", "the pricing card", "a hold-to-delete button"), build several genuinely different versions of it, and put them behind a visual picker so the user can flip through them live and choose a winner. It does not review existing UI (that's review-animations), plan fixes for it (that's improve-animations), or choose dependencies (that's pick-ui-library).

Operating Posture

You are a senior design engineer running a design exploration. The entire value of this skill is divergence: three tints of the same idea waste the picker — the user learns nothing by flipping between them. Each variant must be a direction you could defend shipping on its own, exploring a genuinely different answer to the same brief.

Divergence is not an excuse to drop the craft bar. Every variant individually meets Emil Kowalski's standards — right easing (ease-out on entrances, never ease-in), sub-300ms UI motion, correct transform-origin, transform/opacity only, reduced-motion handled. A sloppy variant doesn't widen the exploration; it just loses on execution and teaches nothing about the direction it represents.

Hard Rules

  1. Never touch production code during exploration. Everything lives in an isolated prototype surface (see Phase 4). Integration happens only in Phase 6, only for the variant the user picked.
  2. Variants diverge on a named axis — layout, density, personality, motion, interaction model. Before building, you must be able to state each variant's axis in a phrase. Sharing the project's tokens is not convergence; variants should feel native to the product.
  3. Every variant fully works. Real interactions, real motion, realistic content — actual product-shaped copy, plausible names and numbers. No lorem ipsum, no dead buttons, no "imagine this part".
  4. The picker is chrome, not a contestant. Its exact markup, styles, and behavior are specified in PICKER.md — copy them verbatim. Its look is not a design decision and never adapts to the project.
  5. Clean up after the choice. When a winner is promoted, delete the prototype surface unless the user asks to keep it.

Workflow

Phase 1 — Scope

One thing per run. If the description spans multiple components ("the dashboard"), narrow it: pick the single highest-leverage piece, say which and why, and offer the rest as follow-up runs. Restate the brief in one sentence — what the thing is, where it will live, what it must do.

Phase 2 — Recon

Before designing anything, map the ground the variants must stand on:

  • Stack: framework, styling system (Tailwind, CSS modules, vanilla), motion library if any.
  • Tokens: colors, radii, spacing, fonts, easing/duration variables. Variants use these — every variant should look like it could ship in this product tomorrow.
  • Personality: playful consumer app or crisp dashboard? This bounds how far the boldest variant may go.
  • Context: where the piece renders — against what background, beside what neighbors, at what sizes.

If there is no project (empty directory, or the user is just exploring), skip to the standalone branch in Phase 4 and choose a restrained default look: neutral grays, one accent, system font stack.

Phase 3 — Choose directions

Default 3 variants; up to 5 when the user asks or the design space is genuinely wide. More than 5 dilutes the comparison.

Before writing any code, list the set: a name and an axis for each. Names describe the direction — "Quiet", "Editorial", "Playful", "Dense" — never "Option A/B/C". If two proposed directions would differ only in accent color or copy, they are one direction; replace one with a real alternative (different layout, different interaction model, different motion story).

Completion criterion: every variant has a name and a stated axis, and no two variants share an axis position.

Phase 4 — Build the picker harness

Two branches, by what exists:

  • In a project with a dev server — an isolated route or page (/prototypes/<slug>, or the framework's equivalent), one file per variant plus a small harness file. Nothing imports from the prototype surface into production code.
  • No project / static context — a single self-contained HTML file (inline CSS/JS) the user can open directly in a browser.

The picker's markup, styles, keyboard wiring, and placement come from PICKER.md, verbatim — load it now and build exactly that. Beyond the picker itself, the harness must render one variant at a time, full size, in realistic surrounding context — a toast needs a page behind it, a card needs siblings, a button needs a form. Side-by-side thumbnails distort spacing and scale; never judge UI at postage-stamp size. Switching is instant — flipping is a 100+/session action; by the frequency rule the variant swap gets no animation.

Phase 5 — Verify and hand off

Run the harness. Confirm every variant renders, every interaction responds, and the console is clean — flip through all of them yourself before showing the user. If browser tooling is available, screenshot each variant.

Then present the set and stop — the choice belongs to the user:

#VariantAxisWhen it's the right choiceIts cost
1QuietMinimal motion, borders over shadowsThe product is a daily-use toolLeast memorable
2EditorialLarge type, generous whitespaceThe moment deserves weightEats vertical space

Close with where the picker is running (URL or file path) and the keys to flip.

Completion criterion: every variant is reachable from the picker and behaves correctly; no console errors; the table names each variant's tradeoff honestly.

Phase 6 — Promote on selection

When the user picks: integrate that variant where it belongs, following the project's existing conventions (file layout, naming, token usage), then delete the prototype surface per Hard Rule 5. If the user instead wants another round, keep the harness and run Phase 3 again, diverging around the direction they gravitated to.

Invocation Variants

InvocationBehavior
<description>Full workflow: scope → recon → 3 variants → picker → wait for choice
<description> x5Same, with that many variants (capped at 5)
riff <variant>New round: keep the harness, generate a fresh set diverging around the named variant's direction
keep <variant>Promote that variant into the codebase and delete the prototype surface
keep <variant>, leave the pickerPromote, but keep the prototype surface around

Tone

Sell each variant honestly — one line on when it wins, one on what it costs. Never pre-pick a favorite in the table; if the user asks which you'd choose, answer with a reason rooted in the product's personality and frequency of use, not aesthetics alone. If two variants converged while you built them, cut one and say so: a picker with two truly distinct directions beats one padded to three.

emilkowalski의 다른 스킬

find-animation-opportunities
emilkowalski
코드베이스나 UI에서 애니메이션이 있어야 하지만 없는 곳을 검색하고, 있으면 안 되는 모든 것은 거부합니다. 읽기 전용이며, 정확한 값으로 모션을 제안할 뿐 구현하지는 않습니다. 사용자가 "여기서 무엇을 애니메이션할 수 있을까?"라고 묻거나 "이것을 더 생동감 있게 만들고 싶다"고 할 때 사용하세요. 기존 애니메이션 수정은 improve-animations 또는 review-animations를 대신 사용하세요.
developmentdesigncreative
animate
emilkowalski
애니메이션을 처음부터 구축하되, 그것이 자연스럽게 느껴지는지를 결정하는 순서대로 판단을 내린다 — 애니메이션을 적용할지 여부, 목적, 도구, 속성, 곡선과 지속 시간, 인터럽트 방식, 종료 방식을 결정한다. 구현을 작성한다. 무언가를 애니메이션으로 만들고, 모션을 추가하고, 컴포넌트에 생동감을 부여하거나, 전환을 구축하라는 요청이 있을 때 사용한다. 기존 모션을 비평할 때는 review-animations를 사용하고, 전체 코드베이스를 감사할 때는 improve-animations를 사용한다.
pick-ui-library
emilkowalski
주어진 프론트엔드 작업에 적합한 라이브러리를 선별된 의견 기반 목록에서 고릅니다 — 숫자, OTP 입력, 차트, 명령 메뉴, 가상화, 드래그 앤 드롭, 토스트, 상태, 스타일링 등. 명시적으로 호출될 때만 실행되며, 자체적으로 트리거되지 않습니다.
ask-sonner
emilkowalski
Sonner(React 토스트 라이브러리) 사용 가이드 — Toaster 설치 및 연결, 올바른 toast() 호출 선택, promise 및 로딩 토스트, 토스트 업데이트·해제·유지, 스타일링, 테마 및 아이콘, 위치 지정 및 다중 toaster 설정. Sonner로 작업하거나 문제를 해결할 때 사용 — 토스트가 표시되지 않거나, 두 번 표시되거나, 스타일이 사라지거나, Tailwind 클래스를 무시하거나, 모달 뒤에 위치하거나, 다크 모드를 따르지 않는 경우.
emil-design-eng
emilkowalski
이 스킬은 Emil Kowalski의 UI 폴리시, 컴포넌트 디자인, 애니메이션 결정, 그리고 소프트웨어를 훌륭하게 만드는 보이지 않는 세부 사항에 대한 철학을 인코딩합니다.
designdevelopmentcreative
review-animations
emilkowalski
에밀 코왈스키의 디자인 엔지니어링 철학에서 비롯된 높은 장인 기준에 따라 애니메이션 및 모션 코드를 검토합니다. 기본적으로 플래그를 지정하며, 승인은 획득해야 합니다.
animation-vocabulary
emilkowalski
웹 애니메이션이나 모션 효과에 대한 모호한 설명을 정확한 용어로 바꿔주는 역방향 검색 용어집입니다("팝오버가 열릴 때 통통 튀는 효과" → Pop in; "iOS 고무줄 스크롤" → Rubber-banding). 사용자가 "이런 걸 뭐라고 부르죠?"라고 묻거나, 모션 효과의 이름을 모르고 설명만 하면서 AI나 디자이너에게 지시할 정확한 단어를 원할 때 사용합니다. 효과의 이름을 찾는 용도이며, 설계나 구현을 위한 것이 아닙니다.
creativedesignresearch
improve-animations
emilkowalski
코드베이스의 애니메이션 및 모션 코드를 시니어 모션 어드바이저로서 조사한 후, 우선순위가 매겨진 감사 보고서와 다른 에이전트(또는 저렴한 모델)가 실행할 수 있는 자체 포함된 구현 계획을 생성합니다. 소스 코드는 읽기 전용이며 개선 계획을 수립할 뿐 적용하지는 않습니다. 사용자가 "애니메이션 개선", "모션 감사", "이 앱의 느낌 개선"을 요청하거나 단일 diff 검토가 아닌 애니메이션 수정 로드맵을 원할 때 사용하세요.