writing-plans
Skill2 starsChanged 53 days agoMITView on GitHub
Use when creating phased implementation plans with test-first tasks from a design specification before writing code. Don't use for initial design ideation (use brainstorming), exploratory research (use recursive-research), direct code execution (use executing-plans), or multi-task plan verification and audit defense (use agent-planning).
187 other projects use a version of this, 108 of them edited.
Adopted by
Most recently taken up by
- DemonDamon/AgenticXedited, first seen Nov 9, 2026
- roundpilot/superpowers-antigravitytheir own version, first seen Nov 8, 2026
- REPOZY/superpowers-optimizedtheir own version, first seen Nov 8, 2026
- lingyired/status-triotheir own version, first seen Nov 8, 2026
- ashleysbrain/skillstheir own version, first seen Nov 8, 2026
- ryanportfolio/winuse-mcptheir own version, first seen Nov 8, 2026
Used with
Projects with it also use chinese-code-review, chinese-commit-conventions 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-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
Leodorareluctant259Skillchinese-commit-conventions
中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化
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 versions187 projects use a version of this.
Word for word · 0
None found.
Edited · 108
- openai/plugins★ 7.8k13% same
- farm-fe/farm★ 5.6k16% same
- revokslab/ShipFree★ 1.7k24% same
- DemonDamon/AgenticX★ 1k24% same
- coco-research/coco★ 79717% same
- AgentTeam-TaichuAI/ScienceClaw★ 67117% same
- involvex/youtube-music-cli★ 47724% same
- koaning/wigglystuff★ 45513% same
- derHaken/SuperAntigravity★ 43918% same
- Ibrahim-3d/conductor-orchestrator-superpowers★ 38122% same
98 more not listed
Wrote their own version · 79
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.4ksame name
- microsoft/FluidFramework★ 4.9ksame name
- lingyired/status-trio★ 1.8ksame name
- GanyuanRan/Aegis★ 1.4ksame name
- pcvelz/superpowers★ 1.3ksame name
- math-inc/OpenGauss★ 1.3ksame name
- Tommy-yw/RunbookHermes★ 546same name
- kid-sid/claude-spellbook★ 190same name
- RedWoodOG/Hermes-Desktop★ 177same name
69 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 repository35 other files it gives its agents.
- agent-planningSkill
- brainstormingSkill
- codebase-designSkill
- code-reviewSkill
- conventional-commitSkill
- copy-web-designSkill
- executing-plansSkill
- frontend-designSkill
- i18nSkill
- laravelSkill
- prototypeSkill
- pull-requestSkill
- reactSkill
- recursive-researchSkill
- reflect-to-skillSkill
- review-a-skillSkill
- s13nSkill
- schema-migrationSkill
- security-auditSkill
- skill-testingSkill
- summarizeSkill
- systematic-debuggingSkill
- t3-operational-guardrailSkill
- technical-writingSkill
- testing-patternsSkill
- ui-motionSkill
- ui-ux-reviewSkill
- unslopSkill
- upsert-codebase-docsSkill
- verification-before-completionSkill
- vibe-wiseSkill
- web-advisor-promptSkill
- wizardSkill
- workspace-onboardingSkill
- writing-for-agentsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 15 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 169 edited versions we read keep these.
15
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
Write-Target Boundary. Write only to docs/superpowers/plans/ and .agents/state/writing-plans/.
- Distinctive: line 32
Follow these four steps in sequence.
- Distinctive: line 37
Verify subsystem boundaries.
- Distinctive: line 41
Follow repository conventions.
- Distinctive: line 48
Add the required plan document header at the top of the file.
- Distinctive: line 53
Write the failing test.
- Distinctive: line 54
Run the test and confirm failure.
- Distinctive: line 55
Write minimal implementation code to pass the test.
- Distinctive: line 56
Run the test and confirm success.
- Distinctive: line 57
Commit changes with a descriptive message.
- Distinctive: line 60
Ensure tasks remain self-contained with explicit inputs, outputs, and behavioral boundaries.
- Distinctive: line 67
Verify specification coverage.
- Distinctive: line 69
Verify signature consistency.
- Distinctive: line 81
Wait for the user to choose an execution option before executing any tasks.
- Distinctive: line 89
Every plan must start with this header block:
- Distinctive: line 156
Every step must provide precise contract specifications without duplicating full implementation code in markdown:
“Common” is measured: kept by at least 6 in 10 of the 169 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 implementation plans
Turn validated design specifications into phased implementation plans before writing code. Every task in the plan must produce working, testable software with clear file targets, behavioral test assertions, interface contracts, and deterministic verification commands.
Assume the implementer has no prior context of the codebase and requires explicit technical direction for every change.
<HARD-GATE>
Write-Target Boundary. Write only to `docs/superpowers/plans/` and `.agents/state/writing-plans/`. Do not modify application source, tests, schemas, or build configuration while drafting or reviewing a plan.
</HARD-GATE>Save plans to docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md as transient scaffolding artifacts unless the user specifies a different path. Implementation plans are transient execution scaffolding. The purge happens in executing-plans after final verification. This skill does not purge the plan file.
Modes
Select a planning mode before Step 1:
- Author mode (default). Draft new implementation plans with test-first tasks from design specifications.
- Review mode. Audit existing implementation plans against design specs and anti-slop rules without modifying plan status.
Boundary isolation
Writing plans produces transient execution scaffolding only (docs/superpowers/plans/). Never write production application code, modify existing tests, or alter repository code files while drafting implementation plans.
Precedence. This skill owns task content and plan structure. agent-planning owns the evidence seal and audit response.
Workflow
Follow these four steps in sequence.
Step 1. Scope audit and file mapping
Inspect the specification and repository structure before creating tasks:
- Verify subsystem boundaries. If the specification covers multiple independent subsystems, split the work into separate plans for each subsystem.
- Map target files. Identify every file to create, modify, or delete, along with its specific responsibility.
- Enforce single responsibility. Design units with clear boundaries and well-defined interfaces. Keep files focused so an agent can reason about them within context.
- Co-locate related logic. Group files by functional responsibility rather than technical layer. Files that change together belong together.
- Follow repository conventions. Match existing file and directory patterns. If an existing file is already unwieldy, include a planned split into smaller modules.
Completion criterion. .agents/state/writing-plans/file-map.json exists with every target file, its responsibility, and its subsystem.
Step 2. Task decomposition and plan drafting
Draft the implementation plan using the templates in the reference section below:
- Add the required plan document header at the top of the file.
- Divide the work into bite-sized tasks. Each task touches at most 2 production files and 1 test file.
- Tracer-bullet vertical slices. Build an end-to-end thin slice spanning all required layers first to prove integration before broadening feature breadth.
- Declare blocking dependencies. Every task must declare its blocking dependencies (
Depends on: Task X) to form an explicit Directed Acyclic Graph (DAG) for concurrent subagent execution across the ready frontier. - Enforce test-driven development order for every task:
- Write the failing test.
- Run the test and confirm failure.
- Write minimal implementation code to pass the test.
- Run the test and confirm success.
- Commit changes with a descriptive message.
- Provide exact file paths, exported signatures, and test assertion contracts. Do not guess application implementation details that the compiler and language server validate.
- Specify exact execution commands with expected exit codes or failure messages for every test step.
- Ensure tasks remain self-contained with explicit inputs, outputs, and behavioral boundaries.
Completion criterion. The plan exists at docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md with the mandatory header, test-first tasks, interface contracts, and exact verification commands.
Step 3. Plan self-review and validation
Audit the drafted plan against the source specification:
- Verify specification coverage. Skim each section of the specification and verify that an explicit task implements it. Add tasks for any missing requirements.
- Scan for placeholders. Confirm that the plan contains zero instances of TODO, TBD, vague validation rules, or undefined target interfaces.
- Verify signature consistency. Confirm that function names, argument lists, and types match across all tasks.
- Reviewer subagent. Dispatch a subagent with the prompt in
references/plan-document-reviewer-prompt.mdand fix every defect it reports in the plan file.
Completion criterion. .agents/state/writing-plans/audit.md exists with zero placeholders, one task per specification section, and consistent signatures.
Step 4. Execution handoff
Save the plan to disk and present execution options to the user:
- State the saved path clearly.
- Offer the two execution workflows:
- Subagent-driven execution (recommended). Dispatch a fresh subagent for each task with a review of its diff between tasks. Run every task through the harness subagent tool.
- Inline execution. Executes tasks batch-by-batch within the current session with review checkpoints. Requires
executing-plans.
- Wait for the user to choose an execution option before executing any tasks.
Completion criterion. Plan file written to disk and execution options presented to the user.
Reference templates and rules
Plan document header template
Every plan must start with this header block:
# [Feature Name] Implementation Plan
> **For agentic workers.** REQUIRED SUB-SKILL. Use `executing-plans` to implement this plan task by task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal.** [One sentence describing what this builds]
**Architecture.** [2 to 3 sentences about approach]
**Tech stack.** [Key technologies and libraries]
**Source spec.** [<absolute-or-repo-relative-path-to-spec-or-none>]
---Task structure template
Structure each task with explicit file lists, dependencies, step checkboxes, interface contracts, and test commands:
### Task N. [Component name]
**Dependencies.** Depends on Task 1. Blocks Task 3.
**Files**
- Create `exact/path/to/file.py`
- Modify `exact/path/to/existing.py:123-145`
- Test `tests/exact/path/to/test.py`
- [ ] **Step 1. Write the failing test**
```python
def test_specific_behavior():
result = function(input)
assert result == expected
```
- [ ] **Step 2. Run test to verify it fails**
Run `pytest tests/path/test.py::test_name -v`
Expected failure with missing implementation or failed assertion.
- [ ] **Step 3. Write minimal implementation**
```python
def function(input):
return expected
```
- [ ] **Step 4. Run test to verify it passes**
Run `pytest tests/path/test.py::test_name -v`
Expected status is 0 errors, all assertions pass.
- [ ] **Step 5. Commit**
```bash
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
```Task and interface precision standards
Every step must provide precise contract specifications without duplicating full implementation code in markdown:
- Specify exact file paths and function signatures. Do not write placeholders like
// TODO. - Define test assertions and expected inputs and outputs rather than speculative application bodies.
- Rely on the compiler, linter, and test runner for syntax validation during execution.
- Define imported symbols, method signatures, and error types within the plan.
Goal-driven execution standards
Transform abstract requirements into concrete, verifiable test goals:
- Convert open-ended instructions into testable gates. For example, "add input validation" becomes "write tests asserting failure on invalid inputs, then make them pass".
- Pair every multi-step action with an explicit verification check that defines the exact test command and expected outcome.
Anti-patterns
| ID | Title | Pattern description | Why it fails | Concrete fix |
| WPA-1 | Phantom execution skill | Names a skill directory that does not exist | Handoff fails at discovery | Name an existing skill and confirm with test -d skills/<name> |
| WPA-2 | Unanchored task map | Step 1 ends with no file on disk | The next session cannot resume | Write the file map to .agents/state/writing-plans/file-map.json |
| WPA-3 | Clock-based granularity | Bounds task size in minutes no step measures | Agents split work arbitrarily | Bound by production file count and diff size |
| WPA-4 | Optional verification | Marks the plan audited while the reviewer is optional | Unreviewed plans pass the gate | Make the reviewer mandatory or drop the audit claim |
| WPA-5 | Narration preamble | Announces the skill in chat before any artifact exists | Wastes reader attention | Delete the announcement |
Quick audit checklist
| Check | Passing condition |
| Header structure | Mandatory plan header present with goal, architecture, and stack |
| Task granularity | Bite-sized 2 to 5 minute tasks with test-first sequence |
| Dependency graph | Every task declares explicit blocking dependencies (DAG) with tracer-bullet sequencing |
| Verification commands | Exact test commands and expected exit codes or failure messages provided |
| Zero placeholders | Zero instances of TODO, TBD, or speculative application logic |
| Reference isolation | Scaffolding plans placed under docs/superpowers/plans/ |
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.

