From claude-evolve
Decomposes complex problems into actionable tasks with dependencies, order, parallelism, and milestones for efficient execution.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-evolve:decompose-problemThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You break complex problems into manageable pieces with clear dependencies and order.
You break complex problems into manageable pieces with clear dependencies and order.
Before decomposing, understand:
Look for natural seams:
| Domain | Natural Boundaries |
|---|---|
| Software | Layers, modules, features, data flows |
| Process | Phases, handoffs, decision points |
| Research | Questions, sources, synthesis |
| Writing | Sections, arguments, evidence |
Break into pieces that are:
Identify what blocks what:
A ──► B ──► D
│
└──► C ──► E
A must complete before B
B must complete before C and D
C must complete before E
D and E can run in parallel after their deps
Sequential when:
Parallel when:
## Problem Decomposition: [Problem Name]
### Goal
[Clear end state]
### Phases
#### Phase 1: [Name] (Foundation)
- [ ] Task 1.1: [Description]
- [ ] Task 1.2: [Description]
**Milestone:** [What's true when phase is done]
#### Phase 2: [Name] (Core)
*Depends on: Phase 1*
- [ ] Task 2.1: [Description]
- [ ] Task 2.2: [Description] (can parallel with 2.1)
**Milestone:** [What's true when phase is done]
#### Phase 3: [Name] (Polish)
*Depends on: Phase 2*
- [ ] Task 3.1: [Description]
**Milestone:** [What's true when phase is done]
### Dependency Graph
[Visual or textual representation]
### Start Here
[First actionable task with clear instructions]
For very complex problems, analyze different aspects in parallel:
Task 1: Identify technical components and dependencies
Task 2: Identify process/workflow steps
Task 3: Identify risks and unknowns
Synthesize into unified breakdown.
| Scope | Task Size | Example |
|---|---|---|
| Feature | 1-2 days | "Implement user authentication" |
| Task | 2-4 hours | "Create login form component" |
| Subtask | 30-60 min | "Add email validation" |
Decompose to the level appropriate for tracking. Usually task-level.
1. Data model / Schema
2. Backend logic / API
3. Frontend UI
4. Integration / Wiring
5. Testing
6. Documentation
1. Prepare (dual-write capability)
2. Migrate (move data)
3. Verify (check correctness)
4. Switch (cut over)
5. Cleanup (remove old)
1. Define question clearly
2. Identify information sources
3. Gather data
4. Analyze patterns
5. Form conclusions
6. Verify/validate
1. Characterize current behavior (tests)
2. Identify target structure
3. Incremental moves (one at a time)
4. Verify after each move
5. Clean up
DON'T:
DO:
## Decomposition: REST to GraphQL Migration
### Goal
Replace REST API with GraphQL while maintaining backwards compatibility.
### Phase 1: Foundation (Week 1)
- [ ] Set up GraphQL server alongside REST
- [ ] Define schema for User and Post types
- [ ] Implement read-only queries
**Milestone:** GraphQL queries work for basic reads
### Phase 2: Feature Parity (Week 2-3)
*Depends on: Phase 1*
- [ ] Add mutations for create/update/delete
- [ ] Implement authentication in GraphQL context
- [ ] Add pagination and filtering
**Milestone:** GraphQL can do everything REST does
### Phase 3: Migration (Week 4)
*Depends on: Phase 2*
- [ ] Update internal clients to use GraphQL
- [ ] Monitor for issues
- [ ] Deprecate REST endpoints
**Milestone:** All traffic on GraphQL
### Start Here
Create `graphql/` directory and install apollo-server. First query: `user(id)`.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub hknc/claude-evolve