prototype

Build throwaway logic or UI prototypes to answer design questions.

2|Updated Jul 25, 2026
One-click install
npx skills add https://github.com/ankaboot-source/boucle --skill prototype-ankaboot-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prototype
Source: https://github.com/ankaboot-source/boucle/tree/main/.jcode/skills/prototype
Command: npx skills add https://github.com/ankaboot-source/boucle --skill prototype-ankaboot-source

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Design questions about state models, business logic, or UI layouts are hard to settle on paper. This Skill produces throwaway, runnable prototypes that let you press buttons, watch state change, or flip between radically different UI variants before committing to real code. ## Core Features & Use Cases - Logic prototypes: Build a tiny interactive terminal app around a pure reducer, state machine, or function set to push edge cases by hand. - UI prototypes: Generate 3-5 structurally different variants of a page, switchable via a ?variant= URL param and a floating bottom bar with arrow-key cycling. - Capture workflow: Fold validated decisions into the real codebase and preserve the prototype on a throwaway branch as a primary source. - Use Case: Before rewriting a checkout flow, spin up three layout variants on the existing /checkout route, review them in the browser, pick a winner, and discard the rest. ## Quick Start Ask the agent to prototype three different layouts for the settings page so you can compare them in the browser.

Frequently Asked Questions about prototype

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

FAQPage Schema
How do I prototype a state machine before writing production code?

Build a small terminal app around a pure reducer or state machine with no I/O, then drive it with keyboard shortcuts that re-render the full state each tick. Keep the logic module portable so it can be lifted into the real codebase once validated.

How to compare multiple UI design variants on one page?

Render each variant as a separate exported component on the same route, gated by a ?variant= URL search param. Add a floating bottom bar with arrows to cycle variants, keeping existing data fetching intact.

Should a prototype use the real database or in-memory state?

Prototypes default to in-memory state with no persistence. Only touch a database if the question is specifically about persistence, and then use a scratch database or clearly marked local file.

When should I not write a throwaway prototype?

Skip prototyping when the question is already answered or when you start adding tests, error handling, and abstractions. A prototype that needs tests has become production code and should be written properly instead.

What happens to prototype code after a decision is made?

Fold the validated decision into the real code on the main branch, then commit the full prototype to a throwaway branch as a primary source. Leave a pointer to that branch on the implementation issue.