prototype

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

Updated Jul 15, 2026
One-click install
npx skills add https://github.com/Alex918-stack/papertrader --skill prototype-alex918-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prototype
Source: https://github.com/Alex918-stack/papertrader/tree/main/agent/skills/prototype
Command: npx skills add https://github.com/Alex918-stack/papertrader --skill prototype-alex918-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing a UI direction from a single static mockup 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 real, interactive variants and promote the one that feels right. ## Core Features & Use Cases - Divergent Variant Generation: Creates 3-5 fully functional variants of a component, each exploring a distinct axis such as layout, density, personality, motion, or interaction model. - Fixed Picker Harness: Renders variants behind a spec-locked dark pill picker with keyboard shortcuts (1-N, arrows, R to replay), URL-persisted selection, and instant variant switching. - Isolated Prototype Surface: Keeps all exploration out of production code via an isolated route or a self-contained HTML file, then integrates only the winning variant and cleans up. - Use Case: You need a toast notification for your Next.js dashboard. Invoke the Skill with "a toast notification" to get Quiet, Editorial, and Playful variants running at /prototypes/toast, flip through them live, then promote the winner into your codebase. ## Quick Start Ask the AI to prototype three variants of a hold-to-delete button behind the picker so you can compare them live.

Frequently Asked Questions about prototype

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

FAQPage Schema
How do I prototype multiple UI variants of one component?

Describe a single UI piece, such as a pricing card or toast, and the Skill builds 3-5 divergent variants behind a floating picker. Flip between them with number keys or arrows, then promote the winner into your codebase.

How do I compare design directions without touching production code?

All variants live on an isolated prototype surface, either a dedicated route like /prototypes/<slug> or a self-contained HTML file. Nothing imports into production code, and only the variant you pick gets integrated.

Can I use the variant picker in a Next.js or React project?

Yes. In a framework, the picker's class names and structure stay identical, but behavior is expressed idiomatically with state, keyed re-mounts, and refs instead of the vanilla JS reference wiring.

What keyboard shortcuts does the prototype picker support?

Number keys 1-N switch directly to a variant, left and right arrows cycle through them, 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 prototyping?

Skip it when reviewing or fixing existing UI, since this Skill only explores new directions for a described component. It also narrows multi-component requests to one piece per run, so full-page redesigns need multiple runs.