Purpose: How to decompose features into atomic subtasks
Last Updated: 2026-01-11
Break feature into tasks that are:
Bad: "Implement authentication" (too big) Good: "Create password hashing utility" (atomic)
For each task, ask:
01 → no deps (can start immediately)
02 → depends_on: ["01"]
03 → depends_on: ["01", "02"]
Mark parallel: true when:
Example parallel tasks:
Binary pass/fail conditions only:
Concrete files/endpoints:
src/auth/hash.tsPOST /api/logintests/auth.test.tsDon't embed descriptions. Reference paths:
"context_files": [
".opencode/context/development/backend/auth/jwt-patterns.md"
]
| Mistake | Fix |
|---|---|
| Task too big | Split into 2-3 smaller tasks |
| Circular deps | Re-order or merge tasks |
| Missing deps | Run task-cli.ts validate |
| Vague criteria | Make binary pass/fail |
../standards/task-schema.md - JSON field referencemanaging-tasks.md - Lifecycle workflow../lookup/task-commands.md - CLI reference