write-plan
Skill1 starsChanged 56 days agoMITView on GitHub
Turns an approved spec into a task-by-task implementation plan of paths, interfaces, behaviors and tests. Use when you have an approved spec or clear requirements for a multi-step change, before touching code.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- taipt1504/claudehuttheir own version, first seen Oct 2, 2026
- giacomo-ciro/skillstheir own version, first seen Sep 24, 2026
- Gusen1453/creedtheir own version, first seen Sep 18, 2026
- arcadesunlabs/skillstheir own version, first seen Sep 14, 2026
- duthaho/claudekittheir own version, first seen Jul 22, 2026
- hassan-mohiddin/freeflowtheir own version, first seen Jun 27, 2026
Used with
Projects with it also use write-spec, review and 1 more.
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.
AnthropicSkillwrite-spec
Write a feature spec or PRD from a problem statement or feature idea. Use when turning a vague idea or user request into a structured document, scoping a feature with goals and non-goals, defining success metrics and acceptance criteria, or breaking a big ask into a phased spec.
Also in 4 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- Arman-Kudaibergenov/1c-ai-development-kit★ 166same name
- duthaho/claudekit★ 97same name
- alamops/skills★ 52same name
- Sir-chawakorn/sanook-cli★ 9same name
- preetamnath/agent-skills★ 4same name
- Gusen1453/creed★ 3same name
- hassan-mohiddin/freeflow★ 3same name
- arcadesunlabs/skills★ 2same name
- raine/skills★ 2same name
- sarmakska/slipstream★ 2same name
5 more not listed
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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adversarial-reviewSkill
- brainstormSkill
- execute-planSkill
- find-root-causeSkill
- finish-branchSkill
- handle-feedbackSkill
- prove-doneSkill
- tddSkill
- triage-open-itemsSkill
- update-specSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
0
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
- Very specific: line 13
When you find something worth doing later that this work does not include, add it as an item to .dietpowers/trackers/open-items.md, …
“Common” is measured: kept by at least 6 in 10 of the 13 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
Write Plan
The plan is executed task by task, possibly in a fresh session that has only the plan, the spec, and the repository. Give each task what that executor needs to build it without guessing: paths, interfaces, behaviors, tests. Leave implementation code to the executor, which writes it against the real repository and runs it.
Ask your partner one question at a time, in plain text; do not use the AskUserQuestion tool, because some clients show only the tool's question and drop the text around it. Put what your partner needs to answer in the same message: the problem and why it matters, then the options, recommended first, each with a short bold label in words (never numbers or letters) and a one-line reason. End with a line naming those labels in the same order, such as Reply with **new PR**, **straight to main**, or **drop it**., and make the question the last thing in the message, after any tool use. Your partner may answer with an option, their own alternative, a question or an aside. Keep messages short: lead with the decision, then only the detail needed to answer it. Before a stretch of work that takes more than a moment, such as dispatching a reviewer, writing a spec or plan, or fixing findings, say in one line what you are about to do; after your partner answers, say what comes next before starting it.
When you find something worth doing later that this work does not include, add it as an item to .dietpowers/trackers/open-items.md, following ## Open items in ${CLAUDE_PLUGIN_ROOT}/shared/trackers.md, and say so in one line.
Before your first commit of the spec or plan for this piece of work, check the plan's Commits: line or your partner's earlier answer. If neither settles it, ask once: "I'll work on branch <name>. May I commit the spec and plan to it as we go? Nothing is pushed or merged without asking. Reply with yes or no." Whatever the answer, move the work to that branch; never commit to main or master. If your partner declines, the spec and plan are held back: wherever a step says to commit them, leave them on disk; the dietpowers:finish-branch skill proposes those commits at the end. Code is always committed.
- Check scope. If the spec spans independent subsystems, invoke the
dietpowers:update-specskill to remove all but one from the spec and add each of the others as an open item whose Why holds its removed sections word for word, then plan the one that remains. If the spec is missing something the plan needs, or planning shows it must change, invoke thedietpowers:update-specskill. - Map the files: what gets created, what gets modified, what each is responsible for. Follow the codebase's existing patterns, and name the existing file each new one should imitate.
- Draw task boundaries at the smallest unit that carries its own test cycle. Fold setup, config and docs into the task that needs them. Split only where a reviewer could reject one task while approving its neighbor.
- Open the plan with a header:
Spec: <path> @ <commit>, giving the spec and its current commit, which marks the approved version (@ uncommittedif commits are held back);Base: <branch>, the branch this work merges into;Commits: approvedorCommits: held back, which covers the spec and plan only, since code is always committed; the goal in one sentence; the architecture in two or three; a Global Constraints section copying the spec's Constraints verbatim; and a References section carrying the spec's references each task will need, with their facts, written once. - For each task write: a
- [ ]checkbox heading; Files, with exact paths; Interfaces, with the exact signatures it consumes and produces; Context, the plan references and existing files the task relies on, plus any fact only this task needs; Behavior, each item concrete enough that two engineers would build the same thing; Tests, naming each test, the behavior it checks, and the production change that would make it fail; the command that runs them. - Save to
docs/dietpowers/YYYY-MM-DD-<topic>-plan.md, using the spec's topic, and commit it if commits are approved.
Terminal state: invoke the dietpowers:adversarial-review skill on the plan.
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.

