writing-plans
Skill1 starsChanged 31 days agoMITView on GitHub
Write plan.md + progress.md for a task whose intent (and spec, if any) is settled, for the user to approve and then run. Use for "write a plan", "plan this", "split into tasks", HIGH/CRITICAL tasks (R-117) and multi-step features. Not for requests that are still vague.
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 repository17 other files it gives its agents.
- architectureSkill
- brainstormingSkill
- commit-pushSkill
- docs-standardsSkill
- domain-modelingSkill
- e2e-playwrightSkill
- executing-plansSkill
- grillingSkill
- migrating-legacy-codeSkill
- prototypeSkill
- resolving-merge-conflictsSkill
- routingSkill
- security-testingSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Before splitting into tasks, list the files to create or edit and the job of each.
- Distinctive: line 40
Test steps: test name + assertion, carrying the exact values from the spec.
- Very specific: line 97
Plan approval: Run now, delegate to agents by Who (recommended) · Run now inline · Approve, run later · Edit the plan.
- Very specific: line 102
Keep proposed. Settle → edit trang_thai and the index line (commit per R-015: docs/adr/ is not a task artifact, list it and wait for the …
- Very specific: line 113
No ADR answered Keep proposed and the answer is "Run now, delegate to agents" → call the Skill tool with subagent-driven-development.
“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
<!-- Adapted from github.com/obra/superpowers · skills/writing-plans/ (MIT, © 2025 Jesse Vincent), v6.4.1; §2 code tasks and §6 item 8 from v6.4.2. -->Write the plan
Input: intent.md (and spec.md if any), settled in the artifact folder (R-092). A request that is still vague →
clarify first, do not write a plan yet. The file structure lives in docs-standards › style.md (rows plan.md,
progress.md, R-132); this skill is the method and does not redefine it.
1 · File map
Before splitting into tasks, list the files to create or edit and the job of each. One file, one responsibility; files that change together live together; follow the repo's existing structure.
2 · Split into tasks
- Task size per
style.md(one purpose, one verify command, ≤ 3 files). Extra test: split where a reviewer could reject this task and still approve the next; setup, config and docs merge into the task that needs them. - Each task: a section
### <ID>: <name>, a pointer to the spec section or acceptance line,Whoby role (thedeveloperagent for business logic, API contract, schema, permissions, architecture from MEDIUM;quick-fixfor mechanical work), and a Done when command that runs without a person (exit 0 = pass). spec.mdhas a new container or a new arrow in the contract table (architecturelevel 2) → the plan opens with a vertical-slice group: the thinnest main flow that runs through every such container (with login if the flow needs it), sample data, no polish. Each task in the group has one stack, oneWho, and passes the contract gate (subagent-driven-development›run-plan.md§6); the last task of the group has a Done when that runs the flow's e2e. Later tasks build on this group. No new container / arrow → not required.- A plan with a vertical-slice group → the last task of each main flow (a sequence in
spec.md) carries that flow's e2e in Done when. The e2e command follows the project's declared verify command, e2e web tests follow skille2e-playwright; none declared → the vertical-slice group builds the e2e infrastructure, and any new dependency is named in the lead-in to the approval question (§7). A system without UI → API-level e2e. The e2e command is re-run byverifieror main (R-119). - The Interfaces block (meaning in
style.md): the implementer reads only its own task; this block is where it learns the names in neighboring tasks. - Code tasks: signatures in Interfaces (name, parameters, return type), the file that holds them, the values the spec fixes, and the Done-when command. Do not copy code bodies into the plan, except an algorithm that the signature and tests do not determine — state the reason right on the code block.
- Test steps: test name + assertion, carrying the exact values from the spec.
- Rule / skill / agent / hook /
CLAUDE.mdtasks: verbatim wording (style.md); if missing,subagent-driven-developmentstops the task and waits for the user to approve the wording.
3 · Plan header
Front matter tao_boi / tao_luc (R-132) · Goal (one sentence) · Architecture (2–3 sentences) · Spec · Global
Constraints · Review Focus, meaning and limits in style.md. Review Focus: the most likely problem first.
The artifact folder has decision.md → each accepted ADR in it becomes one Global Constraints line: the decision
sentence + link to the ADR. An ADR still proposed → add an ADR question to the plan approval (§7). Approving the
plan does not settle the ADR.
A plan with code tasks → one Global Constraints line: "New code follows R-169: plain, each piece of business logic
in one place, five-question check before reporting done."
4 · No blanks
These patterns are plan defects: "TBD", "do later" · "add suitable error handling", "handle edge cases" · "same as Task N" · a type or function name that no task defines.
5 · Write the files
progress.md first (R-132 table, every cell TODO, the Decided section, the Tried, did not work section), then
plan.md: the table-checking hook reports an error when the order is reversed. No progress checkboxes, no Commit
step inside a task (R-118).
6 · Self-review
- Spec coverage: every requirement points to a task; missing → add a task.
- Blanks: scan for the patterns in §4.
- Consistency: names and signatures in Interfaces match across tasks.
- Review Focus: every line has a test in the task that owns it.
- HIGH / CRITICAL: the plan states reason and risks (R-117) and has
rollback*(R-133). - ADR: every
acceptedADR indecision.mdhas aGlobal Constraintsline. - Vertical slice, e2e: if
spec.mdhas a new container / arrow the plan opens with a vertical-slice group; every main flow has a task carrying its e2e. - Proportion: a plan many times longer than the spec (no spec → intent), or code blocks making up most of the plan → the plan is copying code; replace code bodies with signatures, test names and assertions.
Fix in place, no second self-review.
A HIGH / CRITICAL plan (R-117), a plan with both backend and frontend tasks, or one that changes a contract →
dispatch code-reviewer (it reviews plans as well as diffs) with the template in subagent-driven-development ›
dispatch-templates.md › Review plan; one pass covers both spec.md and plan.md. A plan review is not a diff
review, so it sits outside the R-120 cap: one round, no confirmation round. Fix plan findings before presenting.
A finding that needs a spec change, or a finding left unfixed → name it in the lead-in before the approval question
(§7); approving the plan approves the spec change in that lead-in. Other plans are not dispatched.
7 · Approve and run
The lead-in (chat text right before the ask tool) names: unfixed plan-review findings and spec changes (§6), new e2e dependencies (§2).
One ask-tool call (R-138; AskUserQuestion, or a numbered list when there is no ask tool), ≤ 3 questions, plus the
ADR question if any (> 4 questions → parallel calls, R-138):
- Plan approval: Run now, delegate to agents by
Who(recommended) · Run now inline · Approve, run later · Edit the plan. - Question mode (
subagent-driven-development›run-plan.md§5): 2 · Batch at the end (recommended) · 1 · Ask now · 3 · Decide myself · Skip. - Branch — only when on the main branch (R-015): Create a new branch (recommended) · Work on the current branch (commits go to the main branch) · Skip.
- ADR — only when
decision.mdhas aproposedADR, one question per ADR: Settle asaccepted(recommended) · Keepproposed. Settle → edittrang_thaiand the index line (commit per R-015:docs/adr/is not a task artifact, list it and wait for the user's OK); add theGlobal Constraintsline for that ADR toplan.mdbefore committing the artifacts. Keepproposed→ the plan does not run now: recordDecidedasApprove, run latereven if the plan approval question chose run now.
After the answers:
Edit the plan→ edit as the user says, ask again; the other answers are not used.- Approval (any choice except
Edit the plan) → write theDecidedsection ofprogress.md: the plan-approval line, run mode, question mode, branch and the ADR results (a question answeredSkipis not recorded). Commit the artifacts percommit-push(branchSkipwhile on the main branch → ask for the branch at the commit step), then writeplan_duyet=HEADinto theprogress.mdfront matter and commit (R-132). - No ADR answered Keep
proposedand the answer is "Run now, delegate to agents" → call the Skill tool withsubagent-driven-development; "Run now inline" →executing-plans. Run later → stop, name how to call it:/subagent-driven-development <folder>(or/executing-plans <folder>) or say "run the plan".
Rationalizations
| Thought | Reality |
| "Copy the code into the plan to be safe" | A code task carries signatures + a check command; the body is the implementer's job, except an algorithm the signature and tests do not determine (§2) |
| "This task is like task 3, just reference it" | Write it out; the implementer may read only this task |
| "The user approved, run it now" | Run only when the user chose to run at the approval question (exception: commits during an approved plan run, R-015) |
| "Ask for approval, then ask how to run" | One ask-tool call; chained questions cost an extra step |
R-118 · Commits and how a plan runs
- Skills and agents do not commit on their own: verify done → stop → tell the user → commit per R-015. A green verify
or GREEN test ≠ permission to commit. A
Commitstep in a plan is done by main per R-015; the implementer skips it. - Planning / execution workflows: the agent proposes (
/subagent-driven-developmentor/executing-plans), and the user picks how to run the plan (the plan approval question of this skill). - Artifacts go into the task's artifact folder (R-092), not the plugin's default folder.
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.

