plan
From shanraisshan
Create comprehensive planning documentation for a feature
Install
/planFacts
- Repository
- shanraisshan/claude-code-best-practice
- Status
- Actively maintained
- Last commit
Source preview
The instructions Claude Code reads when this command runs.
## User Input
```text
$ARGUMENTS
```
You **MUST** parse the user input to extract the feature slug (the folder name in `rpi/`).
## Purpose
This command creates comprehensive planning documentation for a feature request. It generates detailed specifications, technical design, and implementation plans in the feature's RPI folder.
**Prerequisites**:
- Feature folder exists at `rpi/{feature-slug}/`
- Research completed with GO recommendation (`rpi/{feature-slug}/research/RESEARCH.md` exists)
**Output Location**: All files saved to `rpi/{feature-slug}/plan/`
**This is Step 3 of the RPI Workflow** (after Research approves with GO).
## Outline
1. **Load Context**: Read research report and project constitution (if exists)
2. **Understand Requirements**: Parse feature scope and requirements
3. **Analyze Technical Requirements**: Review architecture and dependencies
4. **Design Architecture**: Create high-level architecture and API contracts
5. **Break Down Implementation**: Create phased task breakdown
6. **Generate Documentation**: Create structured documentation files
7. **Validate Output**: Ensure all quality gates pass
8. **Report Completion**: Provide summary and next steps
## Phases
### Phase 0: Load Context
**Prerequisites**: Feature slug provided
**Process**:
1. **Verify research completed**:
- Check `rpi/{feature-slug}/research/RESEARCH.md` exists
- Verify GOView full source on GitHub →Other slash commands
feature-development
★ 229,918Workflow command scaffold for feature-development in everything-claude-code.
affaan-mupdated 15d agoMITdatabase-migration
★ 229,918Workflow command scaffold for database-migration in everything-claude-code.
affaan-mupdated 15d agoMITadd-language-rules
★ 229,918Workflow command scaffold for add-language-rules in everything-claude-code.
affaan-mupdated 15d agoMITcommit-push-pr
★ 137,934Commit, push, and open a PR
anthropicsupdated 14d agodedupe
★ 137,934Find duplicate GitHub issues
anthropicsupdated 14d agotriage-issue
★ 137,934Triage GitHub issues by analyzing and applying labels
anthropicsupdated 14d ago