plan-management
Skill146 starsChanged 3 months agoMITView on GitHub
Plan lifecycle — grill entry point, grounding, artifact review, per-epic execution, revision.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-decisionSkill
- agent-memorySkill
- architect-design-treeSkill
- architect-impl-groundingSkill
- bootSkill
- browser-inspectSkill
- code-coherence-reviewSkill
- code-quality-reviewSkill
- coder-self-reviewSkill
- code-sec-reviewSkill
- context-maintenanceSkill
- contextualizer-self-reviewSkill
- dispatchSkill
- grillSkill
- loop-recoverySkill
- reviewer-architect-adversarialSkill
- reviewer-handoffSkill
- reviewer-self-reviewSkill
- review-loopSkill
- task-trackingSkill
- web-searchSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 9 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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
- Very specific: line 39
If the task does not warrant a full plan, create a to-do instead (uses: skills/task-tracking/SKILL.md).
- Very specific: line 45
Run the grill: Read and follow skills/grill/SKILL.md.
- Distinctive: line 50
After the user confirms:
- Distinctive: line 68
Escalations: If the Architect flagged escalations, present them to the user.
- Very specific: line 70
Review loop: Read and follow skills/review-loop/SKILL.md on the epic's code.
- Very specific: line 73
If all epics are marked ✓, the feature is complete.
- Very specific: line 93
Find the plan directory: Run ls .memory/plan/<feature-slug>/.
- Very specific: line 96
Read
arch.mdonly when revising architecture: Read tree.md only when re-grilling or resuming a mid-grill session. - Distinctive: line 100
When plan revision is needed (new discoveries, clarified requirements):
- Distinctive: line 106
When an epic needs revision (feedback after implementation):
- Very specific: line 108
Assess the feedback: If the feedback requires only minor fixes (typos, small code corrections, no structural impact), dispatch the Coder …
- Very specific: line 109
Edit
impl.mdinline: Update the epic with the revised scope. - Distinctive: line 113
Never mark an epic complete that has not passed the review loop.
- Distinctive: line 114
Never version-bump the plan artifacts.
- Very specific: line 115
When resuming, never bulk-read the plan directory — read plan.md, then impl.md for current progress.
- Distinctive: line 116
Never dispatch the Coder on an epic whose grounding is stale after a landed epic — refresh first.
- Distinctive: line 117
If plan files cannot be found, stop and report the error.
- Distinctive: line 118
Never proceed to the next epic when escalations are unresolved.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
Purpose
This skill defines everything about plans: when to grill, how to ground and review the plan artifacts, how to execute epics, and how to revise. Read this skill whenever the task may require a plan.
Procedure
Plans live in a directory under .memory/plan/:
.memory/plan/<feature-slug>/
├── tree.md — the design tree: decisions, dependencies, recommendations, impact
├── plan.md — acceptance criteria, what + why only
├── arch.md — directory structure, layer separation, reference projects
└── impl.md — epics grouped at one day of work, grounded with file paths, method signatures, test specs<feature-slug>— short kebab-case summary of the feature.tree.md— the grill's working state. The Architect builds and extends it. All nodes settled when the grill terminates.plan.md— acceptance criteria from the settled business decisions. Living document, edited inline as understanding evolves.arch.md— directory structure, layer separation, reference projects. Produced during the grill. The beginner path gets defaults from the maintenance, lightweight, and safe principles (KISS, single responsibility, safe boundaries —rules/code/general.md).impl.md— epics grouped at one day of work. The grill transcribes them. The Architect grounds and re-grounds them. Living document, edited inline as epics land.
Epic completion tracking: Epics in impl.md are annotated with ✓ when fully delivered, or ~ when partially delivered. All epics marked ✓ means the feature is complete.
Parallelizable groups: impl.md notes which epics can run in parallel. The Maestro may dispatch parallel epics to separate coders when file scopes do not overlap (follows: skills/dispatch/SKILL.md).
Deciding When to Plan
A plan is required when the request is lengthy, multi-part, or describes a non-trivial change. When in doubt, plan — planning a simple task wastes minutes; skipping a plan on a complex task wastes hours.
If the task does not warrant a full plan, create a to-do instead (uses: skills/task-tracking/SKILL.md).
Grilling
For tasks requiring a plan:
- Run the grill. Read and follow
skills/grill/SKILL.md. - Confirm. Present the artifacts to the user. Do not act until the user confirms shared understanding.
Grounding
After the user confirms:
- Dispatch the Architect (
personas/architect.md) (follows:skills/dispatch/SKILL.md) in ground mode. The Architect readsplan.md,arch.md, andimpl.md, then annotatesimpl.mdperskills/architect-impl-grounding/SKILL.md. - If the Architect returns escalations (facts that contradict settled decisions), present them to the user. Do not proceed until the user resolves them.
Artifact Review Gate
After grounding:
- Send the grounded artifacts through the review loop (follows:
skills/review-loop/SKILL.md) before proceeding to implementation. - If the review verdict is
fail, re-dispatch the Architect (personas/architect.md) (follows:skills/dispatch/SKILL.md) with the confirmed findings — plan revision forplan.mdorarch.mddefects, grounding revision forimpl.mddefects — and re-review. - Proceed to implementation only when the artifacts pass (
passorpartial-pass).
Tracking Progress
For each pending epic, in order:
- Refresh (skip for the first epic after initial grounding). Dispatch the Architect (
personas/architect.md) (follows:skills/dispatch/SKILL.md) in refresh mode. The Architect classifies the landed epic's discoveries (adjust or escalate) and re-grounds the next epic against the current codebase. - Escalations. If the Architect flagged escalations, present them to the user. Do not proceed until the user resolves them.
- Dispatch the Coder (
personas/coder.md) (follows:skills/dispatch/SKILL.md) for the current epic. One epic per dispatch. - Review loop. Read and follow
skills/review-loop/SKILL.mdon the epic's code. - Mark the epic in
impl.mdwith ✓ (fully delivered) or ~ (partially delivered).
If all epics are marked ✓, the feature is complete. Before reporting to the user, run the review loop in full branch mode (follows: skills/review-loop/SKILL.md → step 1) to comprehensively review the entire branch's accumulated changes.
Finding Plans
To find the plan for a feature:
ls .memory/plan/<feature-slug>/The directory contains tree.md, plan.md, arch.md, and impl.md. If the directory does not exist, no plan exists for that feature.
To find all features with plans:
ls -d .memory/plan/*/Reading Plans Efficiently
- Find the plan directory. Run
ls .memory/plan/<feature-slug>/. - Read
plan.md. See all acceptance criteria and which are delivered (✓), partially delivered (~), or pending. - Read
impl.md. See all epics, which are delivered (✓), partially delivered (~), or pending, and the annotated file paths and method signatures. - Read
arch.mdonly when revising architecture. Readtree.mdonly when re-grilling or resuming a mid-grill session.
Revising Plans
When plan revision is needed (new discoveries, clarified requirements):
- Edit
plan.mdorimpl.mdinline. The artifacts are living documents. Never version-bump them. - If the revision touches epics, re-dispatch the Architect (
personas/architect.md) (follows:skills/dispatch/SKILL.md) to re-ground the affected epics. - Send the revised artifacts through the review loop (follows:
skills/review-loop/SKILL.md).
When an epic needs revision (feedback after implementation):
- Assess the feedback. If the feedback requires only minor fixes (typos, small code corrections, no structural impact), dispatch the Coder (
personas/coder.md) (follows:skills/dispatch/SKILL.md) directly to fix. If the feedback involves structural changes or scope changes, proceed to step 2. - Edit
impl.mdinline. Update the epic with the revised scope. Re-dispatch the Architect (personas/architect.md) (follows:skills/dispatch/SKILL.md) to re-ground the affected epic. Send the revised artifacts through the review loop.
Guardrails
- Never mark an epic complete that has not passed the review loop.
- Never version-bump the plan artifacts. Edit them inline.
- When resuming, never bulk-read the plan directory — read
plan.md, thenimpl.mdfor current progress. Readarch.mdandtree.mdonly when their sections say to. - Never dispatch the Coder on an epic whose grounding is stale after a landed epic — refresh first.
- If plan files cannot be found, stop and report the error. Do not guess paths.
- Never proceed to the next epic when escalations are unresolved. The user must resolve them first.
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
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.

