What problem does it solve?
Design questions about state models, logic flows, or UI direction often stall in abstract debate. This Skill produces runnable, throwaway prototypes that answer one specific question, so decisions are based on working behavior rather than speculation.
Core Features & Use Cases
- Logic Prototypes: Generates a single self-contained HTML file with a pure reducer, state machine, or function module, plus free-play buttons and guided walkthrough scenarios that non-developers can drive.
- UI Prototypes: Creates 3-5 structurally different stx view variants rendered inside the real app layout with a floating switcher bar for comparison.
- Capture Workflow: Folds validated decisions into production code and archives the prototype on a dedicated
prototype/<name> branch.
- Use Case: When unsure whether a multi-step checkout state machine handles edge cases, generate a clickable HTML demo with scenarios for the happy path, tricky edges, and illegal transitions, then hand it to a PM for feedback.
Quick Start
Ask the assistant to prototype whether your state model holds up or to generate several UI variants of a view using the stacks-prototype skill.