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

execplan-create

Skill78 starsChanged 6 months agoMITView on GitHub

Create an ExecPlan from a locked refactor decision, PRD, RFC, or detailed problem statement, following the repo's PLANS.md. Use when the user asks for an exec plan, execution plan, or ExecPlan, or wants a decided refactor turned into a step-by-step plan.

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. About 0 are common, 15 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈15

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write plans the way a strong software designer would: not as a task list for rearranging code, but as a path to a simpler system with …

    line 9
  2. Distinctive:

    If using a decided work item, do not silently reopen candidate search unless the decision artifact is clearly incomplete.

    line 23
  3. Very specific:

    Update .agent/active as a convenience symlink when operating on a work item, but do not treat it as authoritative over meta.json.

    line 38
  4. Very specific:

    If no work-item directory is available and the user explicitly wants the older singleton flow, you may still write …

    line 42
  5. Very specific:

    Read {baseDir}/.agent/PLANS.md in full before drafting.

    line 47
  6. Very specific:

    If {baseDir}/.agent/PLANS.md is missing, copy this skill's PLANS.md to {baseDir}/.agent/PLANS.md, then read that copy as the source of …

    line 48
  7. Distinctive:

    Follow PLANS.md exactly. If any instruction conflicts with this skill, PLANS.md wins.

    line 49
  8. Distinctive:

    Use John Ousterhout's design philosophy as the default planning lens:

    line 53
  9. Distinctive:

    prefer deep modules over shallow wrappers

    line 55
  10. Distinctive:

    prefer interfaces that hide sequencing and policy

    line 56
  11. Distinctive:

    prefer fewer concepts and fewer special cases

    line 57
  12. Distinctive:

    prefer simpler mental models over elegant-looking decomposition

    line 58
  13. Distinctive:

    prefer concentrating complexity behind a stable boundary over spreading it around

    line 59
  14. Distinctive:

    Treat these as the main forms of complexity:

    line 61
  15. Distinctive:

    When authoring a plan, answer these questions explicitly:

    line 67
  16. Distinctive:

    If operating on a decided work item:

    line 79
  17. Distinctive:

    If operating from a raw user brief instead:

    line 84
  18. Very specific:

    create or reuse a work-item directory under .agent/work/

    line 86
  19. Distinctive:

    use the user brief as the planning source

    line 88
  20. Distinctive:

    Write the ExecPlan to:

    line 101
  21. Very specific:

    If using a work item, update meta.json:

    line 116

≈ “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

ExecPlan Authoring

Write plans the way a strong software designer would: not as a task list for rearranging code, but as a path to a simpler system with clearer boundaries.

Preferred Inputs

Preferred source input is a decided work item with a completed decision.md.

Supported inputs, in priority order:

  1. explicit work-item path
  2. explicit decision.md path
  3. .agent/active when it points at a work item with stage="decision" and state="completed"
  4. the most recently updated work item under .agent/work/ with stage="decision" and state="completed"
  5. a user-supplied PRD, RFC, voice note, or detailed problem statement

If using a decided work item, do not silently reopen candidate search unless the decision artifact is clearly incomplete.

Work Item Model

For the new workflow, plans live inside work-item directories:

.agent/work/<id-slug>/execplan.md

Each work item should have a small meta.json file with:

  • stage
  • state
  • timestamps
  • relative artifact paths

Update .agent/active as a convenience symlink when operating on a work item, but do not treat it as authoritative over meta.json.

Legacy compatibility:

  • If no work-item directory is available and the user explicitly wants the older singleton flow, you may still write .agent/execplan-pending.md.
  • Downstream skills will prefer the work-item format and only fall back to legacy singleton files when needed.

Source of Truth

  • Read {baseDir}/.agent/PLANS.md in full before drafting.
  • If {baseDir}/.agent/PLANS.md is missing, copy this skill's PLANS.md to {baseDir}/.agent/PLANS.md, then read that copy as the source of truth.
  • Follow PLANS.md exactly. If any instruction conflicts with this skill, PLANS.md wins.

Ousterhout Lens

Use John Ousterhout's design philosophy as the default planning lens:

  • prefer deep modules over shallow wrappers
  • prefer interfaces that hide sequencing and policy
  • prefer fewer concepts and fewer special cases
  • prefer simpler mental models over elegant-looking decomposition
  • prefer concentrating complexity behind a stable boundary over spreading it around

Treat these as the main forms of complexity:

  • change amplification
  • cognitive load
  • unknown unknowns

When authoring a plan, answer these questions explicitly:

  • what complexity exists today, and who pays for it
  • what boundary or interface becomes simpler after this work
  • what knowledge moves out of callers and into the implementation
  • what special cases, duplicate concepts, or orchestration steps disappear
  • what future change becomes easier after this work

Workflow

Step 1: Resolve the input source

If operating on a decided work item:

  • read meta.json
  • read decision.md

If operating from a raw user brief instead:

  • create or reuse a work-item directory under .agent/work/
  • initialize or update meta.json
  • use the user brief as the planning source

Step 2: Inspect the repo and planning boundaries

Inspect the relevant files and flows. Ask:

  • what callers currently need to know
  • where sequencing leaks
  • where concepts duplicate
  • where special cases accumulate

Step 3: Draft execplan.md

Write the ExecPlan to:

  • work-item format: .agent/work/<id-slug>/execplan.md
  • legacy fallback only when necessary: .agent/execplan-pending.md

The plan should:

  • preserve the hard constraints from decision.md
  • name the exact files and boundaries involved
  • explain the current pain
  • describe the intended complexity dividend
  • remain self-contained and novice-friendly

Step 4: Finalize metadata

If using a work item, update meta.json:

  • stage="plan"
  • state="completed"
  • artifacts.execplan="execplan.md"
  • updated_at=<now>

Anti-Patterns

  • reopening candidate search during planning without strong evidence
  • writing a mechanically correct plan that preserves the same complexity under new names
  • proposing thin wrappers or pass-through modules unless they clearly hide detail
  • leaving key design choices to the implementer when the repo evidence is already strong

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.