prototype — Claude Code command: React prototype and setup
Turn an early idea into a clickable, multi-screen React prototype through an interview. Use it to test a concept before committing to production work.
no license ★ 406 updated 2026-11-01
.claude/commands/prototype.mdWhat prototype does
The command first forms a working model of the person behind the request: their underlying goal, previous attempts, and what would make the result feel right to them. It prints that analysis for review, then interviews the user to clear up ambiguity. A copy is saved as THEORY-OF-MIND.md in the prototype folder.
After the discussion, it creates a runnable React prototype with no build step and places it under /misc/prototypes/. The screens are clickable, so the idea can be judged as an interface rather than a description. This is for validating a product or feature concept, not for shipping production code. The separate /design:create-design-md command produces design direction and DESIGN.md instead.
To install for Claude Code, copy the command file to .claude/commands/prototype.md. Give it an idea as an argument, or let the interview establish what to prototype when no argument is supplied.
What it helps with
- Turn an early concept into a clickable prototype
- Surface unstated goals through an interview
- Test screen-to-screen interaction in a running interface
- Save a working model of the requester's goals in
THEORY-OF-MIND.md
Example prompts for the agent
- Prototype a clickable personal dashboard from my idea.
- Interview me about this feature, then build a prototype that reflects what I actually need.
- Create a multi-screen React prototype under
misc/prototypes/.
How to install prototype
Manually: put the files in place
.claude/commands/prototype.mdCall it with /prototype. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/prototype.mdCall it with /prompts:prototype. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/prototype.prompt.mdManually: put the files in place
.gemini/commands/prototype.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about prototype
How do I install prototype in Claude Code?
Copy the command file to .claude/commands/prototype.md.
What does the prototype command do?
It interviews the user, writes out a working hypothesis about their goals, and builds a clickable React prototype with multiple screens. The result is for exploring an idea, not production use.
How is prototype different from /design:create-design-md?
prototype builds a single product or feature concept under /misc/prototypes/. /design:create-design-md establishes design direction and creates DESIGN.md.