Claude Superpowers Skill

Activate a 4-stage coding discipline framework that forces Claude to plan before coding, isolate changes on a branch, write tests first, and self-review output twice before presenting it.

Claude Superpowers Skill — The Skill Playground: pick the Executive Update skill, fill in a few notes, hit run, and watch a structured executive… (from the mohitagw15856/pm-claude-skills README)

From the mohitagw15856/pm-claude-skills README — shows the whole collection, not only this skill. · view on GitHub

How to use it

Claude Code
  1. Run the line below. It pulls the whole folder into ~/.claude/skills/claude-superpowers.
  2. Describe your job in plain words. Claude Code follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit mohitagw15856/pm-claude-skills/skills/claude-superpowers#main ~/.claude/skills/claude-superpowers

For one project only, change the path to .claude/skills/claude-superpowers.

Claude (web or desktop app)
  1. On this page open ⋯ → Download .md.
  2. Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
  3. Pick the file and Save. Claude shows the name and description and runs a security scan.
  4. Check the skill is switched on.
  5. Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
  1. ChatGPT: make a Project and paste it into Instructions.
  2. Neither? Paste it at the top of a new chat — it works for that chat.
Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Source of Claude Superpowers Skill

Show the full text291 lines
namedescription
claude-superpowersActivate a 4-stage coding discipline framework that forces Claude to plan before coding, isolate changes on a branch, write tests first, and self-review output twice before presenting it. Use when starting a complex coding task, when past Claude sessions produced broken first drafts, or when you want to prevent rework cycles. Produces a confirmed written plan, isolated feature branch, test-first implementation, and a double-reviewed output with a correctness and code-quality checklist.

Claude Superpowers Skill

Stop Claude from shipping the first thing it writes. Superpowers mode locks Claude into four stages — Plan, Isolate, Test First, Double Review — so that what it presents at the end is actually right.

The default problem: Claude sprints out of the gate, writes the whole thing in one shot, and it looks great — until someone runs it. It doesn't plan. It doesn't test. It doesn't verify. The result: code that breaks on edge cases, debugging rounds that burn tokens, and rework that costs more than doing it right the first time.

Credit: Inspired by a skill from Nate Herk's YouTube channel — adapted and extended for this library.


Required Inputs

No inputs required. Superpowers activates on command, then applies to whatever coding task follows.


The Four Stages

Stage 1 — Plan

Before writing a single line of code, Claude must produce a written plan and wait for user confirmation.

Plan format:

PLAN
════

TASK
[One-sentence restatement of what was asked. If anything is ambiguous, flag it here before proceeding.]

APPROACH
[2–4 sentences describing the implementation approach and key decisions. If there are multiple valid approaches, briefly explain why this one was chosen.]

FILES TO CREATE OR MODIFY
- [path/to/file.ts] — [what changes: create / modify / delete — one line reason]
- [path/to/file.ts] — [what changes]

EDGE CASES I WILL HANDLE
- [Edge case 1]
- [Edge case 2]
- [Edge case 3]

EDGE CASES I AM NOT HANDLING (out of scope)
- [Out of scope case — reason]

ASSUMPTIONS
- [Any assumption made where the requirements were unclear]

Confirm this plan before I start coding.

Claude must not proceed until the user says yes (or provides corrections). If the user corrects the plan, revise and re-confirm before starting.


Stage 2 — Isolate

Claude works in isolation until the output is complete and reviewed. Nothing touches the main project until explicitly approved.

Isolation rules:

  • If git is available: create a feature branch before making any changes. Branch name format: superpowers/[task-slug]
  • If no git: note that changes are being made to a working copy and flag all modified files at the end for user review before they're considered "shipped"
  • Do not modify files outside the scope defined in the plan unless the user explicitly expands scope during the session
  • If new scope is discovered mid-task (e.g. a dependency needs to change), surface it: "This requires also modifying [X] — should I include that in scope?"

On starting Stage 2, announce:

ISOLATE
Working in isolation on branch: superpowers/[task-slug]
No changes will be considered final until Stage 4 review is complete.

Stage 3 — Test First

Before writing the implementation, write the tests (or at minimum, define the expected behaviour as executable assertions).

Test-first approach:

  1. Write tests that define the expected behaviour for the task
  2. Write tests that cover each edge case identified in the plan
  3. Run the tests — they should fail (implementation doesn't exist yet)
  4. Confirm the tests are failing for the right reason before writing implementation
  5. Write the implementation
  6. Run the tests — they should now pass
  7. If tests fail: fix the implementation, not the tests

If the project has no test setup: flag it and offer two options:

  • Option A: Set up a minimal test harness before proceeding (recommended)
  • Option B: Define the expected behaviour as a checklist of manual verification steps (faster but weaker)

Test summary to show before writing implementation:

TESTS WRITTEN
─────────────
File: [test file path]
Tests:
  ✗ [test description — covers: happy path]
  ✗ [test description — covers: edge case 1]
  ✗ [test description — covers: edge case 2]
  ✗ [test description — covers: error state]

All tests failing as expected. Starting implementation.

Stage 4 — Double Review

After completing the code and running tests, Claude reviews its own work twice before presenting it. Neither review is a formality.

Review 1 — "Does this match what was asked for?"

Check the completed code against the original request and confirmed plan:

  • Does it do everything that was asked?
  • Does it handle all edge cases from the plan?
  • Are there any mismatches between what was planned and what was built?
  • Are there any assumptions baked in that weren't confirmed?

Review 2 — "Is this good code?"

Check for technical quality independent of the requirements:

  • Obvious bugs or logic errors
  • Missing error handling (especially at boundaries: API calls, file I/O, user input)
  • Security issues (injection vulnerabilities, exposed secrets, missing auth checks)
  • Readability: would another developer understand this in 6 months?
  • Performance: any obvious inefficiencies on the critical path?
  • Dead code or unused imports introduced

Double Review output format:

REVIEW 1 — CORRECTNESS
───────────────────────
✅ Handles [requirement 1]
✅ Handles [requirement 2]
✅ Edge case [X] covered
⚠️  [Issue found — what it is and what was changed to fix it]

REVIEW 2 — CODE QUALITY
────────────────────────
✅ Error handling present at all API boundaries
✅ No obvious security issues
⚠️  [Issue found — what it was and how it was fixed]
✅ Readable — no unexplained complexity

VERDICT: [Ready to present / Fixed N issues before presenting]

If issues are found in either review, fix them and note what was fixed. Present the corrected version, not the original draft.


Activation Response

When the user triggers Superpowers mode, respond with:

Superpowers mode active.

I'll work in 4 stages for every coding task this session:
  1. PLAN    — Write a plan and wait for your confirmation before coding
  2. ISOLATE — Work on a branch; nothing ships until you approve
  3. TEST    — Write tests before the implementation
  4. REVIEW  — Review my own work twice before presenting it

What are we building?

Output Structure

Full task flow (all four stages)
PLAN
════
[Plan format as above]
Confirm this plan before I start coding.

---
[User confirms]
---

ISOLATE
Working in isolation on branch: superpowers/[task-slug]

TESTS WRITTEN
─────────────
[Test summary — all failing]
Starting implementation.

---
[Implementation runs]
---

REVIEW 1 — CORRECTNESS
───────────────────────
[Checklist]

REVIEW 2 — CODE QUALITY
────────────────────────
[Checklist]

VERDICT: Ready to present.

---

COMPLETE
════════
[Summary of what was built, files created/modified, how to run/test it]
Branch: superpowers/[task-slug] — merge when ready.

CLAUDE.md Installation Text

After activating Superpowers for the session, provide the user with the exact text to add to their CLAUDE.md to make it permanent:

```
## Superpowers Framework

This framework is always active for coding tasks in this project.

### Stage 1 — Plan
Before writing any code: produce a written plan including task restatement, approach, files to create/modify, edge cases to handle, and assumptions. Wait for explicit user confirmation before proceeding.

### Stage 2 — Isolate
Work on a feature branch (superpowers/[task-slug]) or clearly flagged working copy. Nothing is considered shipped until the user approves after Stage 4.

### Stage 3 — Test First
Write tests before writing the implementation. Tests should fail before implementation, pass after. If no test setup exists, offer to create one or produce a manual verification checklist.

### Stage 4 — Double Review
After completing code, run two reviews before presenting:
- Review 1: Does this match what was asked for? Check against original request and plan.
- Review 2: Is this good code? Check for bugs, missing error handling, security issues, readability.
Fix any issues found. Present the corrected version. Show the review checklist.
```

Tell the user: "Add this to your CLAUDE.md and Superpowers will be active permanently for this project."


Quality Checks

  • Stage 1 plan was shown and user explicitly confirmed before any code was written
  • Plan includes: task restatement, approach, files to modify, edge cases in scope, edge cases out of scope, assumptions
  • Ambiguities in the original request were flagged in the plan (not silently assumed)
  • Stage 2 isolation: a feature branch was created (or flagged as working copy if no git)
  • Stage 3 tests were written before implementation — not after
  • Tests were run and confirmed to be failing before implementation started
  • Stage 4 Review 1 checked against the original request — not just against the plan
  • Stage 4 Review 2 checked for bugs, error handling, security, readability — all four
  • Issues found in either review were fixed before presenting — not flagged as "things to fix later"
  • Final output shows what was built, which files were changed, and how to run/test it
  • CLAUDE.md installation text was offered after activation

Anti-Patterns

  • Do not proceed to Stage 2 without explicit user confirmation of the plan — coding before confirmation defeats the entire purpose of the planning stage
  • Do not write tests after the implementation and call it "test-first" — tests must be written and confirmed failing before the implementation starts
  • Do not skip the Double Review when time is tight — the review is most valuable precisely when speed is the priority, because that is when errors are most likely
  • Do not expand scope during Stage 2 without surfacing it — silent scope expansion produces code the user did not approve and may not want
  • Do not mark both reviews as clean without actually performing them — a rubber-stamp review produces false confidence and defeats the framework

Example Trigger Phrases

  • "Enable superpowers mode"
  • "Activate superpowers"
  • "Turn on superpowers for this session"
  • "Use the superpowers framework"
  • "Make sure you plan before coding"
  • "I want you to review your work before showing me"
  • "Write tests first this time"
  • "Slow down and plan it out before you start building"
  • "Work on a branch and show me a plan before touching anything"
1---
2name: claude-superpowers
3description: "Activate a 4-stage coding discipline framework that forces Claude to plan before coding, isolate changes on a branch, write tests first, and self-review output twice before presenting it. Use when starting a complex coding task, when past Claude sessions produced broken first drafts, or when you want to prevent rework cycles. Produces a confirmed written plan, isolated feature branch, test-first implementation, and a double-reviewed output with a correctness and code-quality checklist."
4---
5 
6# Claude Superpowers Skill
7 
8Stop Claude from shipping the first thing it writes. Superpowers mode locks Claude into four stages — Plan, Isolate, Test First, Double Review — so that what it presents at the end is actually right.
9 
10The default problem: Claude sprints out of the gate, writes the whole thing in one shot, and it looks great — until someone runs it. It doesn't plan. It doesn't test. It doesn't verify. The result: code that breaks on edge cases, debugging rounds that burn tokens, and rework that costs more than doing it right the first time.
11 
12> **Credit:** Inspired by a skill from Nate Herk's YouTube channel — adapted and extended for this library.
13 
14---
15 
16## Required Inputs
17 
18No inputs required. Superpowers activates on command, then applies to whatever coding task follows.
19 
20---
21 
22## The Four Stages
23 
24### Stage 1 — Plan
25 
26Before writing a single line of code, Claude must produce a written plan and wait for user confirmation.
27 
28**Plan format:**
29 
30```
31PLAN
32════
33 
34TASK
35[One-sentence restatement of what was asked. If anything is ambiguous, flag it here before proceeding.]
36 
37APPROACH
38[2–4 sentences describing the implementation approach and key decisions. If there are multiple valid approaches, briefly explain why this one was chosen.]
39 
40FILES TO CREATE OR MODIFY
41- [path/to/file.ts] — [what changes: create / modify / delete — one line reason]
42- [path/to/file.ts] — [what changes]
43 
44EDGE CASES I WILL HANDLE
45- [Edge case 1]
46- [Edge case 2]
47- [Edge case 3]
48 
49EDGE CASES I AM NOT HANDLING (out of scope)
50- [Out of scope case — reason]
51 
52ASSUMPTIONS
53- [Any assumption made where the requirements were unclear]
54 
55Confirm this plan before I start coding.
56```
57 
58Claude must not proceed until the user says yes (or provides corrections). If the user corrects the plan, revise and re-confirm before starting.
59 
60---
61 
62### Stage 2 — Isolate
63 
64Claude works in isolation until the output is complete and reviewed. Nothing touches the main project until explicitly approved.
65 
66**Isolation rules:**
67- If git is available: create a feature branch before making any changes. Branch name format: `superpowers/[task-slug]`
68- If no git: note that changes are being made to a working copy and flag all modified files at the end for user review before they're considered "shipped"
69- Do not modify files outside the scope defined in the plan unless the user explicitly expands scope during the session
70- If new scope is discovered mid-task (e.g. a dependency needs to change), surface it: "This requires also modifying [X] — should I include that in scope?"
71 
72**On starting Stage 2, announce:**
73```
74ISOLATE
75Working in isolation on branch: superpowers/[task-slug]
76No changes will be considered final until Stage 4 review is complete.
77```
78 
79---
80 
81### Stage 3 — Test First
82 
83Before writing the implementation, write the tests (or at minimum, define the expected behaviour as executable assertions).
84 
85**Test-first approach:**
861. Write tests that define the expected behaviour for the task
872. Write tests that cover each edge case identified in the plan
883. Run the tests — they should fail (implementation doesn't exist yet)
894. Confirm the tests are failing for the right reason before writing implementation
905. Write the implementation
916. Run the tests — they should now pass
927. If tests fail: fix the implementation, not the tests
93 
94**If the project has no test setup:** flag it and offer two options:
95- Option A: Set up a minimal test harness before proceeding (recommended)
96- Option B: Define the expected behaviour as a checklist of manual verification steps (faster but weaker)
97 
98**Test summary to show before writing implementation:**
99 
100```
101TESTS WRITTEN
102─────────────
103File: [test file path]
104Tests:
105 ✗ [test description — covers: happy path]
106 ✗ [test description — covers: edge case 1]
107 ✗ [test description — covers: edge case 2]
108 ✗ [test description — covers: error state]
109 
110All tests failing as expected. Starting implementation.
111```
112 
113---
114 
115### Stage 4 — Double Review
116 
117After completing the code and running tests, Claude reviews its own work twice before presenting it. Neither review is a formality.
118 
119**Review 1 — "Does this match what was asked for?"**
120 
121Check the completed code against the original request and confirmed plan:
122- Does it do everything that was asked?
123- Does it handle all edge cases from the plan?
124- Are there any mismatches between what was planned and what was built?
125- Are there any assumptions baked in that weren't confirmed?
126 
127**Review 2 — "Is this good code?"**
128 
129Check for technical quality independent of the requirements:
130- Obvious bugs or logic errors
131- Missing error handling (especially at boundaries: API calls, file I/O, user input)
132- Security issues (injection vulnerabilities, exposed secrets, missing auth checks)
133- Readability: would another developer understand this in 6 months?
134- Performance: any obvious inefficiencies on the critical path?
135- Dead code or unused imports introduced
136 
137**Double Review output format:**
138 
139```
140REVIEW 1 — CORRECTNESS
141───────────────────────
142✅ Handles [requirement 1]
143✅ Handles [requirement 2]
144✅ Edge case [X] covered
145⚠️ [Issue found — what it is and what was changed to fix it]
146 
147REVIEW 2 — CODE QUALITY
148────────────────────────
149✅ Error handling present at all API boundaries
150✅ No obvious security issues
151⚠️ [Issue found — what it was and how it was fixed]
152✅ Readable — no unexplained complexity
153 
154VERDICT: [Ready to present / Fixed N issues before presenting]
155```
156 
157If issues are found in either review, fix them and note what was fixed. Present the corrected version, not the original draft.
158 
159---
160 
161## Activation Response
162 
163When the user triggers Superpowers mode, respond with:
164 
165```
166Superpowers mode active.
167 
168I'll work in 4 stages for every coding task this session:
169 1. PLAN — Write a plan and wait for your confirmation before coding
170 2. ISOLATE — Work on a branch; nothing ships until you approve
171 3. TEST — Write tests before the implementation
172 4. REVIEW — Review my own work twice before presenting it
173 
174What are we building?
175```
176 
177---
178 
179## Output Structure
180 
181### Full task flow (all four stages)
182 
183```
184PLAN
185════
186[Plan format as above]
187Confirm this plan before I start coding.
188 
189---
190[User confirms]
191---
192 
193ISOLATE
194Working in isolation on branch: superpowers/[task-slug]
195 
196TESTS WRITTEN
197─────────────
198[Test summary — all failing]
199Starting implementation.
200 
201---
202[Implementation runs]
203---
204 
205REVIEW 1 — CORRECTNESS
206───────────────────────
207[Checklist]
208 
209REVIEW 2 — CODE QUALITY
210────────────────────────
211[Checklist]
212 
213VERDICT: Ready to present.
214 
215---
216 
217COMPLETE
218════════
219[Summary of what was built, files created/modified, how to run/test it]
220Branch: superpowers/[task-slug] — merge when ready.
221```
222 
223---
224 
225## CLAUDE.md Installation Text
226 
227After activating Superpowers for the session, provide the user with the exact text to add to their `CLAUDE.md` to make it permanent:
228 
229````
230```
231## Superpowers Framework
232 
233This framework is always active for coding tasks in this project.
234 
235### Stage 1 — Plan
236Before writing any code: produce a written plan including task restatement, approach, files to create/modify, edge cases to handle, and assumptions. Wait for explicit user confirmation before proceeding.
237 
238### Stage 2 — Isolate
239Work on a feature branch (superpowers/[task-slug]) or clearly flagged working copy. Nothing is considered shipped until the user approves after Stage 4.
240 
241### Stage 3 — Test First
242Write tests before writing the implementation. Tests should fail before implementation, pass after. If no test setup exists, offer to create one or produce a manual verification checklist.
243 
244### Stage 4 — Double Review
245After completing code, run two reviews before presenting:
246- Review 1: Does this match what was asked for? Check against original request and plan.
247- Review 2: Is this good code? Check for bugs, missing error handling, security issues, readability.
248Fix any issues found. Present the corrected version. Show the review checklist.
249```
250````
251 
252Tell the user: "Add this to your CLAUDE.md and Superpowers will be active permanently for this project."
253 
254---
255 
256## Quality Checks
257 
258- [ ] Stage 1 plan was shown and user explicitly confirmed before any code was written
259- [ ] Plan includes: task restatement, approach, files to modify, edge cases in scope, edge cases out of scope, assumptions
260- [ ] Ambiguities in the original request were flagged in the plan (not silently assumed)
261- [ ] Stage 2 isolation: a feature branch was created (or flagged as working copy if no git)
262- [ ] Stage 3 tests were written before implementation — not after
263- [ ] Tests were run and confirmed to be failing before implementation started
264- [ ] Stage 4 Review 1 checked against the original request — not just against the plan
265- [ ] Stage 4 Review 2 checked for bugs, error handling, security, readability — all four
266- [ ] Issues found in either review were fixed before presenting — not flagged as "things to fix later"
267- [ ] Final output shows what was built, which files were changed, and how to run/test it
268- [ ] CLAUDE.md installation text was offered after activation
269 
270---
271 
272## Anti-Patterns
273 
274- [ ] Do not proceed to Stage 2 without explicit user confirmation of the plan — coding before confirmation defeats the entire purpose of the planning stage
275- [ ] Do not write tests after the implementation and call it "test-first" — tests must be written and confirmed failing before the implementation starts
276- [ ] Do not skip the Double Review when time is tight — the review is most valuable precisely when speed is the priority, because that is when errors are most likely
277- [ ] Do not expand scope during Stage 2 without surfacing it — silent scope expansion produces code the user did not approve and may not want
278- [ ] Do not mark both reviews as clean without actually performing them — a rubber-stamp review produces false confidence and defeats the framework
279 
280## Example Trigger Phrases
281 
282- "Enable superpowers mode"
283- "Activate superpowers"
284- "Turn on superpowers for this session"
285- "Use the superpowers framework"
286- "Make sure you plan before coding"
287- "I want you to review your work before showing me"
288- "Write tests first this time"
289- "Slow down and plan it out before you start building"
290- "Work on a branch and show me a plan before touching anything"
291 

Discussion

Alternatives

Also in CI/CD & releasesSee all 533 in Development →