prototype

Build throwaway HTML or UI prototypes to answer design questions.

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/MSC72m/DevForge --skill prototype-msc72m
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prototype
Source: https://github.com/MSC72m/DevForge/tree/main/skills/prototype
Command: npx skills add https://github.com/MSC72m/DevForge --skill prototype-msc72m

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 press buttons, watch state change, or flip between UI variants so the real answer emerges before production code is written. ## Core Features & Use Cases - Logic Prototypes: Generate a single self-contained HTML file with free-play action buttons and tabbed guided walkthroughs that drive a pure reducer, state machine, or function set through edge cases, drivable by non-developers. - UI Prototypes: Render 3-5 radically different layout variants on an existing 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 itself to a throwaway branch as a primary source. - Use Case: A PM is unsure whether a checkout state machine handles cancel-after-payment. Use this Skill to build a shareable HTML demo where they click through the exact scenario and discover the flaw themselves. ## 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 writing production code?▼

Build a single self-contained HTML file with a pure reducer or state machine in one script block, free-play buttons per action, and guided walkthrough tabs for edge cases. Anyone can open it by double-clicking and drive the model without installing anything.

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 use a framework like React or plain HTML?▼

Logic prototypes should be one plain HTML file with inline CSS and JS so they survive being emailed and opened by double-click. UI prototypes follow the host project's existing framework and component library since they live on real routes.

When should I not write tests for prototype code?▼

Never add tests to a prototype; a prototype that needs tests is no longer a prototype. The code is throwaway by design, so skip error handling, persistence, and abstractions beyond what makes it runnable.

What happens to prototype code after the question is answered?▼

Fold the validated decision into the real codebase, then commit the full prototype to a throwaway branch as a primary source with a pointer on the implementation issue. The main branch keeps only the validated decision, not the prototype shell.