plan-writing
Skill1 starsChanged 3 months agoMITView on GitHub
How to write an implementation plan for a complex or batched todo. Used by the planner, or when the human asks for "a plan", "decomposition", "breakdown", "implementation strategy", "sequencing".
9 other projects use a version of this.
Adopted by
Most recently taken up by
- VoDaiLocz/kilo-kit-mcptheir own version, first seen Aug 21, 2026
- dirtybits/agent-skillstheir own version, first seen Jun 16, 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
- dirtybits/agent-skills★ 2same 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
- CLAUDE.mdCLAUDE.md
- adversarial-reviewSkill
- clean-architectureSkill
- decision-recordingSkill
- design-system-checkSkill
- feature-branchingSkill
- finding-dispositionSkill
- git-recoverySkill
- gotcha-recordingSkill
- human-checkpointSkill
- plan-reviewSkill
- pr-createSkill
- spec-writingSkill
- tdd-loopSkill
- update-toolkitSkill
- wiki-updateSkill
- worker-dispatchSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Use this exact template:
- Very specific: line 67
When re-dispatched after a failed developer attempt, overwrite the plan with a fundamentally different approach.
“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
The plan is returned in full as your report — never written to disk. The developer receives its text.
Read first
docs/wiki/entities/<slug>.md— the## Behaviorsection is the contract you are decomposing. List the case IDs you cover this cycle.docs/wiki/requirements.md— the relevant section.docs/wiki/architecture.md—## Stack,## Layers,## Testing strategy. The plan fits the project's structure; it never invents a new one.docs/wiki/gotchas.md— known failure points that should shape the sequence.docs/wiki/commands.md— the test command and the architecture check, verbatim.- One similar existing entity's implementation — mirror its layout and naming.
Plan structure
Use this exact template:
# Plan: <slug>
## Goal
<one paragraph — what shipping this means in observable terms>
## Behavior cases covered
- <slug> B1: <case text, copied from the entity page>
## Approach
<2-4 sentences — the approach, with one-line justification vs alternatives. On retry, name the prior failed approach and why this one is fundamentally different.>
## Steps
1. <action> (case: B1; layer: <layer>; touches: path)
2. ...
## Files to touch (estimate)
- path/to/file — layer — change description
## New dependencies between layers
- <from layer> → <to layer>: <why>, and the port/interface it goes through — or "none"
## Risks / unknowns
- <risk> → mitigation
- <case no worker can verify> → the command it needs, which only the conductor can run
## Out of scope
- <explicit non-goal>
## Test command
<verbatim from docs/wiki/commands.md>Sizing rule
Each step is small enough that one test drives it. More than three sub-changes, or more than one Behavior case, → split it. The developer maps step N → test N → green N without ambiguity, in ## Steps order, so order the steps so each can fail Red on its own.
Layers
Every new file names its layer from architecture.md § Layers. A step that would make an inner layer (domain, application) import an outer one (adapters, infrastructure, a framework) is wrong as written: route it through a port the inner layer owns and an adapter the outer layer implements, and list that under ## New dependencies between layers. If the plan cannot fit the declared layers, stop and report — changing the architecture is a human decision recorded as an ADR, never a plan step.
Update on retry
When re-dispatched after a failed developer attempt, overwrite the plan with a fundamentally different approach. In ## Approach, name the prior approach, why it failed, and why the new one should succeed. Keep ## Behavior cases covered identical.
Anti-patterns
- Pseudocode in steps. Steps name the action and the file, not the implementation.
- Inventing requirements. A missing or ambiguous Behavior case is a blocker to report, recommending a fresh interview pass — never a plan that assumes behavior the entity page does not list.
- Editing entity pages. Plans are how, not what.
- Cross-entity batching without a precedent. A batch crossing architectural boundaries with no prior cycle doing so → stop and report.
- Skipping the risks section. "No risks" on a complex todo usually means it should not have been flagged
[complex]— say which. - Far more steps than cases. Usually scope creep; re-check
## Out of scope.
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.

