con un clic
plan-task
// Plan and track execution of a task. Use when starting implementation of a task defined in a milestone plan.
// Plan and track execution of a task. Use when starting implementation of a task defined in a milestone plan.
Add a new AI coding agent to Agent Sandbox. Creates all required files (Dockerfile, templates, CI, docs) and wires the agent into the CLI, proxy, and build system.
Break a milestone into discrete tasks. Use when starting work on a milestone that has been defined in the project plan.
Create a project plan for a new initiative. Use when starting a new project, defining goals, breaking work into milestones, and doing initial technical due diligence.
Entry point for the three-tier planning system. Use when starting planning work at any level - project, milestone, or task.
| name | plan-task |
| description | Plan and track execution of a task. Use when starting implementation of a task defined in a milestone plan. |
Part of the three-tier planning system. See /plan for an overview.
This skill guides implementation of a single task, from initial planning through completion. It maintains an execution log that captures problems, decisions, and learnings along the way.
Before starting, read:
docs/plan/learnings.md - to incorporate lessons from previous workdocs/plan/decisions/Two files in docs/plan/milestones/{milestone}/tasks/{task}/:
task.md - The plan and final outcome (living document, update as things change)execution-log.md - Running log updated during implementation (captures the journey)The task plan is a living document. Update scope, approach, and checklist as things evolve. The execution log preserves history, so there's no need to treat the plan as a snapshot.
A task moves through three phases:
Before writing code, understand what we're building and how. Planning is iterative - expect to refine the approach through discussion before it's finalized.
This phase requires your approval before proceeding to execution.
Capture the plan in the task document. Review and iterate until the approach is solid, then get explicit approval before proceeding to implementation.
During implementation:
task.md current as steps are completedexecution-log.mdUpdate the execution log whenever:
Do not let updates accumulate. Frequent, small updates are more valuable than infrequent summaries.
At natural breakpoints, review progress:
docs/plan/decisions/?When the task is done:
Review the execution log and extract learnings from this task:
Consolidate and distill insights from the execution log entries into docs/plan/learnings.md.
Create at docs/plan/milestones/{milestone}/tasks/{task}/task.md:
# Task: {identifier} - {name}
## Summary
{From milestone plan}
## Scope
{From milestone plan, updated if changed}
## Acceptance Criteria
{From milestone plan}
- [ ] {Criterion 1}
- [ ] {Criterion 2}
## Applicable Learnings
{Lessons from previous work that apply to this task}
## Plan
### Files Involved
{List of files to create, modify, or delete}
### Approach
{How we're going to implement this}
### Implementation Steps
- [ ] {Step 1}
- [ ] {Step 2}
- [ ] {Step 3}
### Open Questions
{Uncertainties to resolve during implementation}
## Outcome
### Acceptance Verification
- [x] {Criterion 1 - verified}
- [x] {Criterion 2 - verified}
### Learnings
{What we learned from this task - also append to docs/plan/learnings.md}
### Follow-up Items
{Anything discovered that affects other tasks or the milestone plan}
Create at docs/plan/milestones/{milestone}/tasks/{task}/execution-log.md.
Entries are in reverse chronological order - newest at the top, so the latest activity is always visible first.
# Execution Log: {identifier} - {name}
## {Timestamp} - Latest entry
{Entry describing what happened}
**Issue:** {If applicable - describe the problem}
**Solution:** {How it was resolved}
**Decision:** {If applicable - what was decided and why}
**Learning:** {If applicable - insight for future work}
## {Timestamp} - Previous entry
{Earlier entry}