prototype

Builds multiple divergent UI variants behind a keyboard-driven visual picker for live comparison.

Updated Aug 28, 2026
One-click install
npx skills add https://github.com/trobias/portfolio-nextjs-v2 --skill prototype-trobias
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prototype
Source: https://github.com/trobias/portfolio-nextjs-v2/tree/main/.agents/skills/prototype
Command: npx skills add https://github.com/trobias/portfolio-nextjs-v2 --skill prototype-trobias

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing a UI direction from a single static mockup or verbal description is guesswork. This Skill builds several genuinely different working versions of a described UI piece and renders them behind a floating picker so you can flip through them live in a browser and promote the one that feels right. ## Core Features & Use Cases - Divergent Variant Generation: Creates 3-5 variants that each explore a named, distinct axis (layout, density, personality, motion, interaction model) rather than minor restyles of one idea. - Standardized Picker Harness: Ships a fixed dark-glass picker with sliding highlight, keyboard shortcuts (1-N, arrows, R to replay), and URL-persisted selection, usable as an isolated route in a project or a standalone HTML file. - Safe Promotion Workflow: Keeps all exploration out of production code, then integrates only the winning variant following project conventions and deletes the prototype surface. - Use Case: You need a toast notification for your dashboard. Describe it, get Quiet, Editorial, and Playful variants running side by side in the picker, flip through them with arrow keys, then promote the winner into your codebase. ## Quick Start Ask the agent to prototype three variants of the UI piece you describe, for example: prototype a hold-to-delete button for the settings page.

Frequently Asked Questions about prototype

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare multiple UI design variants in a browser?▼

Describe the UI piece you want explored, and the skill builds 3-5 working variants rendered one at a time behind a floating picker. Flip between them with number keys or arrow keys, then promote the winner into your codebase.

How do I prototype a UI component without touching production code?▼

All variants live on an isolated prototype surface, either a dedicated route like /prototypes/<slug> in your project or a standalone HTML file. Nothing imports from the prototype into production, and the surface is deleted after you pick a winner.

Can I use this UI prototyping workflow without an existing project?▼

Yes. When no project or dev server exists, the skill produces a single self-contained HTML file with inline CSS and JavaScript that opens directly in a browser, using a restrained default look with neutral grays and one accent.

What keyboard shortcuts does the prototype variant picker support?▼

Number keys 1 through N switch directly to a variant, left and right arrows cycle through variants, and R replays the current variant's entrance animation. Selection persists across reloads via a ?v= URL parameter.

When should I not use divergent UI variant prototyping?▼

Skip it when reviewing or fixing existing UI, since this skill only explores new directions for a described piece. It also narrows multi-component requests to a single highest-leverage piece per run rather than prototyping whole pages at once.