Skills Agentes

Prototype

Construye varias versiones genuinamente distintas de una pieza de UI descrita, mostradas en un picker visual para navegarlas en vivo y promover la elegida. Solo se activa si se invoca explícitamente.

Estrellas
39.8k

en todo el repo

Actividad
54

0–100, la ruta de este skill

Actualizado
hace 3 meses

último commit aquí

Commits
1

últimos 90 días

Contexto
1.9k tok

61 tok en reposo

Paquete
2 archivos

15 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add emilkowalski/skills --skill prototype --agent claude-code

Se instala solo en este repositorio.

Qué hace

  • Genera varias versiones genuinamente distintas de una pieza de UI descrita por el usuario
  • Monta un picker visual para navegar en vivo entre las variantes
  • Construye cada variante como una ruta aislada o un HTML autocontenido, sin tocar código de producción
  • Al elegir un ganador, integra esa variante siguiendo las convenciones del proyecto y borra el prototipo

Úsalo cuando

  • Cuando el usuario describe una pieza de UI concreta ('un toast', 'la tarjeta de precios') y quiere explorar direcciones distintas
  • Cuando se pide explorar varias opciones de diseño antes de decidir cuál implementar

No lo uses cuando

  • Para revisar UI ya existente (eso lo hace review-animations)
  • Para planear arreglos sobre UI existente (eso lo hace improve-animations)
  • Para elegir dependencias o librerías de UI (eso lo hace pick-ui-library)

Qué lo activa

Di cualquiera de estas frases y el agente debería cargar este skill.

  • “Prototipa 3 versiones distintas de un botón de mantener-para-borrar”
  • “Genera variantes de la tarjeta de precios y déjame elegir con un picker”
  • “riff Editorial”
  • “keep Quiet, leave the picker”

SKILL.md

En inglés

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:

# 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.

Reproducido de emilkowalski/skills bajo licencia MIT. Leer esta página en markdown.

Archivos

2 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

Antes de instalar

Solo se activa cuando se invoca explícitamente; no se dispara por sí solo.

Detalles

Categoría
Diseño y UI
Licencia
MIT
Recursos incluidos
Incluye scripts o referencias
Código fuente
Ver SKILL.md

Más de emilkowalski/skills

Este repo incluye 12 skills. Si instalas uno, normalmente ya tienes los demás. Ver el pack skills entero y su comando de instalación

Animate

39.8k

Construye una animación desde cero, decidiendo en orden si debe animarse, con qué propósito, con qué herramienta, propiedades, curva y duración, cómo se interrumpe y cómo sale; escribe la implementación.

Costo de contexto al activarse
2.9k tok
Tamaño del paquete
2 archivos
Última actualización
hace 2 meses
diseno ui

Cómo escribir Swift moderno bien: modelado con value types, seguridad ante data races de Swift 6, concurrencia accesible, protocolos y genéricos, diseño de API, rendimiento, ARC, Swift Testing y macros.

Costo de contexto al activarse
10.5k tok
Tamaño del paquete
1 archivo
Última actualización
hace 2 meses
herramientas desarrollo

Construye animaciones en React Native y Expo decidiendo si debe animarse, en qué hilo corre, spring o timing, y cómo degradar el gesto; implementa con Reanimated, Gesture Handler, Expo Router y expo-haptics.

Costo de contexto al activarse
4.4k tok
Tamaño del paquete
2 archivos
Última actualización
hace 2 meses
herramientas desarrollo

Guía sobre Sonner, la librería de toasts para React: instalación del Toaster, elección de la llamada toast() correcta, promise/loading, actualización, estilos, temas, posicionamiento y solución de problemas.

Costo de contexto al activarse
1.7k tok
Tamaño del paquete
2 archivos
Última actualización
hace 3 meses
herramientas desarrollo

El enfoque de Apple al diseño de interfaces y al movimiento fluido y físico, traducido a la web: gestos, springs, materiales, tipografía y accesibilidad.

Costo de contexto al activarse
5.7k tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 meses
diseno ui

Revisa código de animación y motion contra un estándar de craft alto basado en la filosofía de diseño de Emil Kowalski; por defecto señala problemas, la aprobación se gana.

Costo de contexto al activarse
2k tok
Tamaño del paquete
2 archivos
Última actualización
hace 3 meses
testing qa

Skills relacionados

Crea arte algorítmico con p5.js, aleatoriedad con semilla y exploración interactiva de parámetros. Úsalo cuando pidan arte por código, arte generativo, flow fields o sistemas de partículas.

Costo de contexto al activarse
4.9k tok
Tamaño del paquete
4 archivos
Última actualización
hace 6 meses
Oficialdiseno ui

Aplica los colores y la tipografía oficiales de la marca Anthropic a cualquier artefacto que pueda beneficiarse de su look-and-feel. Úsalo cuando apliquen colores de marca o estándares de diseño.

Costo de contexto al activarse
559 tok
Tamaño del paquete
2 archivos
Última actualización
hace 6 meses
Oficialdiseno ui

Crea arte visual en documentos .png y .pdf partiendo de una filosofía de diseño. Úsalo cuando pidan un póster, una pieza de arte, un diseño u otra pieza estática.

Costo de contexto al activarse
3k tok
Tamaño del paquete
83 archivos
Última actualización
hace 6 meses
Oficialdiseno ui