writing-plans
Skill1 starsChanged 6 months agoMITView on GitHub
Turn an approved spec into a bite-sized implementation plan an engineer with zero context could execute — exact files, exact code, exact commands, Red-Green TDD steps, frequent commits. Use when you have a spec for a multi-step task. Saves to docs/<feature>-plan.md and hands off to executing-plans or subagent-driven-development.
189 other projects use a version of this.
Adopted by
Most recently taken up by
- andreymudri/fleetmatestheir own version, first seen Oct 5, 2026
- invergent-ai/surogatestheir own version, first seen Oct 5, 2026
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- ryanportfolio/Harness-Firmwaretheir own version, first seen Oct 3, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
- LayneChai/superpowers-dshtheir own version, first seen Oct 3, 2026
Used with
Projects with it also use diagnosing-superpowers, chinese-git-workflow 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.
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 6 projects that use this
MorningStar0709Skillchinese-git-workflow
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
Also in 4 projects that use this
SuperInstanceSkillmarketing-mode
Marketing Mode combines 23 comprehensive marketing skills covering strategy, psychology, content, SEO, conversion optimization, and paid growth. Use when users need marketing strategy, copywriting, SEO help, conversion optimization, paid advertising, or any marketing tactic.
Also in 4 projects that use this
itallstartedwithaideaSkilllong-horizon-workflows
Long-Horizon Workflows enable AI agents to execute multi-hour, multi-phase autonomous pipelines that far exceed the scope of a single conversation turn.
Also in 4 projects that use this
shibit-netSkillchinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
shibit-netSkillchinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
- +1 more from shibit-net
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
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- microsoft/FluidFramework★ 4.9ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- coco-research/coco★ 437same name
- Ibrahim-3d/orchestrator-supaconductor★ 380same name
- jd-opensource/JoySafeter★ 312same name
- theexperiencecompany/gaia★ 306same name
- graniet/kheish★ 221same 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 repository24 other files it gives its agents.
- api-designSkill
- brainstormingSkill
- councilSkill
- dispatching-parallel-agentsSkill
- document-toolkitSkill
- executing-plansSkill
- gui-input-automationSkill
- humanizeSkill
- hyprland-controlSkill
- incremental-implementationSkill
- issue-to-prSkill
- litreviewSkill
- mcp-builderSkill
- rust-reviewSkill
- screen-captureSkill
- session-handoffSkill
- shadcn-auditSkill
- spec-to-issuesSkill
- subagent-driven-developmentSkill
- teachSkill
- unslopSkill
- using-git-worktreesSkill
- visual-computer-use-loopSkill
- writing-flowSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
6
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 9
Write the plan as if whoever executes it has zero context for this codebase.
- Distinctive: line 17
If you're working in an isolated worktree, it should already exist (via the using-git-worktrees skill).
- Distinctive: line 22
If the spec covers several independent subsystems, it should have been split during brainstorming.
- Distinctive: line 28
Before writing tasks, list which files get created or modified and what each is responsible for — this locks in the decomposition.
- Distinctive: line 38
Write the failing test → run it, confirm it fails → write the minimal code → run it, confirm it passes → commit.
- Very specific: line 58
Use the project's real tooling — pnpm for web/TS, cargo for Rust, go test for Go.
- Distinctive: line 113
Check the plan against the spec with fresh eyes:
“Common” is measured: kept by at least 6 in 10 of the 174 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
Write the plan as if whoever executes it has zero context for this codebase. Spell out everything: which files, the actual code, how to test it. Hand them the whole job as small steps. DRY, YAGNI, Red-Green TDD, frequent commits.
Say at the start: "Using the writing-plans skill to create the plan."
Save to: docs/<feature>-plan.md (user preference overrides this).
If you're working in an isolated worktree, it should already exist (via the using-git-worktrees skill). Otherwise the plan runs on a feature branch.
Scope check
If the spec covers several independent subsystems, it should have been split during brainstorming. If not, say so and write one plan per subsystem. Each plan produces working, testable software on its own.
Map the files first
Before writing tasks, list which files get created or modified and what each is responsible for — this locks in the decomposition. One responsibility per file; files that change together live together; prefer small focused files. In an existing codebase, follow its patterns; only split a file you're already modifying if it's grown unwieldy.
Task granularity
Each step is one action, ~2-5 minutes:
- Write the failing test → run it, confirm it fails → write the minimal code → run it, confirm it passes → commit.
Plan header
# [Feature] Implementation Plan
> **For agents:** Use subagent-driven-development (recommended) or
> executing-plans to run this task-by-task. Steps use `- [ ]` checkboxes.
**Goal:** [one sentence]
**Architecture:** [2-3 sentences]
**Stack:** [key libraries/tools]
---Task structure
Use the project's real tooling — pnpm for web/TS, cargo for Rust, go test
for Go.
### Task N: [Component]
**Files:**
- Create: `exact/path/file.ts`
- Modify: `exact/path/existing.ts:123-145`
- Test: `exact/path/file.test.ts`
- [ ] **Step 1 — failing test**
```ts
test('specific behavior', () => {
expect(fn(input)).toEqual(expected)
})
```
- [ ] **Step 2 — run it, confirm it fails**
Run: `pnpm test file.test.ts` → FAIL: "fn is not defined"
- [ ] **Step 3 — minimal implementation**
```ts
export function fn(input) { return expected }
```
- [ ] **Step 4 — run it, confirm it passes**
Run: `pnpm test file.test.ts` → PASS
- [ ] **Step 5 — commit**
```bash
git add file.ts file.test.ts && git commit -m "feat: add specific feature"
```(For Rust: cargo test name; for Go: go test ./....)
No placeholders
These are plan failures — never write them:
- "TBD", "TODO", "implement later", "fill in details"
- "Add error handling / validation / edge cases" (show it)
- "Write tests for the above" without the test code
- "Similar to Task N" — repeat the code; tasks get read out of order
- Steps that say what to do without showing how
- Types/functions referenced but defined in no task
Self-review
Check the plan against the spec with fresh eyes:
- Coverage — point to a task for each spec requirement. Add tasks for gaps.
- Placeholders — search for the red flags above. Fix them.
- Type consistency — do names/signatures in later tasks match earlier ones?
clearLayers()in Task 3 andclearFullLayers()in Task 7 is a bug.
Fix inline.
Execution hand-off
Plan saved to docs/<feature>-plan.md. Two ways to run it:
1. Subagent-driven (recommended) — fresh subagent per task, reviewed between
tasks. Uses subagent-driven-development.
2. Inline — run tasks in this session with checkpoints. Uses executing-plans.
Either way it finishes on a branch → PR → merge. Which one?
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.

