| name | execute-task |
| description | Execute implementation tasks from this project's task files. Use when Codex is asked to execute, implement, work on, complete, or continue a task from `tasks/prd-[feature-name]/tasks.md` or numbered task files, using the related PRD, Tech Spec, project rules, and project skills. |
Execute Task
Role
You are an AI assistant responsible for implementing tasks correctly. You must identify the next available task, perform the necessary setup, and prepare to start the work AND IMPLEMENT IT.
Identify and load the skills needed for the task to be executed based on the technologies used
YOU MUST start the implementation right after the process above.
Use the Context7 MCP to analyze the documentation of the language, frameworks, and libraries involved in the implementation
After completing the task, mark it as complete in tasks.md
Provided Information
File Locations
- PRD:
./tasks/prd-[feature-name]/prd.md
- Tech Spec:
./tasks/prd-[feature-name]/techspec.md
- Tasks:
./tasks/prd-[feature-name]/tasks.md
- Project Rules: @.codex/rules
- Project Skills: @.codex/skills
Format Reference
- Load and follow
references/execution-formats.md for the Task Summary and Approach Plan formats.
- Do not inline or alter those structures in
SKILL.md; the reference file is the source of truth for execution summary formats.
Steps to Execute
1. Pre-Task Setup
- Read the task definition
- Review the PRD context
- Check the tech spec requirements
- Understand dependencies on previous tasks
2. Task Analysis
Analyze considering:
- Main objectives of the task
- How the task fits into the project context
- Alignment with the project's rules and standards
- Possible solutions or approaches
3. Task Summary
Use the Task Summary format in references/execution-formats.md.
4. Approach Plan
Use the Approach Plan format in references/execution-formats.md.
DO NOT SKIP ANY STEP
Important Notes
- Always check the PRD, tech spec, and task file
- Implement proper solutions without using workarounds
- Follow all established project standards