03-task-breakdown.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. id: core-task-manager-task-breakdown
  2. name: "Task Manager: Task Breakdown - Create Subtask Structure"
  3. description: |
  4. Tests the task-manager's ability to break down a feature into atomic,
  5. implementation-ready JSON subtasks and create task files.
  6. Validates:
  7. - Creates feature slug (kebab-case)
  8. - Generates 2-digit task sequences
  9. - Defines clear objectives per task
  10. - Specifies deliverables
  11. - Defines acceptance criteria
  12. - Includes exit criteria
  13. Critical Behavior:
  14. - MUST create structured JSON task plan
  15. - MUST use proper naming conventions
  16. - MUST include exit criteria
  17. category: developer
  18. prompts:
  19. - text: |
  20. Break down the feature "add-dark-mode" into JSON subtasks.
  21. Objective: Add a dark theme toggle and styles across the UI.
  22. Deliverables:
  23. - src/ui/theme-toggle.tsx
  24. - src/state/theme-store.ts
  25. - src/styles/dark-theme.css
  26. Context files:
  27. - .opencode/context/core/standards/code-quality.md
  28. Use the write tool to create .tmp/tasks/add-dark-mode/task.json and subtask_NN.json files.
  29. approvalStrategy:
  30. type: auto-approve
  31. behavior:
  32. mustUseTools:
  33. - read
  34. - bash
  35. - write
  36. requiresContext: true
  37. expectedContextFiles:
  38. - .opencode/context/core/task-management/navigation.md
  39. - .opencode/context/core/task-management/standards/task-schema.md
  40. - .opencode/context/core/task-management/guides/splitting-tasks.md
  41. - .opencode/context/core/task-management/guides/managing-tasks.md
  42. minToolCalls: 3
  43. maxToolCalls: 15
  44. expectedViolations:
  45. - rule: approval-gate
  46. shouldViolate: true
  47. severity: error
  48. description: Subagents do not request approvals
  49. timeout: 120000
  50. tags:
  51. - task-manager
  52. - breakdown
  53. - planning
  54. - core-subagent