Exec plan

From pproenca/dot-skills · View interactive version

Exec plan is an AI agent skill from the GitHub repository pproenca/dot-skills. Manage the lifecycle of ExecPlans — self-contained, living specifications for multi-step work. Creates plans in the correct format, enforces living section updates, and handles the active → completed transition. Use for any work expected to take more than one session or touching more than 3 files. T

How to use this skill

Skill file

ExecPlan — Lifecycle Management

Announce at start: "Using the exec-plan skill."

What is an ExecPlan

A self-contained, living document that a fresh agent session can follow to deliver observable, working behavior. Lives in docs/exec-plans/. The format follows the specification in docs/PLANS.md.

An ExecPlan is NOT a todo list. It is a narrative that tells the story of a change: why it matters, what the codebase looks like now, what it should look like after, and how to prove it worked.

When to use this skill

The Three Modes

Mode 1: CREATE a new plan

When starting new multi-step work:

  1. Read docs/PLANS.md for the template and requirements.
  2. Create the plan at docs/exec-plans/active/{descriptive-kebab-name}.md.
  3. Fill ALL sections from the template. Non-negotiable sections:
  1. Every file path must be absolute from repo root.
  2. Every term must be defined inline — assume the reader knows nothing.
  3. Commit the plan before starting implementation.

Mode 2: CONTINUE an existing plan

When resuming work or executing the next milestone:

  1. Read the plan file in docs/exec-plans/active/.
  2. Find the first unchecked item in Progress.
  3. Before starting work, check: are there any Surprises from previous sessions that affect this task?
  4. Execute the milestone following the Plan of Work.
  5. After each completed milestone, IMMEDIATELY update the plan:
  1. Commit the plan update alongside the code changes.
  2. Run the Validation commands to confirm success.

CRITICAL: Never claim a milestone is done without updating the plan file. The plan IS the persistence mechanism. If you don't update it, the next session will redo the work.

Mode 3: COMPLETE a plan

When all milestones are done:

  1. Fill the Outcomes & Retrospective section:
  1. Move the file: git mv docs/exec-plans/active/{name}.md docs/exec-plans/completed/{name}.md
  2. Commit with message: docs: complete exec-plan {name}

Quality Checks

Before committing any plan (new or updated), verify:

Anti-patterns

Integration with other skills

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.