agentleFS
grp06grp06/useful-codex-skills/implement-execplan/SKILL.md

implement-execplan

Skill78 starsChanged 6 months agoMITView on GitHub

Execute an ExecPlan from a work item under `.agent/work/` or, when necessary, from the older singleton `.agent/execplan-pending.md` flow. Use when the user asks to implement a plan, execute the pending plan, or resume blocked implementation work.

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. About 0 are common, 12 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the ExecPlan as the implementation contract for delivering both the intended behavior and the intended simplification of the system.

    line 9
  2. Distinctive:

    If no supported plan exists, stop and tell the user.

    line 23
  3. Distinctive:

    If operating on a work item, read:

    line 27
  4. Very specific:

    when starting work: stage="implementation", state="active"

    line 35
  5. Very specific:

    when blocked or only partially complete: stage="implementation", state="blocked"

    line 36
  6. Very specific:

    when implementation completes: stage="implementation", state="completed"

    line 37
  7. Distinctive:

    Do not rename plans or move directories to represent lifecycle state.

    line 39
  8. Distinctive:

    When the plan leaves room for judgment:

    line 43
  9. Distinctive:

    prefer deep modules over shallow wrappers

    line 45
  10. Distinctive:

    prefer interfaces that hide sequencing and policy

    line 46
  11. Distinctive:

    prefer fewer concepts, fewer knobs, and fewer special cases

    line 47
  12. Distinctive:

    prefer simple mental models over clever decomposition

    line 48
  13. Very specific:

    Read the ExecPlan in full, then read .agent/PLANS.md.

    line 52
  14. Very specific:

    If available, read decision.md so the implementation stays aligned with the original decision rationale.

    line 54
  15. Very specific:

    Before coding, update meta.json to stage="implementation" and state="active".

    line 55
  16. Very specific:

    Keep the ExecPlan's Progress, Surprises & Discoveries, Decision Log, and Outcomes & Retrospective sections up to date as you go.

    line 58
  17. Distinctive:

    After each meaningful slice, run the plan's validation steps or the nearest targeted verification.

    line 59
  18. Very specific:

    If you finish the implementation, set state="completed".

    line 60
  19. Very specific:

    If you cannot finish safely in the current turn, record the blocker in the plan, set state="blocked", and stop cleanly.

    line 61
  20. Distinctive:

    document design decisions that unblock the next implementation step

    line 72
  21. Distinctive:

    Do not turn an implementation turn into another plan-improvement pass.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Implement ExecPlan

Use the ExecPlan as the implementation contract for delivering both the intended behavior and the intended simplification of the system.

Preferred Input Resolution

Preferred target resolution order:

  1. explicit work-item path supplied by the user
  2. explicit execplan.md path supplied by the user
  3. .agent/active when it points to a work item with:
    • stage="plan" and state="completed", or
    • stage="implementation" and state="blocked"
  4. the most recently updated work item under .agent/work/ matching those same rules
  5. legacy fallback: .agent/execplan-pending.md

If no supported plan exists, stop and tell the user.

Work Item Responsibilities

If operating on a work item, read:

  • meta.json
  • decision.md when present
  • execplan.md

This skill owns execution-state transitions in meta.json:

  • when starting work: stage="implementation", state="active"
  • when blocked or only partially complete: stage="implementation", state="blocked"
  • when implementation completes: stage="implementation", state="completed"

Do not rename plans or move directories to represent lifecycle state.

Ousterhout Lens

When the plan leaves room for judgment:

  • prefer deep modules over shallow wrappers
  • prefer interfaces that hide sequencing and policy
  • prefer fewer concepts, fewer knobs, and fewer special cases
  • prefer simple mental models over clever decomposition

Workflow

  1. Read the ExecPlan in full, then read .agent/PLANS.md.
  2. Reconstruct the intended behavior, target boundary, and complexity dividend.
  3. If available, read decision.md so the implementation stays aligned with the original decision rationale.
  4. Before coding, update meta.json to stage="implementation" and state="active".
  5. Inspect the relevant code paths before editing.
  6. Implement milestone by milestone.
  7. Keep the ExecPlan's Progress, Surprises & Discoveries, Decision Log, and Outcomes & Retrospective sections up to date as you go.
  8. After each meaningful slice, run the plan's validation steps or the nearest targeted verification.
  9. If you finish the implementation, set state="completed".
  10. If you cannot finish safely in the current turn, record the blocker in the plan, set state="blocked", and stop cleanly.

Implementation-First Rule

This skill is for execution, not more planning.

You may update the ExecPlan during implementation only to:

  • record progress actually made
  • record discoveries from code already inspected
  • tighten milestones or acceptance criteria to match current repo reality
  • document design decisions that unblock the next implementation step

Do not turn an implementation turn into another plan-improvement pass.

Anti-Patterns

  • satisfying the letter of the plan while preserving the same interface burden
  • adding wrappers, adapters, or helper layers that hide little
  • pushing sequencing or policy outward to callers
  • finishing with only ExecPlan edits when implementation work remains
  • using file moves or renames as the primary state transition

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.