prototype
Qué hace
Esta skill explora una idea de interfaz creando varios diseños distintos y permitiéndote alternar entre ellos. Está pensada para diseñadores y desarrolladores que quieren comparar direcciones antes de comprometerse con una.
Cuándo usarla
- ✓Cuando quieres explorar varias direcciones para un botón, una tarjeta, una notificación u otra pieza de interfaz.
- ✓Cuando no puedes decidir entre enfoques de diseño y quieres verlos lado a lado.
- ✓Cuando quieres llevar una variante elegida al código base real.
Link de la skill
https://github.com/spree/spree/blob/main/.agents/skills/prototype/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea tres direcciones distintas para nuestra tarjeta de precios y déjame alternar entre ellas para elegir una.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente construye cada variante como una respuesta real y distinta al mismo encargo, sin tocar el código de producción durante la exploración. Presenta las variantes detrás de un selector y solo traslada la elegida al código base cuando la apruebas.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
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
- 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.
- 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.
- 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".
- 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.
- 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, verbat
Preguntas frecuentes
¿Cambiará mi código de producción durante la exploración?
No. Las variantes viven en un área de prototipos aislada hasta que eliges una.
¿Por qué las variantes deben ser realmente distintas?
Los pequeños retoques desperdician el selector, porque no aprendes nada alternando entre versiones casi idénticas.
¿Cada variante cumple el mismo nivel de calidad?
Sí. Cada variante se ajusta a los mismos estándares de movimiento, incluido el manejo del movimiento reducido.
Detalles
Descripción original del autor
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.
repo: spree/spree
Popularidad
- Estrellas en GitHub
- 16 mil
- Posición en el ranking
- #10878
- Licencia
- BSD-3-Clause
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
animate
16 milCrea una animación desde cero decidiendo primero si debe animarse, y después eligiendo su propósito, su tiempo y su curva antes de escribir el código.
animation-vocabulary
16 milConvierte una descripción vaga de una animación o de un efecto de movimiento en su nombre técnico exacto, para que sepas qué pedir.
apple-design
16 milLleva el enfoque de diseño fluido de Apple a la web, con gestos adaptables, movimiento tipo resorte, transiciones interrumpibles y movimiento reducido.
find-animation-opportunities
16 milBusca en una interfaz los lugares que se beneficiarían del movimiento y descarta el resto. Da una lista corta de sugerencias de animación concretas sin cambiar el código.
Skills parecidas
canvas
394 milPermite que tu agente muestre un widget visual alojado en un panel de Mac conectado y después ocultar el panel o moverlo a otra página.
control-ui
394 milAyuda a tu agente a organizar y resolver problemas de la interfaz de control de OpenClaw, incluidas las sesiones, los paneles y las Gateways conectadas.
diagram-maker
394 milAyuda a tu agente a crear diagramas claros en SVG, HTML o Excalidraw editable para procesos, arquitectura de sistemas y bocetos de pizarra.