Strategic planning skill for feature implementation. Invoke when planning new features, refactoring, or implementing complex changes. Creates detailed implementation plans with boundaries, dependencies, and verification steps.
Strategic planning for feature implementation, refactoring, and complex changes.
First, analyze the current state:
What do we know?
- Current codebase structure
- Related files and dependencies
- Existing patterns and conventions
- Technical debt and constraints
What don't we know?
- Unclear requirements
- Unknown edge cases
- Missing context about business logic
- Potential side effects
Clearly define what we want to achieve:
Primary Goal:
- One sentence, specific, measurable outcome
Secondary Goals:
- Related improvements that can be made
Non-Goals:
- Explicitly list what we will NOT do
- Prevents scope creep
Set clear boundaries for the work:
| Dimension | Current State | Target State | Rationale |
|---|---|---|---|
| Scope | What's included? | What's excluded? | Why? |
| Risk | Known risks | Mitigation | How we'll handle it |
| Time | Estimated effort | Phases | Breakdown |
Create a step-by-step plan:
Phase 1: Preparation
- [ ] Analyze and document current code
- [ ] Set up testing framework (if needed)
- [ ] Create feature flag (if applicable)
Phase 2: Core Implementation
- [ ] Implement core functionality
- [ ] Add error handling
- [ ] Update types/interfaces
Phase 3: Integration
- [ ] Integrate with existing systems
- [ ] Update database (if needed)
- [ ] Update API endpoints
Phase 4: Verification
- [ ] Run existing tests
- [ ] Add new tests
- [ ] Manual testing checklist
Phase 5: Delivery
- [ ] Code review
- [ ] Documentation
- [ ] Deploy (if applicable)
Visualize dependencies:
Task A
↓
Task B ← Task C
↓
Task D
List all dependencies clearly.
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| Breaking changes? | Low/High | Low/High | Strategy |
| Performance regressions? | ... | ... | ... |
| Integration issues? | ... | ... | ... |
How will we know it's working?
Automated Tests:
- Unit tests
- Integration tests
- E2E tests (if applicable)
Manual Verification:
- Feature works as expected
- Edge cases handled
- No regressions
- Performance acceptable
Use these questions to guide the planning:
1. Understand requirements
2. Identify affected files
3. Implement with tests
4. Review and deliver
Phase 1: Analysis & Design
Phase 2: Implementation
Phase 3: Testing & Verification
Phase 4: Review & Documentation
Phase 1: Discovery & Planning
Phase 2: Architecture & Design
Phase 3: Implementation (multiple sub-phases)
Phase 4: Integration
Phase 5: Testing & QA
Phase 6: Deployment & Monitoring
Before starting implementation, verify:
After delivery, review: