claude-flow-depth
Version:
DEPTH Methodology Installer - Ousterhout-First Development for Claude Code
38 lines (30 loc) • 1.24 kB
Markdown
# DEPTH Design-Twice Command
## Purpose
Apply Ousterhout's design-twice principle to create two distinct design approaches for major architectural decisions.
## Phase: Design-Twice (D)
### Input
- Task description
- Project context
- Requirements and constraints
### Process
1. **Design Alternative A**: Create first design approach
2. **Design Alternative B**: Create second design approach with different trade-offs
3. **Comparison Analysis**: Compare both approaches systematically
4. **Decision**: Choose superior approach based on Ousterhout criteria
### Quality Gates
- [ ] Two distinct design alternatives created
- [ ] Each alternative addresses all requirements
- [ ] Trade-off analysis completed
- [ ] Decision documented with rationale
### Ousterhout Principles Applied
- **Design-Twice**: Mandatory creation of two alternatives
- **Deep Modules**: Evaluate which design creates deeper modules
- **Information Hiding**: Assess which design hides more complexity
### Output
- Design Alternative A documentation
- Design Alternative B documentation
- Comparison analysis
- Chosen design with rationale
- Strategic investment time tracking
### Next Phase
Hand off chosen design to Interface Optimizer for complexity analysis.