shadcn-plan-session — Claude Code command: what it does, install
shadcn-plan-session runs an interactive UI planning session for an MVP using product specs, tech stack notes, and API endpoints.
AGPL-3.0 ★ 267 updated 2026-02-20
.claude/commands/shadcn-plan-session.mdWhat shadcn-plan-session does
The command directs the model to plan the interface structure for an MVP. It reviews project context directly from three local files: prd.md, tech-stack.md, and api-plan.md. This connects planned screens directly to backend capabilities.
Output arrives strictly structured under <ui_architecture_planning_output> tags, split into numbered questions and recommendations. The review touches navigation paths, responsive behavior, accessibility, error states, and UI auth rules. The session stays active across follow-up turns until you explicitly request a summary.
Without @prd.md, @tech-stack.md, and @api-plan.md present in the workspace, the model lacks the data needed to evaluate endpoints or screen flows.
What it helps with
- map UI screens and navigation flows directly to API endpoints
- uncover ambiguities in interface requirements before writing code
- plan component accessibility and mobile adaptation for an MVP
- align UI error handling and state synchronization with backend routes
Example prompts for the agent
- /shadcn-plan-session
- Run /shadcn-plan-session and focus on navigation across key views
- /shadcn-plan-session: prioritize error states and authentication flows
How to install shadcn-plan-session
Manually: put the files in place
.claude/commands/shadcn-plan-session.mdCall it with /shadcn-plan-session. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/shadcn-plan-session.mdCall it with /prompts:shadcn-plan-session. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/shadcn-plan-session.prompt.mdManually: put the files in place
.gemini/commands/shadcn-plan-session.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about shadcn-plan-session
How to install shadcn-plan-session in Claude Code?
Place the command file at .claude/commands/shadcn-plan-session.md in your project root.
What does shadcn-plan-session do?
It guides an AI reasoning session to evaluate your product requirements and API plan, outputting numbered architectural questions and UI recommendations.
Which project files are required for this command?
The prompt expects three markdown files in your workspace: @prd.md, @tech-stack.md, and @api-plan.md.