Skip to main content
command CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/prototype.md
Open on GitHub

What 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.md

Call it with /prototype. For all projects use ~/.claude/commands/

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.

Similar slash commands

All slash commands for Frontend and UI →
html-prototype plannotator html-prototype — a skill that builds one self-contained HTML file: a static mockup or a working prototype with states, keyboard support and responsive layout. It exists to test an interface decision before code. CX Codex +1 2,200installs web-prototype nexu-io web-prototype — a skill for Claude Code, Codex, Cursor and other agents that builds a self-contained HTML prototype from a seed template and a section library. Covers landing pages, marketing pages, docs indexes and SaaS pages. CX Codex +1 303installs web-prototype-taste-editorial nexu-io web-prototype-taste-editorial — a skill for single-page prototypes styled like Notion, Linear or premium docs: warm monochrome, serif display and grotesque body, hairline borders, muted pastel chips, generous whitespace. CX Codex +1 172installs tool-design-sprint-prototype-plan product-on-purpose tool-design-sprint-prototype-plan creates Thursday’s Design Sprint planning pack: team roles, a prototype brief, and an interview script. Run it after Wednesday’s storyboard is approved. CX Codex +1 710installs prototype-prompt-generator stellarlinkco prototype-prompt-generator turns UI requirements into detailed, structured prompts for building HTML, CSS, or React prototypes. CX Codex +1 393installs om-mockup-prototype open-mercato om-mockup-prototype builds a neutral clickable low-fidelity HTML prototype directly from a product brief. It tests flows and assumptions locally in a browser before backlog grooming. CX Codex +1 2,200installs

From the same set26

The whole set →
visual The visual command turns a discussion into a self-contained HTML document with diagrams, wireframes and matrices the agent implements from in plan mode. CX Codex +1 ★ 406repo stars oneshotapp oneshotapp builds a functioning app from a brief idea in Claude Code without human intervention. It logs architecture choices and verifies implementation slices on the fly. CX Codex +1 ★ 406repo stars analyzer analyzer examines blind skill comparisons to explain the winner’s advantage and suggest changes to the losing skill. Run it after the comparator finishes. CX Codex ★ 406repo stars free-will free-will makes the agent stop at a costly fork, lay out real options, test each against evidence and pick one on purpose. CX Codex +1 ★ 406repo stars design Defines visual identity tokens and styling rationale following Google Stitch. Keeps coding agents aligned with design tokens when building user interfaces. CX Codex +1 ★ 406repo stars create-design-md create-design-md — a command that produces a DESIGN.md file with the project's visual identity: interviews the user, renders three HTML design variants for browser comparison, locks in the chosen direction in Stitch format. CX Codex +1 ★ 406repo stars super-product-owner super-product-owner turns vague product ideas into a one-page brief, an interactive prototype, and concrete acceptance criteria. It narrows project scope before any production code gets written. CX Codex +1 ★ 406repo stars super-ui-ux-design The super-ui-ux-design skill guides UI design and critique through UX principles and visual design concepts. Use it when working on websites, apps, or individual components. CX Codex +1 ★ 406repo stars

Project sponsors

Companies that keep this analytics open