writing-plans
Skill1 starsChanged 14 days agoMITView on GitHub
Use when you have an approved design in a task file, or clear requirements, for a multi-step change, before touching code
189 other projects use a version of this.
Adopted by
Most recently taken up by
- gromov0737/skillstheir own version, first seen Nov 29, 2026
- hybridlabor-api/aostheir own version, first seen Nov 29, 2026
- autohandai/community-skillstheir own version, first seen Nov 29, 2026
- MorningStar0709/trae-agent-enhancementstheir own version, first seen Nov 29, 2026
- harshadmadaye/OPMtheir own version, first seen Nov 29, 2026
- ericgandrade/agentic-sdlctheir own version, first seen Nov 29, 2026
Used with
Projects with it also use chinese-git-workflow, chinese-code-review and 10 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.
Leodorareluctant259Skillchinese-git-workflow
适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖
Also in 9 projects that use this
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
ryanportfolioSkilladdskill
Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.
Also in 6 projects that use this
ryanportfolioSkillapply-firmware
Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.
Also in 6 projects that use this
- +2 more from Leodorareluctant259
- +6 more from ryanportfolio
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 189
- obra/superpowers★ 314ksame name
- mdiri-ai/SoduWork★ 9.1ksame name
- jnMetaCode/superpowers-zh★ 8.6ksame name
- openai/plugins★ 8.4ksame name
- farm-fe/farm★ 5.6ksame name
- microsoft/FluidFramework★ 5ksame name
- lingyired/status-trio★ 2.2ksame name
- revokslab/ShipFree★ 1.7ksame name
- GanyuanRan/Aegis★ 1.5ksame name
- pcvelz/superpowers★ 1.3ksame name
179 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 repository36 other files it gives its agents.
- skills/writing-skills/references/agents.mdAGENTS.md
- templates/CLAUDE.mdCLAUDE.md
- backend-servicesSkill
- brainstormingSkill
- changing-legacy-codeSkill
- choosing-a-stackSkill
- ci-quality-gatesSkill
- database-changesSkill
- desktop-developmentSkill
- dispatching-parallel-agentsSkill
- docsSkill
- executing-plansSkill
- finishSkill
- git-workflowSkill
- implementSkill
- kit-initSkill
- mobile-developmentSkill
- new-taskSkill
- observabilitySkill
- onboarding-existing-codebaseSkill
- payments-and-moneySkill
- pos-systemsSkill
- publishing-documentsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-reviewSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-motionSkill
- updating-dependenciesSkill
- using-skillsSkill
- verification-before-completionSkill
- verifySkill
- web-frontendSkill
- writing-documentationSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 170 edited versions we read keep these.
2
Distinctive
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 67
Coverage: every success criterion maps to a task.
- Distinctive: line 71
Proportion: if code blocks dominate, replace them with signatures and assertions.
“Common” is measured: kept by at least 6 in 10 of the 170 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
Writing plans
A plan is the set of decisions the implementer cannot make alone: which files, which names and signatures, which values from the description, which tests prove each task. Write for a capable engineer who has never seen this codebase or conversation. A plan longer than the code it describes has written the code instead.
Write the plan into the ## Plan section of the task file (docs/tasks/YYYY-MM-DD-<topic>.md, from brainstorming), replacing "None yet", and set its Base: to git rev-parse HEAD. The file must say Status: design approved; for a draft, ask the user to approve the description first, never approve it yourself. With clear requirements and no task file, create one from ../../templates/task.md and get its description approved. It lives only on the work branch and is deleted when the work is finished.
Header
## Plan
> Execute with the executing-plans skill. Only this section uses `- [ ]` checkboxes.
**Goal:** one sentence
**Architecture:** 2–3 sentences
**Stack / constraints:** versions, dependency limits, platform floors, naming and copy rules. Exact values, copied from the description or the repo.
**Verification:** the project's commands (from CLAUDE.md or `.claude/verify.json`)
### Review focus
Up to five inputs or failure modes the description implies but no test yet covers, most likely first
(empty input, concurrency, retries, offline, locale, large data…). Each gets a test in the task that owns it.
### Post-implementation
Docs this change makes stale (README, docs/, decision record, CHANGELOG, agent manifest, API reference),
each with what to update, or "none: <why>". Name the topic chapter that describes this feature;
a new feature gets a new `docs/NN-<feature>.md`. Done in the same branch, before finishing.
What outlives this task file: behavior → that chapter; decisions and lasting rulings → `docs/decisions/`.Map files first
List the files to create or modify and each one's single responsibility, before defining tasks. Split by responsibility, not by layer. In existing code, follow its structure.
Tasks
A task is the smallest unit that has its own test cycle and could be rejected by a reviewer independently of its neighbours. Fold setup, config and docs into the task that needs them.
### Task N: <component>
**Files:** Create `path/a.ts` · Modify `path/b.ts` · Test `path/a.test.ts`
**Interfaces:** Consumes `fnX(a: A): B` from Task 2 · Produces `fnY(c: C): D`
- [ ] Write failing test `rejects empty email` asserting `{ error: "Email required" }`; add a stub `fnY` that returns `{}`
- [ ] Run `npm test -- a.test.ts` → expect FAIL: expected `{ error: "Email required" }`, received `{}`
- [ ] Implement `fnY(c: C): D` in `path/a.ts` (one line on approach only if the test leaves a choice)
- [ ] Run `npm test -- a.test.ts` → expect PASS, then the full suite
- [ ] Commit `feat(scope): add fnY`What each step contains:
- Test step: the test name and its assertions, with the description's exact values (quote the criterion). The expected FAIL is an assertion failure, never "not defined" or "cannot find module" (that is an error: add a stub). Each numbered criterion names how it is verified, by the rules in
../test-driven-development/references/test-standard.md("Criteria and levels"). - With BDD, outside-in: the task for a user-visible criterion starts with
Write scenario @C3 … → run → expect FAIL at step "<step>", has its unit-test steps in between, and ends withRun scenario @C3 → expect PASS. - Code step: the signature, the file, and any pinned values. Include a body only for an algorithm the tests don't determine.
- Run step: the command and the expected output.
Lines that decide nothing ("handle edge cases", "add validation", "TBD") are gaps. Fix them.
Self-review before handing off
- Coverage: every success criterion maps to a task.
- Steps: each step allows exactly one reasonable implementation.
- Consistency: names and types match across tasks.
- Review focus: each line has a test in its owning task.
- Proportion: if code blocks dominate, replace them with signatures and assertions. Every step ends in something checkable: a command with its expected output, or an observable behavior.
- Docs: Post-implementation names every doc the change affects (writing-documentation).
- Defect: Task 1 is the red reproduction, and the fix removes the cause named in Context.
Then commit the plan (docs(tasks): plan <feature>), link the task file and ask the user to review it and choose how to execute it: inline (cheapest; one review at the end) or subagent per task (a fresh implementer and reviewer agent per task; costs more). Recommend one in one sentence, weighing coupling, task count and the cost of a mistake. On approval, set the file's Status: plan approved (YYYY-MM-DD) and commit it.
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.

