| name | prototype |
| description | Build throwaway logic or UI prototypes to answer design questions fast. |
Prototype
Prototype = throwaway code answering one question.
Pick branch
- Logic/state question -> LOGIC.md: tiny terminal app, push state machine through hard cases.
- UI question -> UI.md: several variants on one route, switchable by URL/search param + floating controls.
If ambiguous and user absent: infer from code. Backend/module -> logic. Page/component -> UI. State assumption.
Rules
- Mark throwaway clearly. Keep near target code.
- One command to run.
- No persistence unless question needs it. Scratch DB/file only, clearly wipeable.
- Skip polish: no tests, minimal errors, no abstractions.
- Surface full relevant state after each action/switch.
- When answered: delete or absorb into real code.
Done
Capture answer + original question in commit msg, ADR, issue, or local notes. Prototype itself should not rot.