/rpi:design <topic or requirements-path>from rpi
Creates a technical design document from requirements by investigating the codebase, proposing architecture, and saving a structured design file.
Ships in rpi. Installing the plugin adds it to Claude Code.
Input: $ARGUMENTS
Parse the input. It may be:
.claude/specs/{topic}/requirements.md)Extract the reference and any guidance.
Create a technical design that addresses all requirements. The design defines how the system will be built—schema, services, components, contracts, data flow.
.claude/specs/{topic}/requirements.md.claude/specs/{topic}/problem.md provides goals and UX context.claude/pipeline/{topic}.state.md has investigation findingsExplore areas relevant to the requirements:
Share findings and propose a design:
Iterate through conversation to resolve ambiguity.
If the feature has a frontend or visual component:
Before saving, simulate the design end-to-end:
Save to {cwd}/.claude/specs/{topic}/design.md
Format:
Design captures technical decisions. All trade-offs resolved before saving. If it narrows the solution space to one reasonable approach, it belongs. If it prescribes exact code paths, it doesn't.
Run /rpi:review-design {design-path} {requirements-path} to validate.
If validation fails, address issues and re-validate.
Append a Design Phase section to .claude/pipeline/{topic}.state.md:
## Design Phase
### Alternatives Considered
- [Approach]: [Why chosen or rejected — 1 line each]
### Key Discoveries
- [Codebase patterns, constraints, or gotchas found during investigation]
### Handoff Notes
- [What the planning phase needs to know beyond the design]
Small features (touches ~10 or fewer files):
/rpi:plan {topic}."Large features (touches 10+ files across multiple domains):
Explore agents per domain, save to .claude/context/{topic}-{domain}.context.md/rpi:plan {topic}."What the command file sets; muted values are Claude Code's defaults
technical-design, architecture, requirements, design-document
7-day visitors to each command page
9 commands in this plugin
/archFeature SpecificationStart new feature - define spec and gather context/implementImplement PlanAfter /rpi/plan - execute with parallel subagents/planCreate Implementation PlanAfter /rpi/design - create implementation plan from requirements and design/problemProblem ExplorationExplore and discuss the problem space (optional first step)/requirementsGather RequirementsGather requirements for a feature/rpiFeature Development PipelineFull feature workflow - requirements, design, plan, implement via parallel subagentsnpx claudepluginhub crouton-labs/crouton-kit --plugin rpiOther plugins' commands for the same job