obra/superpowers/skills/writing-plans
Writing implementation plans
Use when you have a spec or requirements for a multi-step task, before touching any code.
What Writing implementation plans does
The agent writes an implementation plan for an engineer who knows the language but has never seen the codebase or the spec. It announces that it is using the skill and saves the plan to docs/superpowers/plans/ under a dated file name, unless you have set another location. If the spec spans several independent subsystems, it suggests one plan per subsystem.
Before listing tasks, the agent maps which files will be created or changed and what each one is for. A task is the smallest unit with its own test cycle. Each step inside it is one action with a checkable result: write the failing test, run it and watch it fail, implement, run it again and watch it pass, commit. The plan opens with a set header (goal, architecture, tech stack, spec path), a Global Constraints section copied from the spec, and a Review Focus section naming the five untested inputs or failure modes most likely to cause trouble. Tasks list exact file paths and the interfaces they consume and produce. Code steps give signatures and test assertions, and the implementer writes the function bodies.
The agent then checks the plan against the spec for coverage, steps that decide nothing, mismatched names and excess length. You get a saved plan file and a request to review it. If you have not already picked an execution method, the agent asks you to choose between subagent-driven and native execution and recommends one.
Install
/plugin install superpowers@claude-plugins-officialRead the security check below before you run it. The repository's own instructions win if they differ.
Security check
What the skill's files do, from reading them. A flag that nobody has checked yet says "Not checked", never "No".
- Runs scripts
- No
- Uses the network
- No
- Installs hooks
- No
- Asks for secrets
- No
A file-by-file scan of the writing-plans folder at commit 22f0b463e7a5 found one file, SKILL.md, with no scripts, no network calls, no hook definitions and no secret variables. The pytest and git commands in it are examples inside a plan template, and the skill itself runs nothing. In use, the agent writes a plan file under docs/superpowers/plans/ in your repository. The listed install commands add the whole Superpowers plugin, which registers a session-start hook in hooks/hooks.json. Read that hook and the SKILL.md before installing.
Scan details: No scripts, hook definitions, network calls or secret variables were found in the skill folder. Checked at commit 22f0b463e7a5.
Use cases
- Turn an approved spec into a test-first plan before writing code
- Prepare work for subagents or a fresh session that lacks project context
- Split a spec covering several subsystems into separate, testable plans
Limitations
- Ships inside the Superpowers plugin; the documented installs add the whole plugin, not this skill alone.
- Expects a written spec first, which the plugin's brainstorming skill normally produces.
- Execution relies on the subagent-driven-development or executing-plans skill from the same plugin.
- Writes a plan only and waits for your review before any implementation starts.
Sources
- writing-plans skill folderRepositoryPrimarygithub.com
- obra/superpowersRepositoryPrimarygithub.com
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/writing-plans/SKILL.mdWeb
- github.com/obra/superpowers/blob/22f0b463e7a5e579904dd6211a520321035526f7/hooks/hooks.jsonRepositoryPrimary


