Guides intelligent planning strategies with automatic phase detection and complexity assessment...
Expert planning assistant that helps you decompose complex tasks, assess complexity, identify dependencies, and create comprehensive implementation plans.
This skill auto-activates when:
This skill guides you through 6 planning phases for comprehensive task decomposition:
Purpose: Evaluate task complexity to determine planning approach
Complexity Rubric:
Simple (1-2 files, clear scope)
Medium (3-8 files, some unknowns)
Complex (9+ files, research needed, multiple systems)
Questions to ask:
Purpose: Clearly define boundaries and deliverables
Key elements:
Questions to ask:
Purpose: Identify dependencies and proper execution order
Dependency types:
Questions to ask:
Purpose: Identify potential challenges and mitigation strategies
Common risk categories:
For each risk:
Purpose: Decompose feature into actionable subtasks
Breakdown principles:
Example breakdown:
Epic: User Authentication
βββ Feature: Login Flow
β βββ Task: Create login API endpoint
β βββ Task: Add JWT token generation
β βββ Task: Implement password validation
β βββ Task: Add login UI form
βββ Feature: Session Management
β βββ Task: Add token refresh logic
β βββ Task: Handle session expiration
βββ Feature: Security
βββ Task: Add rate limiting
βββ Task: Implement 2FA support
Purpose: Estimate time and resources needed
Estimation approaches:
Factors to consider:
Buffer rule: Add 20-30% buffer for unknowns
This skill enhances the following CCPM commands:
/ccpm:plan - Smart planning with phase detection
/ccpm:plan - Extended planning with research
/ccpm:plan - Plan modifications
/ccpm:plan - Spec-first development
/ccpm:plan - Epic/feature decomposition
This skill integrates with:
sequential-thinking - For complex task decomposition
docs-seeker - For research during planning
pm-workflow-guide - For command recommendations
linear-subagent-guide - For updating Linear
external-system-safety - For Jira/Confluence reads
workflow-state-tracking - For state transitions
When user mentions planning-related keywords, activate and assess their need:
User: "I need to plan this complex payment integration"
β
[planning-strategy-guide activates]
β
Assess: Type of planning needed (epic breakdown? complexity assessment?)
Use AskUserQuestion to gather context:
AskUserQuestion({
questions: [{
question: "What type of planning assistance do you need?",
header: "Planning Type",
multiSelect: false,
options: [
{
label: "Break down large feature",
description: "Decompose epic/feature into tasks"
},
{
label: "Assess complexity",
description: "Evaluate technical complexity and effort"
},
{
label: "Identify dependencies",
description: "Map task dependencies and order"
},
{
label: "Analyze risks",
description: "Identify potential challenges"
}
]
}]
});
Based on user's selection, run relevant phases:
For epic breakdown:
For complexity assessment:
For scope definition:
Based on complexity, invoke complementary skills:
Complex tasks β Invoke sequential-thinking:
Task(sequential-thinking): "Break down this complex payment integration..."
Research needed β Invoke docs-seeker:
Skill: docs-seeker
Query: "Find Stripe API documentation and best practices"
Command suggestion needed β Let pm-workflow-guide activate:
[pm-workflow-guide auto-activates]
Suggests: "/ccpm:plan epic 'Payment Integration'"
Use linear-subagent-guide patterns:
Task(ccpm:linear-operations): `
operation: update_issue_description
params:
issueId: "${issueId}"
description: |
## Implementation Checklist
${generatedChecklist}
> **Complexity**: ${complexity} | **Estimated**: ${estimate}
## Dependencies
${dependencyList}
## Risks & Mitigation
${risksList}
---
${originalDescription}
context:
command: "planning-strategy-guide"
cache: true
`
Show user what to do next:
β
Planning Complete!
π Results:
β’ Complexity: Medium
β’ Tasks: 8 subtasks identified
β’ Dependencies: 3 hard dependencies
β’ Risks: 2 medium risks identified
β’ Estimate: 2-3 days
π‘ Next Steps:
1. Review the plan in Linear
2. Start implementation: /ccpm:work ${issueId}
3. Create spec if complex: /ccpm:plan
User: "Help me plan this payment gateway integration"
Claude: [planning-strategy-guide activates]
I'll help you plan the payment gateway integration. Let me start by assessing the complexity.
[Asks clarifying questions via AskUserQuestion]
Based on your answers, this is a **Complex** task (9+ files, external API integration).
Let me run the 6 planning phases:
**Phase 1: Complexity Assessment**
- External API integration (Stripe)
- Security considerations (PCI compliance)
- Multiple payment methods
- Webhook handling
β Complexity: High
**Phase 2: Scope Definition**
In scope:
β’ Credit card payments
β’ Stripe integration
β’ Basic webhook handling
Out of scope:
β’ PayPal integration (defer to Phase 2)
β’ Subscription management (defer)
**Phase 3: Dependency Analysis**
Hard dependencies:
1. Stripe account setup (external)
2. Security review approval (external)
3. Database schema for payments
Parallel work:
β’ Frontend payment form
β’ Backend API endpoints
β’ Webhook handlers
**Phase 4: Risk Identification**
1. **PCI Compliance** (High impact, Medium likelihood)
- Mitigation: Use Stripe.js (no card data touches server)
2. **Webhook reliability** (Medium impact, Medium likelihood)
- Mitigation: Implement idempotency keys
3. **API rate limits** (Low impact, Low likelihood)
- Mitigation: Add exponential backoff
**Phase 5: Task Breakdown**
Epic: Payment Gateway Integration
βββ Set up Stripe account and API keys
βββ Implement payment API endpoints
β βββ Create payment intent endpoint
β βββ Confirm payment endpoint
β βββ Refund payment endpoint
βββ Build frontend payment form
β βββ Integrate Stripe.js
β βββ Add card input component
β βββ Handle payment errors
βββ Add webhook handlers
β βββ payment_intent.succeeded
β βββ payment_intent.failed
β βββ refund.updated
βββ Add database schema
β βββ payments table
β βββ payment_events table
βββ Write tests
β βββ API endpoint tests
β βββ Webhook handler tests
β βββ Integration tests
βββ Security review
**Phase 6: Effort Estimation**
- Total: 12 tasks
- Estimate: 5-7 days (with 20% buffer)
- Story points: 21 points
β
Planning complete! Would you like me to:
1. Create Linear issue with this plan: /ccpm:plan
2. Create spec document: /ccpm:plan
3. Start implementation: /ccpm:work
User: "How complex is adding a logout button?"
Claude: [planning-strategy-guide activates - lightweight mode]
Let me assess the complexity:
**Phase 1: Complexity Assessment**
- Files to modify: 2 (logout button component, API endpoint)
- Clear requirements: Yes
- External dependencies: None
- Research needed: Minimal
β **Complexity: Simple** (1-2 hours)
**Quick Plan**:
1. Add logout button to UI (30 min)
2. Call logout API endpoint (15 min)
3. Clear session/cookies (15 min)
4. Test (30 min)
**Estimate**: 1-2 hours
Since this is simple, you can start immediately:
/ccpm:plan "Add logout button"
User: "What order should I implement these features?"
Claude: [planning-strategy-guide activates - Phase 3]
Let me analyze the dependencies:
**Phase 3: Dependency Analysis**
Your features:
1. User authentication
2. Profile page
3. Settings page
4. Admin dashboard
Dependency graph:
βββββββββββββββββββ β Authentication β (Must be first) ββββββββββ¬βββββββββ β ββββββ΄βββββ¬βββββββββββββ β β β βββββΌβββ βββββΌβββ βββββββΌβββββββ βProfileβ βSettingsβ βAdmin Dashβ ββββββββ ββββββββββ ββββββββββββββ (parallel work possible)
**Execution order**:
1. **First**: Implement authentication (blocker for all others)
2. **Then in parallel**:
- Profile page (Team A)
- Settings page (Team B)
- Admin dashboard (Team C)
**Critical path**: Authentication β Any feature (all equal)
**Recommendation**:
- Start with: /ccpm:plan "User authentication"
- After auth done, all 3 can proceed in parallel
User: "What could go wrong with this API migration?"
Claude: [planning-strategy-guide activates - Phase 4]
Let me identify risks for your API migration:
**Phase 4: Risk Identification**
**1. Breaking Changes** (High impact, High likelihood)
- Impact: Existing clients break
- Mitigation:
β’ Implement API versioning (/v1, /v2)
β’ Maintain backward compatibility
β’ Provide migration guide
- Contingency: Rollback plan with feature flags
**2. Data Migration Issues** (High impact, Medium likelihood)
- Impact: Data loss or corruption
- Mitigation:
β’ Test migration on staging
β’ Backup all data before migration
β’ Implement migration rollback scripts
- Contingency: Restore from backup
**3. Performance Degradation** (Medium impact, Medium likelihood)
- Impact: Slower API responses
- Mitigation:
β’ Load test new API
β’ Add caching layer
β’ Optimize database queries
- Contingency: Scale infrastructure
**4. Third-party Dependencies** (Low impact, High likelihood)
- Impact: New libraries have bugs
- Mitigation:
β’ Use stable versions
β’ Test thoroughly
β’ Have alternative libraries ready
- Contingency: Fall back to old implementation
**Recommendation**:
Create detailed migration plan with /ccpm:plan
Include rollback procedures and monitoring
User: "Estimate effort for these 5 tasks"
Claude: [planning-strategy-guide activates - Phase 6]
**Phase 6: Effort Estimation**
Using T-shirt sizing:
| Task | Size | Effort | Reasoning |
|------|------|--------|-----------|
| Add search bar | **XS** | 1-2h | Simple UI component |
| Implement search API | **S** | 4-6h | Straightforward endpoint |
| Add search filters | **M** | 1-2d | Multiple filter types |
| Full-text search (Elasticsearch) | **L** | 3-5d | New tech, complex setup |
| Search analytics | **M** | 1-2d | Logging + dashboard |
**Total estimate**: 6-10 days (with 20% buffer: 7-12 days)
**Story points breakdown**:
- XS: 1 point β 1 point
- S: 2 points β 2 points
- M: 5 points β 10 points
- L: 8 points β 8 points
**Total**: 21 story points
**Recommendation**:
- Sprint 1: Search bar + API (3 points)
- Sprint 2: Filters + Analytics (10 points)
- Sprint 3: Elasticsearch (8 points)
Would you like me to create tasks in Linear?
/ccpm:plan (will break down into subtasks)
Don't dive into detailed planning without understanding complexity:
β Bad: Immediately create 20 subtasks without assessment β Good: Assess complexity first, then plan depth accordingly
Match planning depth to task complexity:
Planning is not one-and-done:
Initial plan β Implementation β Learning β Update plan
Use /ccpm:plan to refine plans based on learnings.
Make assumptions explicit:
**Assumptions**:
- Stripe API is stable (confirmed with docs)
- PCI compliance handled by Stripe.js (verified)
- Payment volume < 1000/day (confirmed with product)
For complex tasks, evaluate alternatives:
**Approach A: Use Stripe**
Pros: Well-documented, PCI compliant
Cons: Monthly fees, vendor lock-in
**Approach B: Use PayPal**
Pros: Wider adoption, familiar to users
Cons: Complex API, less flexible
**Recommendation**: Approach A (Stripe)
Rationale: Better developer experience, clearer documentation
For scope definition, ask:
Always include:
Dependency graphs, workflow diagrams, and architecture sketches help:
[User] β [Frontend] β [API Gateway] β [Payment Service] β [Stripe]
β
[Database]
β
[Webhook Handler]
When: Large feature spanning multiple sprints
Phases to use: 1, 2, 3, 5, 6
Output: Hierarchical task structure in Linear
Integration:
/ccpm:plan epic first (create spec)/ccpm:plan (use this skill's Phase 5)When: Unsure how complex a task is
Phases to use: 1, 4, 6
Output: Complexity rating + estimate + risks
Integration:
/ccpm:plan (quick assessment)When: Multiple interconnected tasks
Phases to use: 3, 5
Output: Dependency graph + execution order
Integration:
/ccpm:work (visualize)When: High-stakes or unfamiliar territory
Phases to use: 1, 4
Output: Risk register + mitigation strategies
Integration:
/ccpm:plan <doc-id> securityThe Planning Strategy Guide is your intelligent planning assistant, providing:
β 6 comprehensive planning phases for thorough task analysis β Complexity assessment to match planning depth to task needs β Dependency analysis to identify proper execution order β Risk identification to anticipate and mitigate challenges β Task breakdown to create actionable, testable subtasks β Effort estimation with multiple approaches (t-shirt, story points, time)
Plan smart, not hard: Match planning depth to task complexity. Simple tasks get quick assessments, complex tasks get comprehensive analysis.
Iterate and refine: Planning is continuous. Use learnings from implementation to update plans.
Integrate seamlessly: Works alongside sequential-thinking, docs-seeker, pm-workflow-guide, and other CCPM skills.
Stay practical: Focus on actionable outputs that help you start coding, not just documentation.
For quick complexity check:
For epic breakdown:
For comprehensive planning:
Integration commands:
/ccpm:plan - Smart planning (uses this skill)/ccpm:plan - Spec-first (uses Phase 2, 5)/ccpm:plan - Refine plan (re-runs relevant phases)Remember: Good planning makes implementation smooth. Take time to plan well, then execute confidently.