| name | executar-task |
| description | Implements feature tasks by loading required skills, reading PRD/TechSpec context, analyzing dependencies, and executing the implementation with tests. Marks tasks as complete in tasks.md and triggers the task-reviewer agent upon completion. Use when the user asks to implement a task, execute a task, or start working on a specific task number. Do not use for creating tasks, running QA, code review, or bug fixing. |
Task Execution
Procedures
Step 1: Pre-Task Configuration (Mandatory)
- Read the task definition file at
./tasks/prd-[feature-slug]/[num]_task.md.
- Read the PRD at
./tasks/prd-[feature-slug]/prd.md for context.
- Read the Tech Spec at
./tasks/prd-[feature-slug]/techspec.md for technical requirements.
- Identify dependencies from previous tasks and verify they are complete.
- Do NOT skip any of these reads.
Step 2: Load Required Skills
- Identify the technologies involved in the task (React, Hono, shadcn, etc.).
- Load the corresponding skills from
.claude/skills/ based on technologies used.
- Use Context7 MCP to analyze documentation of involved languages, frameworks, and libraries.
Step 3: Task Analysis (Mandatory)
- Analyze the task considering:
- Main objectives.
- How the task fits into the project context.
- Alignment with project rules and standards.
- Possible approaches or solutions.
- Generate a task summary:
- Task ID and Name.
- PRD Context (main points).
- Tech Spec Requirements (key technical requirements).
- Dependencies.
- Main Objectives.
- Risks/Challenges.
Step 4: Approach Plan (Mandatory)
- Define a numbered step-by-step approach.
- Do NOT skip any step.
Step 5: Implementation (Mandatory)
- Begin implementation immediately after planning.
- Follow all project standards established in CLAUDE.md and project rules.
- Implement solutions without workarounds.
- Create and run all task tests before considering the task finished.
Step 6: Mark Task Complete (Mandatory)
- After successful implementation and tests, mark the task as complete in
tasks.md.
Step 7: Review (Mandatory)
- Execute the
task-reviewer agent to review the implementation.
- Address any issues identified by the reviewer.
- Do not finalize the task until review issues are resolved.
Error Handling
- If the task file does not exist, halt and report to the user.
- If dependencies are not complete, warn the user and ask whether to proceed.
- If tests fail, fix the issues before marking the task as complete.
- If the task-reviewer identifies critical issues, address them before finalizing.