К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot

prototype · emilkowalski — скилл для Claude Code: что делает и как установить

Скилл собирает несколько по-настоящему разных вариантов одного куска UI и ставит их за визуальный пикер: переключаете на ходу и выбираете тот, что нравится больше.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add emilkowalski/skills --skill prototype -a claude-code
Открыть на GitHub

Что делает prototype

Скилл берёт описание одного куска интерфейса: тост, карточку тарифа, кнопку удаления с удержанием. На один такой запрос он собирает несколько вариантов, по умолчанию три. Каждый расходится с остальными по названной оси: раскладка, плотность, характер, анимация или модель взаимодействия. Три оттенка одной идеи считаются провалом, потому что выбирать между ними нечего.

Работа идёт в изолированной поверхности: страница вида /prototypes/ в проекте с dev-сервером либо один HTML-файл со встроенными стилями и скриптом, если проекта нет. Вариант показывается целиком и в реальном окружении: тосту нужна страница за спиной, карточке — соседи. Переключение мгновенное, с клавиатуры. Разметка и клавиши пикера заданы в PICKER.md и под проект не подстраиваются. Продакшн-код при этом не трогается.

Планка качества действует на каждый вариант: ease-out на входах, движение короче 300 мс, только transform и opacity, учтён prefers-reduced-motion. После выбора победитель переносится в проект по его конвенциям, прототипная поверхность удаляется. Запускается скилл только вручную и сам не срабатывает. Ставить стоит, если вы перебираете направления для одного компонента; готовый UI он не ревьюит и не чинит.

Какие задачи решает

  • сравнить три разных подхода к одному тосту и остановиться на одном
  • посмотреть варианты карточки тарифа в полном размере и в окружении, а не на миниатюрах
  • перебрать модели взаимодействия для кнопки удаления с удержанием
  • проверить входную анимацию при включённом reduced-motion
  • перенести выбранный вариант в проект и убрать прототипную поверхность

Примеры запросов агенту

  • Собери прототип тоста: три варианта, покажи в пикере
  • Сделай прототип карточки тарифа в `/prototypes/pricing`, варианты разведи по плотности
  • Покажи варианты кнопки hold-to-delete и подожди, пока я выберу

Как установить prototype

1Через Skills CLI (Vercel)

npx skills add emilkowalski/skills --skill prototype -a claude-code

2Вручную: положить файлы

~/.claude/skills/prototype/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/prototype/

Из того же набора15

Весь набор →
emil-design-eng emilkowalski Скилл задаёт правила для полировки интерфейсов, компонентов и анимаций. Пригодится, когда UI работает, но требует более точных состояний и переходов. Claude Code CX Codex Cursor +1 385 500установок review-animations emilkowalski Проверяет код интерфейсных анимаций по принципам Эмиля Ковальски. Помогает убрать дерганые переходы, медленный ease-in и лишнюю нагрузку на процессор. Claude Code CX Codex Cursor +1 254 100установок apple-design emilkowalski Переносит принципы физического интерфейса Apple с докладов WWDC в веб на CSS, Pointer Events и Motion. Пригодится при верстке жестов, шторки и прерываемых пружин. Claude Code CX Codex Cursor +1 242 100установок animation-vocabulary emilkowalski Скилл подбирает точный термин для описанной веб-анимации. Пригодится, когда эффект нужно понятно назвать для промпта или дизайнера. Claude Code CX Codex Cursor +1 236 900установок improve-animations emilkowalski Скилл проводит ревизию анимаций в кодовой базе и составляет готовые планы доработок. Помогает найти неудачные тайминги и прыгающие элементы, не меняя код напрямую. Claude Code CX Codex Cursor +1 222 000установок find-animation-opportunities emilkowalski Ищет в коде и интерфейсе места для уместной анимации, а лишние варианты отбрасывает. Подходит для проверки идеи «сделать интерфейс живее». Claude Code CX Codex Cursor +1 206 800установок pick-ui-library emilkowalski Скилл подбирает библиотеку под конкретную задачу фронтенда по списку Эмила Ковальски: тосты, графики, OTP-поля, виртуализация, drag and drop. Запускается только по явному вызову. Claude Code CX Codex Cursor +1 183 400установок animate emilkowalski Создаёт анимации интерфейса с нуля по принципам Эмиля Ковальски. Пригодится при верстке переходов или оживлении компонентов. Claude Code CX Codex Cursor +1 170 400установок

Другие версии prototype

Похожие

turborepo vercel Настраивает монорепозитории с Turborepo и чинит пайплайны задач. Пригодится при правках turbo.json, кеширования или сборки в CI. Claude Code CX Codex Cursor +1 84 600установок vercel-react-view-transitions vercel Скилл помогает добавлять переходы между состояниями React через View Transition API. Подойдёт для маршрутов, общих элементов и появления компонентов. Claude Code CX Codex Cursor +1 166 700установок migrate-radix-to-base shadcn-ui Переводит компоненты и проекты React с Radix UI на Base UI (@base-ui/react). Пригодится при смене базовой библиотеки в проектах на shadcn/ui. Claude Code CX Codex Cursor +1 30 100установок hallmark Nutlope Задаёт жесткие правила верстки для веб-страниц, чтобы интерфейсы нейросетей не выглядели шаблонными. Нужен при создании нового дизайна или полном редизайне. Claude Code CX Codex Cursor +1 69 100установок frontend-design официальный anthropics Скилл задаёт осмысленное визуальное направление для новых интерфейсов и редизайна. Подойдёт, когда стандартный шаблонный UI не устраивает. Claude Code Claude.ai 1 025 790установок design-taste-frontend Leonxlnx Скилл задаёт арт-дирекцию для публичных страниц и рабочих экранов, а затем проверяет результат в браузере по скриншотам. Нужен, когда интерфейс выглядит шаблонным или недоработанным. Claude Code CX Codex Cursor +1 673 100установок prototype Matt Pocock Создаёт временный прототип, чтобы проверить логику, модель состояния или вид интерфейса до работы над основным кодом. Claude Code 986 201установок hyperframes heygen-com Скилл задаёт агенту правила рендера HTML-кода в видео через HyperFrames. Помогает собирать проморолики, эксплейнеры и титры прямо в коде проекта. Claude Code CX Codex Cursor +1 1 200 000установок

Вопросы о prototype

Как установить prototype в Claude Code?

Командой npx skills add emilkowalski/skills --skill prototype -a claude-code. Файл скилла окажется в ~/.claude/skills/prototype/SKILL.md.

Что делает скилл prototype?

Собирает несколько разных версий одного компонента, который вы описали, и выводит их по одной за визуальным пикером. Вы листаете варианты и выбираете подходящий.

Нужен ли проект с dev-сервером?

Нет. В проекте скилл делает изолированный маршрут вроде /prototypes/, а без проекта собирает один самодостаточный HTML-файл, который открывается прямо в браузере.

Исходный текст

SKILL.md · MIT
---
name: prototype
description: Build multiple genuinely different versions of a UI piece you describe, rendered behind a visual picker so you can flip through them live and promote the one that feels right. Only runs when explicitly invoked; it does not trigger on its own.
disable-model-invocation: true
---

# Prototyping Variants

## Initial Response

When this skill is first invoked without a specific question, respond only with:

> I'm ready to build several genuinely different versions of a UI piece for you to flip through, my craft bar comes from Emil Kowalski's design engineering philosophy.

Do not provide any other information until the user asks a question.

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](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](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**:

| # | Variant | Axis | When it's the right choice | Its cost |
| --- | --- | --- | --- | --- |
| 1 | Quiet | Minimal motion, borders over shadows | The product is a daily-use tool | Least memorable |
| 2 | Editorial | Large type, generous whitespace | The moment deserves weight | Eats 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

| Invocation | Behavior |
| --- | --- |
| `<description>` | Full workflow: scope → recon → 3 variants → picker → wait for choice |
| `<description> x5` | Same, 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 picker` | Promote, 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 · MIT · emilkowalski/skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой