prototype

Build throwaway HTML or UI prototypes to answer design questions about logic or layout.

Updated Aug 11, 2026
One-click install
npx skills add https://github.com/Kunj-Sharma03/agent-contextify --skill prototype-kunj-sharma03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prototype
Source: https://github.com/Kunj-Sharma03/agent-contextify/tree/main/skills-main/skills/engineering/prototype
Command: npx skills add https://github.com/Kunj-Sharma03/agent-contextify --skill prototype-kunj-sharma03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Design questions about state models, business logic, or UI layout are hard to settle on paper. This Skill produces throwaway prototypes that let you press buttons, flip between variants, and feel whether a design actually works before committing real code. ## Core Features & Use Cases - Logic Prototypes: Generate a single self-contained HTML file with free-play buttons and tabbed guided walkthroughs 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 navigation, hidden in production builds. - Capture Workflow: Fold validated decisions into real code, then commit the prototype to a throwaway branch as a primary source with a pointer on the implementation issue. - Use Case: Ask whether your checkout state machine handles "cancel after payment initiated" — get a clickable HTML demo a PM can drive, then lift the validated reducer into the real module. ## Quick Start Ask the agent to prototype whether your state model handles a tricky edge case, or to generate three variant layouts for an existing page.

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 tabbed guided walkthroughs for edge cases. Anyone can open it by double-clicking, and the validated logic lifts directly into the real module.

How to compare multiple UI layout options for one page?

Generate 3-5 structurally different variants rendered on the same route, gated by a ?variant= URL search param. A floating bottom bar with arrows and keyboard navigation cycles between variants, keeping the URL shareable and reload-stable.

Should a prototype use a framework like React or plain HTML?

Logic prototypes use plain HTML/CSS/JS in one file with no framework, bundler, or server so they survive being emailed around. UI prototypes follow the project's existing framework and component library since they live on real routes.

When should I not write a prototype?

Skip prototyping when the question is already answered or when you start adding tests, error handling, persistence, or abstractions — those signal production work. A prototype answers exactly one question and stays throwaway from day one.

What happens to prototype code after the design decision is made?

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.