plan-writing
Skill2 starsChanged 6 months agoMITView on GitHub
Write, review, and maintain implementation-ready .plan.md files with YAML frontmatter, actionable TODO lists, concrete execution details, verification gates, and rollback notes. Use when creating, splitting, reviewing, or updating plan files, especially files under .agents/plans or .cursor/plans — and also whenever implementing or executing work from an existing .plan.md, so todo statuses and the plan body stay current as steps complete.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- dagarre00/claude-code-templatetheir own version, first seen Sep 7, 2026
- VoDaiLocz/kilo-kit-mcptheir own version, first seen Aug 21, 2026
- Fandry96/k3-agentic-skillstheir own version, first seen May 12, 2026
- KellyDigitalArmy/ClaudeCodetheir own version, first seen May 5, 2026
- jornalistainclusivo/jinc-skillstheir own version, first seen Apr 22, 2026
- SKB3002/agenthubtheir own version, first seen Apr 20, 2026
Used with
Projects with it also use intelligent-routing.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tiendatworkSkillintelligent-routing
Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- Fandry96/k3-agentic-skills★ 27same name
- VoDaiLocz/kilo-kit-mcp★ 27same name
- xfstudio/skills★ 9same name
- SKB3002/agenthub★ 4same name
- ai4brands-design/claude-skills★ 2same name
- dagarre00/claude-code-template★ 1same name
- jornalistainclusivo/jinc-skills★ 1same name
- tiendatwork/claude-skills★ 1same name
- KellyDigitalArmy/ClaudeCode★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ethereum-developmentSkill
- financial-analysisSkill
- find-skillsSkill
- fix-bugbot-pr-commentsSkill
- frontend-designSkill
- github-workflowsSkill
- guarded-db-migrationSkill
- multi-agent-worktree-disciplineSkill
- npm-publishSkill
- phase-pr-review-loopSkill
- research-intelligence-workflowsSkill
- simplified-technical-englishSkill
- skills-organizationSkill
- software-development-workflowsSkill
- subagent-orchestrationSkill
- turn-closeoutSkill
- web3-protocol-designSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
When writing or reviewing a plan file:
- Very specific: line 19
Use the .plan.md extension.
- Very specific: line 20
When the user does not specify a location, default to <repo>/.agents/plans/.
- Very specific: line 21
Start with YAML frontmatter containing name, overview, todos, and isProject.
- Distinctive: line 23
After frontmatter, write the plan body in Markdown.
- Distinctive: line 26
Prefer exact files, commands, config keys, target hosts, acceptance criteria, and blockers over broad intent.
- Distinctive: line 27
Do not hide open questions.
- Very specific: line 36
Only mark completed when the step truly finished, including its verification.
- Very specific: line 37
If a step turns out to be unnecessary or is superseded, do not leave it pending forever and do not silently delete it — mark it completed …
- Distinctive: line 39
When the last todo completes, give the body a final pass: blockers that materialized, follow-ups discovered during implementation, and …
- Distinctive: line 95
Keep the plan concise, but remove ambiguity before removing detail.
- Distinctive: line 96
After execution, statuses and body reflect what actually happened, not what was originally intended.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Plan Writing
Instructions
When writing or reviewing a plan file:
- Use the
.plan.mdextension. - When the user does not specify a location, default to
<repo>/.agents/plans/; if the repo already has an established plans directory such as.cursor/plans/, follow that local convention. - Start with YAML frontmatter containing
name,overview,todos, andisProject. - Make
todosa short execution checklist with stable lowercase hyphenatedidvalues, concretecontent, andstatus: pending. - After frontmatter, write the plan body in Markdown.
- Include enough repo-specific detail that another agent can implement without guessing.
- Separate implementation steps from validation, rollout, and rollback when the work has operational risk.
- Prefer exact files, commands, config keys, target hosts, acceptance criteria, and blockers over broad intent.
- Do not hide open questions. Add an assumptions or blockers section when requirements are uncertain.
- Date design decisions and verified claims (e.g. "verified 2026-06-09"), so a later session knows how stale they might be.
Executing a Plan
A plan file is shared state across sessions and agents: a resumed or parallel session decides what to do next by reading the todo statuses. Stale statuses cause redone or skipped work, so maintain them as part of the implementation itself, not as cleanup afterward.
- Statuses are
pending,in_progress, andcompleted. - Set a todo to
in_progresswhen starting it, and tocompletedas soon as its work is done and verified — not in a batch at the end of the session. If the session dies mid-plan, the file should still show exactly where things stood. - Only mark
completedwhen the step truly finished, including its verification. A step that ended in failing tests or partial work staysin_progress. - If a step turns out to be unnecessary or is superseded, do not leave it
pendingforever and do not silently delete it — mark itcompletedwith a brief note appended to itscontent(e.g. "— superseded by X"), so the record stays honest. - When implementation diverges from the plan body (a design changes, an edge case forces a different approach), update the body with a short dated note at the point of divergence. The plan should describe what was actually built; a plan that lies is worse than no plan.
- When the last todo completes, give the body a final pass: blockers that materialized, follow-ups discovered during implementation, and anything the next reader needs.
Frontmatter Template
---
name: short-plan-name
overview: "One sentence describing the outcome, scope, and implementation context."
todos:
- id: first-step
content: Concrete task written as an implementation action
status: pending
- id: verify-result
content: Run the checks that prove the plan worked
status: pending
isProject: false
---Body Template
# Plan Title
## Goal
State the desired end state in one short paragraph.
## Scope
- In scope: concrete systems, files, and behaviors.
- Out of scope: tempting but intentionally deferred work.
## Files To Change
- `path/to/file`: exact change expected.
## Implementation Steps
- Step-by-step changes in execution order.
## Verification
- Commands, checks, logs, and acceptance criteria.
## Rollout
- Canary or batch sequence when applicable.
## Rollback
- How to safely undo or disable the change.
## Blockers
- Conditions that should stop implementation or rollout.Quality Bar
- The TODO list should match the plan body.
- The plan should name the repo's existing patterns instead of inventing new ones.
- Verification should prove behavior, not just formatting.
- Rollback should avoid unrelated destructive changes.
- Keep the plan concise, but remove ambiguity before removing detail.
- After execution, statuses and body reflect what actually happened, not what was originally intended.
Keep plans implementation-sized
A useful plan should be small enough for an agent to execute without re-planning. Break broad initiatives into phases with concrete files, commands, and acceptance checks. Avoid vague tasks like "improve UX"; write observable outcomes such as "add empty-state component in src/... and cover it with a screenshot or unit test."
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.

