prototype

Build throwaway HTML or UI prototypes to answer design questions.

9|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/Yassimba/loom --skill prototype-yassimba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prototype
Source: https://github.com/Yassimba/loom/tree/main/skills/prototype
Command: npx skills add https://github.com/Yassimba/loom --skill prototype-yassimba

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 prototypes that let you and stakeholders feel the answer before committing to real implementation. ## Core Features & Use Cases - Logic Prototypes: Build a single self-contained HTML file with free-play buttons and guided walkthrough scenarios that drive a pure reducer, state machine, or function set through edge cases — shareable with non-developers by double-click. - UI Prototypes: Generate 3-5 radically different UI variants on one route, switchable via a ?variant= URL param and a floating bottom bar with arrow-key cycling. - Capture Workflow: Fold validated decisions into real code while committing the prototype to a throwaway branch as a primary source. - Use Case: Before writing a checkout state machine, build a clickable HTML demo so a PM can discover that the "cancel after payment" transition feels wrong. ## Quick Start Use the prototype skill to build a clickable demo that tests whether my order state machine handles cancellation after payment.

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 implementing it?

Build a single self-contained HTML file with a pure reducer or state machine in one script block, free-play buttons for each action, and guided walkthrough tabs for edge cases. Anyone can open it by double-clicking, with no server or framework required.

How to compare multiple UI design variants in one app?

Render 3-5 structurally different variants on the same route, gated by a ?variant= URL search param, with a floating bottom bar to cycle between them. Keep existing data fetching intact and only swap the rendered subtree per variant.

Should a prototype include tests or error handling?

No. A prototype is throwaway code that answers one question, so tests, abstractions, and error handling beyond basic runnability are anti-patterns. Once the question is answered, rewrite the validated logic properly in the real codebase.

Can a logic prototype connect to a real database?

By default no — state lives in memory since persistence is usually what the prototype is checking, not a dependency. Only if the question explicitly involves a database should you use a scratch DB or local file clearly marked as disposable.

What happens to prototype code after the question is answered?

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