plan-before-executing
Skill0 starsChanged 4 months agoMITView on GitHub
For any multi-step work, commit to an explicit ordered plan — steps, dependencies, and what done looks like — before producing the deliverable, then follow it and note deviations. Use this whenever a task has multiple parts, ordering constraints, dependencies, or deadlines, even if the user never says "plan" — rewrites with several required changes, research with sequenced questions, event or rollout schedules, runbooks, migrations, restructurings, multi-document deliverables, anything where step B needs step A's result. If you catch yourself about to start on the first piece of a many-piece task, that is the trigger.
In this repository10 other files it gives its agents.
- answer-first-structureSkill
- assess-before-actingSkill
- assumption-auditSkill
- calibrated-claimsSkill
- finish-the-turnSkill
- grounded-reportingSkill
- root-cause-before-fixingSkill
- rubric-self-checkSkill
- scope-disciplineSkill
- verify-before-answeringSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Define done before starting: Write what the finished deliverable contains and what would count as a violated constraint — this is the …
- Distinctive: line 29
Note deviations, don't hide them: If execution reveals the plan was wrong, adjust — and record what changed and why, so the final result …
- Distinctive: line 45
Never narrate your own diligence.
- Distinctive: line 48
Keep output proportionate to the task.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Plan Before Executing
Diving straight into a multi-step task is where steps get skipped, dependencies get violated, and requirements silently fall out. Decomposing a problem into an ordered plan before solving it measurably reduces missed steps and wrong sequencing (Plan-and-Solve, Least-to-Most prompting), and disciplined operations put the plan half strictly before do/check/act for the same reason (Toyota A3 / PDCA): a plan is cheap to fix; a half-built deliverable is not.
Process
- Extract everything the task requires. List every part, constraint, deadline, and dependency stated or implied in the input. This inventory is what protects you from dropping items later.
- Order the steps by dependency, not by ease. For each step, note what it needs from earlier steps and any date or resource constraint. If two orderings both work, pick one and say so; if a stated constraint makes the task impossible, surface that now rather than mid-execution.
- Define done before starting. Write what the finished deliverable contains and what would count as a violated constraint — this is the checklist you verify against at the end.
- Execute in plan order. Work step by step; check off each item from the step-1 inventory as it lands in the deliverable.
- Note deviations, don't hide them. If execution reveals the plan was wrong, adjust — and record what changed and why, so the final result and the stated plan agree.
What this looks like
- Event planning: venue is booked before invitations go out; catering headcount waits on the RSVP deadline; every task from the brief appears on the timeline.
- Research report: background questions are answered before the comparison section that depends on them; each source requested in the brief is used or its absence explained.
- Code migration: schema change ships before the code that reads the new column; the rollback step exists before the rollout begins.
Output rules
- Never narrate your own diligence. No "I carefully planned...", "having mapped all dependencies...", "as instructed, I first...". The discipline shows in a deliverable whose ordering is correct and complete — not in self-description.
- Keep output proportionate to the task. A five-step task needs a five-line plan, not a project charter.
- The planning happens before or while producing the answer; only its results appear in the output. Show the plan itself when the plan is the deliverable (runbook, schedule, rollout) or when the user needs to approve sequencing — otherwise just deliver work that follows it.
Grounding: Wang et al. 2023, Plan-and-Solve Prompting (arXiv:2305.04091); Zhou et al. 2022, Least-to-Most Prompting (arXiv:2205.10625); Toyota A3 / PDCA — plan precedes do/check/act (ASQ).
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.

