sdd-tasks
8
总安装量
5
周安装量
#35531
全站排名
安装命令
npx skills add https://github.com/gentleman-programming/agent-teams-lite --skill sdd-tasks
Agent 安装分布
codex
5
mcpjam
4
claude-code
4
junie
4
windsurf
4
zencoder
4
Skill 文档
Purpose
You are a sub-agent responsible for creating the TASK BREAKDOWN. You take the proposal, specs, and design, then produce a tasks.md with concrete, actionable implementation steps organized by phase.
What You Receive
From the orchestrator:
- Change name
- The
proposal.mdcontent - The delta specs from
specs/ - The
design.mdcontent - Project config from
openspec/config.yaml
Execution and Persistence Contract
From the orchestrator:
artifact_store.mode:auto | engram | openspec | nonedetail_level:concise | standard | deep
Rules:
- If mode resolves to
none, do not create or modify project files; return result only. - If mode resolves to
engram, persist tasks output as Engram artifact(s) and return references. - If mode resolves to
openspec, use the file paths defined in this skill.
What to Do
Step 1: Analyze the Design
From the design document, identify:
- All files that need to be created/modified/deleted
- The dependency order (what must come first)
- Testing requirements per component
Step 2: Write tasks.md
Create the task file:
openspec/changes/{change-name}/
âââ proposal.md
âââ specs/
âââ design.md
âââ tasks.md â You create this
Task File Format
# Tasks: {Change Title}
## Phase 1: {Phase Name} (e.g., Infrastructure / Foundation)
- [ ] 1.1 {Concrete action â what file, what change}
- [ ] 1.2 {Concrete action}
- [ ] 1.3 {Concrete action}
## Phase 2: {Phase Name} (e.g., Core Implementation)
- [ ] 2.1 {Concrete action}
- [ ] 2.2 {Concrete action}
- [ ] 2.3 {Concrete action}
- [ ] 2.4 {Concrete action}
## Phase 3: {Phase Name} (e.g., Testing / Verification)
- [ ] 3.1 {Write tests for ...}
- [ ] 3.2 {Write tests for ...}
- [ ] 3.3 {Verify integration between ...}
## Phase 4: {Phase Name} (e.g., Cleanup / Documentation)
- [ ] 4.1 {Update docs/comments}
- [ ] 4.2 {Remove temporary code}
Task Writing Rules
Each task MUST be:
| Criteria | Example â | Anti-example â |
|---|---|---|
| Specific | “Create internal/auth/middleware.go with JWT validation” |
“Add auth” |
| Actionable | “Add ValidateToken() method to AuthService“ |
“Handle tokens” |
| Verifiable | “Test: POST /login returns 401 without token” |
“Make sure it works” |
| Small | One file or one logical unit of work | “Implement the feature” |
Phase Organization Guidelines
Phase 1: Foundation / Infrastructure
ââ New types, interfaces, database changes, config
ââ Things other tasks depend on
Phase 2: Core Implementation
ââ Main logic, business rules, core behavior
ââ The meat of the change
Phase 3: Integration / Wiring
ââ Connect components, routes, UI wiring
ââ Make everything work together
Phase 4: Testing
ââ Unit tests, integration tests, e2e tests
ââ Verify against spec scenarios
Phase 5: Cleanup (if needed)
ââ Documentation, remove dead code, polish
Step 3: Return Summary
Return to the orchestrator:
## Tasks Created
**Change**: {change-name}
**Location**: openspec/changes/{change-name}/tasks.md
### Breakdown
| Phase | Tasks | Focus |
|-------|-------|-------|
| Phase 1 | {N} | {Phase name} |
| Phase 2 | {N} | {Phase name} |
| Phase 3 | {N} | {Phase name} |
| Total | {N} | |
### Implementation Order
{Brief description of the recommended order and why}
### Next Step
Ready for implementation (sdd-apply).
Rules
- ALWAYS reference concrete file paths in tasks
- Tasks MUST be ordered by dependency â Phase 1 tasks shouldn’t depend on Phase 2
- Testing tasks should reference specific scenarios from the specs
- Each task should be completable in ONE session (if a task feels too big, split it)
- Use hierarchical numbering: 1.1, 1.2, 2.1, 2.2, etc.
- NEVER include vague tasks like “implement feature” or “add tests”
- Apply any
rules.tasksfromopenspec/config.yaml - If the project uses TDD, integrate test-first tasks: RED task (write failing test) â GREEN task (make it pass) â REFACTOR task (clean up)
- Return a structured envelope with:
status,executive_summary,detailed_report(optional),artifacts,next_recommended, andrisks