Execute a specific task along with its sub-tasks systematically following a TDD development workflow. Use when implementing individual tasks from a spec.
Execute a specific task along with its sub-tasks systematically following a TDD development workflow.
Read and analyze the given parent task and all its sub-tasks from tasks.md to gain complete understanding of what needs to be built.
Task Analysis:
Instructions:
Search and extract relevant sections from technical-spec.md to understand the technical implementation approach for this task.
Selective Reading: FIND sections in technical-spec.md related to:
Instructions:
Retrieve relevant sections from @.agentic-docs/standards/best-practices.md that apply to the current task's technology stack and feature type.
Search For:
Instructions:
Retrieve relevant code style rules from @.agentic-docs/standards/code-style.md for the languages and file types being used in this task.
Search For:
Instructions:
Execute the parent task and all sub-tasks in order using test-driven development (TDD) approach.
Typical Task Structure:
Execution Order:
Subtask 1 - Tests: IF sub-task 1 is "Write tests for [feature]":
Middle Subtasks - Implementation: FOR each implementation sub-task (2 through n-1):
Final Subtask - Verification: IF final sub-task is "Verify all tests pass":
Test Management:
Instructions:
Run and verify only the tests specific to this parent task (not the full test suite) to ensure the feature is working correctly.
Focused Test Execution:
Final Verification:
IF any test failures:
- Debug and fix the specific issue
- Re-run only the failed tests
ELSE:
- Confirm all task tests passing
- Ready to proceed
Instructions:
IMPORTANT: In the tasks.md file, mark this task and its sub-tasks complete by updating each task checkbox to [x].
Update Format:
- [x] Task description- [ ] Task description- [ ] Task description with ⚠️ Blocking issue: [DESCRIPTION]Blocking Criteria:
Instructions: