Skip to main content
command CX Codex

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

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

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

Call it with /shadcn-plan-session. For all projects use ~/.claude/commands/

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.

Similar slash commands

All slash commands for Frontend and UI →

From the same set24

The whole set →
generate-types-from-supabase generate-types-from-supabase analyzes Supabase schema and generates TypeScript types for DTOs and Command Models. Cuts down manual type definition work by deriving structures from your database. CX Codex +1 ★ 267repo stars vitest-unit-testing vitest-unit-testing is a Claude Code rule for writing Vitest unit tests. It guides module mocking and React component test structure. CX Codex +1 ★ 267repo stars project-prd The project-prd command turns project plans into a structured PRD and saves it as a Markdown file. Use it to draft requirements, user stories, and acceptance criteria. CX Codex +1 ★ 267repo stars 10x-implement 10x-implement — a command to implement approved technical plans step-by-step in Claude Code. Reads the plan, tracks progress, and verifies each phase before moving on. CX Codex +1 ★ 267repo stars shadcn-view-implement The shadcn-view-implement command guides Claude Code through building a shadcn/ui view from an implementation plan. It pauses after a small batch of work so you can review the result. CX Codex +1 ★ 267repo stars shadcn-ui-plan shadcn-ui-plan turns a product requirements doc, API plan and planning session notes into a UI architecture saved to .ai/ui-plan.md. CX Codex +1 ★ 267repo stars mermaid-diagram-ui mermaid-diagram-ui guides the agent to analyze requirements and generate Mermaid UI architecture diagrams for Astro and React auth modules. CX Codex +1 ★ 267repo stars mermaid-diagram-auth The mermaid-diagram-auth rule guides Claude Code through project auth requirements and asks it to create a Mermaid sequence diagram. Use it to map sign-up, login, sessions, and token handling. CX Codex +1 ★ 267repo stars

Project sponsors

Companies that keep this analytics open