decomposing-tasks
1
总安装量
1
周安装量
#47910
全站排名
安装命令
npx skills add https://github.com/dralgorhythm/claude-agentic-framework --skill decomposing-tasks
Agent 安装分布
amp
1
opencode
1
cursor
1
codex
1
github-copilot
1
Skill 文档
Decomposing Tasks
Workflows
- Understand Scope: What is the full scope of work?
- Identify Components: What are the major pieces?
- Break Down: Split into 1-2 day tasks
- Order: Define dependencies and sequence
- Validate: Can each task be demo’d/tested?
Task Size Guidelines
Too Big
- “Build the authentication system”
- Cannot be completed in 1-2 days
- Cannot be tested independently
Just Right
- “Create login API endpoint”
- “Add password validation”
- “Implement JWT token generation”
Too Small
- “Add semicolon”
- “Rename variable”
- Not worth tracking separately
Decomposition Strategies
Vertical Slicing
Cut through all layers for one feature.
Feature: User Login
âââ API endpoint (POST /login)
âââ Input validation
âââ Database query
âââ JWT generation
âââ Error handling
âââ Integration test
Horizontal Slicing
Complete one layer at a time.
Database Layer
âââ Users table
âââ Sessions table
âââ Indexes
API Layer
âââ Login endpoint
âââ Logout endpoint
âââ Refresh endpoint
SPIDR Method
- Spike: Research/investigation task
- Path: Main flow implementation
- Interface: API/UI contract
- Data: Storage and schemas
- Rules: Business logic and validation
Task Template
## Task: [Title]
**Description**: [What needs to be done]
**Acceptance Criteria**:
- [ ] [Criterion 1]
- [ ] [Criterion 2]
**Dependencies**: [What must be done first]
**Estimate**: [X hours/points]
Definition of Done
Every task should have:
- Code complete and reviewed
- Tests written and passing
- Documentation updated
- Deployed to staging