Executing plans

From andreaswasita/copilot-agents-dojo · View interactive version

Executing plans is an AI agent skill from the GitHub repository andreaswasita/copilot-agents-dojo. Executes approved plans one task at a time, verified.

How to use this skill

Skill file

Executing Plans Skill

Walks an approved tasks/todo.md plan step by step: pick the next task, execute it, verify it, commit it, mark it done. Does NOT freelance new scope mid-execution and does NOT skip the verification gate.

When to Use

Prerequisites

How to Run

1. Read tasks/todo.md. Identify the next unchecked task.
2. Confirm its prerequisites are satisfied.
3. Execute the task.
4. Run the verify-before-done skill.
5. Append the Verification Results block.
6. Commit. Mark the checkbox `- [x]`.
7. Repeat. Post a short progress note every 2–3 tasks.

Quick Reference

| Phase | Action | Tool |

|---|---|---|

| Load | Read tasks/todo.md | view |

| Execute | Make the change | edit, powershell |

| Verify | Tests + gate + diff | verify-before-done skill |

| Record | Append Verification Results | edit |

| Commit | One commit per task | powershell → git commit |

| Mark done | Flip - [ ] to - [x] | edit |

Procedure

Step 1: Load the Plan

Open tasks/todo.md with view. Locate the next - [ ] step. If none exist, the plan is done — hand off to finishing-a-development-branch.

Step 2: Check Prerequisites

Read the task. Confirm any "depends on" notes are satisfied. If a prerequisite is missing, STOP — do not improvise around it; re-plan first.

Step 3: Execute Exactly One Task

Make the change. Resist the urge to bundle "while I'm here" cleanups. Scope discipline is the whole point of the plan.

Step 4: Verify

Invoke the verify-before-done skill. Do not consider the task complete until it has produced a Verification Results block:

### Verification Results
- [x] Tests: 47 passed, 0 failed
- [x] Dojo gate: `verify.sh --check` PASS
- [x] Diff matches plan
- [x] Clean tree

Step 5: Commit and Mark Done

git add -A
git commit -m "<type>: <task title>"

Then edit tasks/todo.md to flip - [ ] → - [x].

Step 6: Handle Blockers Explicitly

If a task cannot complete as planned:

  1. Do not improvise around it.
  2. Annotate the task in tasks/todo.md:

```markdown

> ⚠️ BLOCKED: Schema does not support required query. Need index or restructure Step 1.

```

  1. Re-plan. Update the plan. Resume from the revised version.

Step 7: Progress Updates

Every 2–3 completed tasks, post a short status:

**Progress:** 3/5 tasks complete
- ✅ Schema, models, endpoints
- ⏳ Next: validation
- 🚫 No blockers

Pitfalls

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.