prototype
Was er macht
Dieser Skill erkundet eine UI-Idee, indem er einige unterschiedliche Entwürfe erstellt und dich zwischen ihnen wechseln lässt. Er richtet sich an Designer und Entwickler, die Richtungen vergleichen wollen, bevor sie sich festlegen.
Wann du ihn nutzt
- ✓Wenn du mehrere Richtungen für einen Knopf, eine Karte, ein Toast oder einen anderen UI-Teil erkunden willst.
- ✓Wenn du dich nicht zwischen Gestaltungsansätzen entscheiden kannst und sie nebeneinander sehen willst.
- ✓Wenn du eine gewählte Variante in die echte Codebasis übernehmen willst.
Link zum Skill
https://github.com/spree/spree/blob/main/.agents/skills/prototype/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Entwirf drei verschiedene Richtungen für unsere Preiskarte und lass mich zwischen ihnen wechseln, um eine zu wählen.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent baut jede Variante als echte, eigenständige Antwort auf dasselbe Briefing und lässt den produktiven Code während der Erkundung unberührt. Er zeigt die Varianten hinter einem Auswahlfenster und übernimmt eine gewählte Variante erst in die Codebasis, wenn du zustimmst.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Ändert er während der Erkundung meinen Produktionscode?
Nein. Die Varianten liegen in einem getrennten Prototyp-Bereich, bis du eine wählst.
Warum müssen Varianten wirklich verschieden sein?
Kleine Abwandlungen verschwenden das Auswahlfenster, da du beim Wechseln zwischen nahezu gleichen Versionen nichts lernst.
Gilt für jede Variante dasselbe Qualitätsniveau?
Ja. Jede Variante erfüllt dieselben Bewegungsstandards, einschließlich der Behandlung reduzierter Bewegung.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 16k
- Platz im Ranking
- #10878
- Lizenz
- BSD-3-Clause
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
animate
16kBaut eine Animation von Grund auf, indem er zuerst entscheidet, ob sie überhaupt animiert werden sollte, und dann Zweck, Timing und Kurve festlegt, bevor er den Code schreibt.
animation-vocabulary
16kMacht aus einer vagen Beschreibung einer Animation oder eines Bewegungseffekts den genauen Fachbegriff, damit du weißt, wonach du fragen sollst.
apple-design
16kBringt Apples fließenden Designansatz ins Web, mit reaktionsschnellen Gesten, Federbewegung, unterbrechbaren Übergängen und reduzierter Bewegung.
find-animation-opportunities
16kDurchsucht eine Oberfläche nach Stellen, die von Bewegung profitieren würden, und verwirft den Rest. Liefert eine kurze Liste genauer Animationsvorschläge, ohne den Code zu ändern.
Ähnliche Skills
canvas
394kLässt deinen Agenten ein gehostetes visuelles Widget auf einem verbundenen Mac-Panel zeigen und das Panel danach ausblenden oder auf eine andere Seite verschieben.
control-ui
394kHilft deinem Agenten, die OpenClaw-Control-UI zu ordnen und zu prüfen, einschließlich Sitzungen, Dashboards und verbundener Gateways.
diagram-maker
394kHilft deinem Agenten, klare Diagramme als SVG, HTML oder bearbeitbare Excalidraw-Dateien zu erstellen, für Prozesse, Systemarchitekturen und Whiteboard-Skizzen.