using-superpowers
Skill146 starsChanged 7 months agoMITView on GitHub
BLOCKING REQUIREMENT — invoke this skill BEFORE writing any code, editing files, debugging, planning, reviewing, or making any technical tool calls beyond reading files. This is the mandatory workflow router for ALL technical tasks. Matches: "implement", "build", "fix", "debug", "refactor", "optimize", "add feature", "change", "update", "create", "develop", "plan", "review", "test", or ANY request that involves code changes. Do NOT skip this skill even if the task seems simple. Invoke FIRST, then follow its routing.
167 other projects use a version of this.
Adopted by
Most recently taken up by
- DemonDamon/AgenticXtheir own version, first seen Nov 9, 2026
- sudeepgupta90/my-ai-marketplacetheir own version, first seen Nov 8, 2026
- roundpilot/superpowers-antigravitytheir own version, first seen Nov 8, 2026
- lingyired/status-triotheir own version, first seen Nov 8, 2026
- BrightGold70/skillstheir own version, first seen Nov 8, 2026
- ppswdev/pp_skillstheir 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
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 19 projects that use this
kntismSkillcondition-based-waiting
Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses
Also in 3 projects that use this
frankxaiSkilldefense-in-depth
Use when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally impossible
Also in 3 projects that use this
MicrosoftSkillroot-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger - systematically traces bugs backward through call stack, adding instrumentation when needed, to identify source of invalid data or incorrect behavior
Also in 3 projects that use this
- +3 more from Leodorareluctant259
Other versions167 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 167
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.4ksame name
- openai/plugins★ 7.8ksame name
- farm-fe/farm★ 5.6ksame name
- lingyired/status-trio★ 1.8ksame name
- pcvelz/superpowers★ 1.3ksame name
- DemonDamon/AgenticX★ 1ksame name
- coco-research/coco★ 797same name
- Trevoke/org-gtd.el★ 485same name
- koaning/wigglystuff★ 455same name
157 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 repository23 other files it gives its agents.
- brainstormingSkill
- claude-md-creatorSkill
- context-managementSkill
- deliberationSkill
- dependency-managementSkill
- dispatching-parallel-agentsSkill
- error-recoverySkill
- executing-plansSkill
- finishing-a-development-branchSkill
- frontend-designSkill
- performance-investigationSkill
- premise-checkSkill
- receiving-code-reviewSkill
- refactoringSkill
- requesting-code-reviewSkill
- self-consistency-reasonerSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- token-efficiencySkill
- using-git-worktreesSkill
- verification-before-completionSkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. 1 is common, 15 are distinctive, and 5 are very specific to this project.
1
Common
Most of the 153 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 16
If you were dispatched as a subagent to execute a specific task, skip this skill entirely.
- Very specific: line 30
Invoke the named skill via the
Skilltool: Do not re-implement its purpose with ad-hoc agents, manual file reads, or improvised workflows. - Distinctive: line 39
If a user explicitly overrides a skill's behavior, follow the user.
- Distinctive: line 43
Before technical execution, select workflow skills explicitly and follow them.
- Very specific: line 53
Run a filesystem check: ls project-map.md 2>/dev/null — gate only fires if the file does not exist
- Distinctive: line 55
If both are true, pause before proceeding and tell the user exactly this:
- Distinctive: line 63
Wait for the user's answer before continuing.
- Very specific: line 64
If they confirm: run git init --quiet directly (do not ask again), then invoke context-management for map generation only, and return to …
- Very specific: line 72
Read known-issues.md if it exists — unless a <known-issues> block is already in your context.
- Distinctive: line 78
Follow the path for the classified complexity level.
- Distinctive: line 86
If any of the following are true, classify as full immediately — do not evaluate the lightweight criteria:
- Distinctive: line 100
All of these must be true:
- Distinctive: line 102
No new behavior or architecture change
- Distinctive: line 103
No cross-module dependency risk
- Distinctive: line 104
No migration or data-shape change
- Distinctive: line 110
Exception: If a dedicated implementation skill exists for this specific task (check the Routing Guide), invoke it — lightweight skips …
- Distinctive: line 115
Action: Follow the Routing Guide below for the full skill pipeline.
- Very specific: line 119
If Claude is about to enter plan mode (EnterPlanMode), check whether brainstorming has been completed for the current task:
- Distinctive: line 150
Avoid carrying forward long assistant reasoning chains unless they contain required artifacts.
- Distinctive: line 154
When output feeds another agent/tool step, prefer JSON or YAML schemas defined by the active skill.
- Distinctive: line 162
If a red flag appears, restart from Entry Sequence.
“Common” is measured: kept by at least 6 in 10 of the 153 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
Using Superpowers
<SUBAGENT-STOP>
If you were dispatched as a subagent to execute a specific task, skip this skill entirely.
</SUBAGENT-STOP>Trigger Conditions
Apply this router when a session starts with a technical request, when the user gives a new task or changes topic, when technical work is about to begin without a skill selected, or when the user asks which workflow to use.
Exception: Micro tasks (typo fix, single variable rename, 1-line config change) skip the entry sequence entirely. Just do them.
When the User Names a Specific Skill
A prompt that names a skill ("use brainstorming", "use context management", "run verification") is a Skill tool invocation request — never a goal to achieve creatively:
- Still complete Entry Sequence steps 1–6 — they are always-on prerequisites, not routing.
- Invoke the named skill via the
Skilltool. Do not re-implement its purpose with ad-hoc agents, manual file reads, or improvised workflows. - Skip complexity classification and routing (step 7) — the user already chose the route.
Instruction Priority (highest to lowest)
- Explicit user instructions in the current conversation
- Project-level CLAUDE.md / AGENTS.md
- Superpowers skill instructions
If a user explicitly overrides a skill's behavior, follow the user. Skills are defaults, not mandates.
Core Rule
Before technical execution, select workflow skills explicitly and follow them.
Technical execution includes code edits, debugging, planning, review, test status claims, and branch integration actions.
Entry Sequence
- Invoke
token-efficiencyat session start — applies to all sessions, always.
<!-- sp:if-no-project-map -->Fresh project gate — evaluate both conditions in order:
- The user's request contains creation/build intent: any of "build", "create", "make", "implement", "scaffold", "set up", "write", "generate", "develop", "start"
- Run a filesystem check:
ls project-map.md 2>/dev/null— gate only fires if the file does not exist
If both are true, pause before proceeding and tell the user exactly this:
Before I start: this directory has no memory files yet, so every future session here starts from scratch — re-exploring the structure, re-reading files, and possibly re-proposing approaches that were already rejected.
A ~30-second setup fixes that:
git init(staleness tracking — creates.gitonly),project-map.md(orientation at every session start), andsession-log.md(decisions and rejected approaches, saved when we record them).Set this up before we build, or start immediately?
Wait for the user's answer before continuing.
- If they confirm: run
git init --quietdirectly (do not ask again), then invokecontext-managementfor map generation only, and return to step 3.context-snapshot.jsonfirst appears next session — its hook ran before git existed. - If they decline: proceed to step 3.
Step 2b (only when step 2 did NOT fire): if the request is non-trivial,
project-map.mddoes not exist, and the project has 10+ files, mention once, without blocking: "This project has no project-map.md. Say 'map this project' after this task if you want faster orientation in future sessions."
<!-- /sp:if-no-project-map -->- Classify the task as micro, lightweight, or full (see Complexity Classification below).
- When resuming prior work, read
state.mdif it exists — unless a<state>block is already in your context (that is the file). Before ending a session that made significant decisions (design choices, rejected approaches, non-obvious constraints), invokecontext-managementto write a[saved]entry, even if the work is complete — nothing else preserves the "why". - Read
known-issues.mdif it exists — unless a<known-issues>block is already in your context; then open the file only when debugging and the block says more entries exist.
<!-- sp:if-project-map -->- Orient from
project-map.mdinstead of re-globbing. A<project-map>block in your context is that file — Read it again only if the block says it was shortened. For a file's actual logic, read the file itself. Staleness:- With git: a
<project-map-stale>tag lists the documented files that changed. Re-read only those, update their Key Files entries, and refresh the header hash and date. - Without git: re-read Hot Files newer than the map's generation timestamp, update their Key Files entries, and refresh the timestamp.
- With git: a
<!-- /sp:if-project-map -->- Follow the path for the classified complexity level.
Complexity Classification
Classify every task into one of three levels. Do not invoke a separate skill for this — decide inline.
Hard overrides — check these first, before anything else
If any of the following are true, classify as full immediately — do not evaluate the lightweight criteria:
- The change adds, modifies, or removes a condition, gate, or trigger that determines when behavior fires
- The change affects what the user sees or experiences (excluding cosmetic text changes to existing UI — e.g., updating a label, rewording a message, or changing static copy that doesn't alter flow or behavior)
- The change modifies a file that other components depend on (routing rules, entry sequences, config registries, shared hooks)
- The change introduces a path or outcome that didn't exist before
When in doubt, classify as full. An unnecessary brainstorming session costs one extra round. Skipping brainstorming on a task that needed it ships a gap. The asymmetry is not equal — always err toward full.
Micro (skip everything)
- Typo fix, single variable rename, 1-line config change
- Action: Just do it. No skills needed.
Lightweight (fast path)
All of these must be true:
- Change scope is small (~2 files or fewer)
- No new behavior or architecture change
- No cross-module dependency risk
- No migration or data-shape change
Before classifying as lightweight: explicitly state in one sentence why each of the four criteria above is satisfied. Do not assume. If you cannot articulate any one of them clearly, classify as full.
Action: Go directly to implementation. Only gate: invoke verification-before-completion when done. Skip brainstorming, planning, worktrees, and parallel dispatch.
Exception: If a dedicated implementation skill exists for this specific task (check the Routing Guide), invoke it — lightweight skips workflow overhead, not implementation skills.
Full (complete pipeline)
Anything that doesn't qualify as micro or lightweight.
Action: Follow the Routing Guide below for the full skill pipeline.
EnterPlanMode Intercept
If Claude is about to enter plan mode (EnterPlanMode), check whether brainstorming has been completed for the current task:
- No brainstorming done for this task: invoke
brainstormingfirst — plan mode without a validated design leads to plans built on unexamined assumptions. - Brainstorming already completed and design approved: proceed to plan mode /
writing-plans.
Routing Guide
- Uncertain whether work should exist at all:
premise-check(run before brainstorming or planning) - Complex decision with unclear options or possible mis-framing:
deliberation→brainstorming→writing-plans - New behavior or architecture (problem is well-framed):
brainstorming→writing-plans - Plan execution (same session, with optional parallel waves):
subagent-driven-development - Plan execution (separate session):
executing-plans - Experimental or risky work needing branch isolation:
using-git-worktrees(run before implementation) - Bug/test failure:
systematic-debugging→test-driven-development - Completion claim:
verification-before-completion - Branch integration:
finishing-a-development-branch - Code review (includes security):
requesting-code-review/receiving-code-review - Independent parallel tasks outside of plan execution:
dispatching-parallel-agents - Cross-session state persistence:
context-management - Known issue tracking / save recurring fixes:
error-recovery - Code restructuring without behavior change:
refactoring(lock behavior with tests, then restructure incrementally) - Performance issues (slow, high memory/CPU, latency):
performance-investigation(measure → profile → fix → re-measure) - Dependency updates, security vulnerabilities, migrations:
dependency-management(audit → assess impact → update incrementally → verify) - UI/frontend implementation: apply
frontend-designstandards - CLAUDE.md / AGENTS.md creation or update:
claude-md-creator(applies at any complexity level — never implement directly) - (Internal — never route directly):
self-consistency-reasoner(used insidesystematic-debuggingandverification-before-completion);token-efficiency(always on, step 1).
Context Hygiene
For subagent handoffs, include only current task scope, constraints, evidence, and references to state.md when needed.
Avoid carrying forward long assistant reasoning chains unless they contain required artifacts.
Structured Output Preference
When output feeds another agent/tool step, prefer JSON or YAML schemas defined by the active skill.
Red Flags
- "I'll just do this first without a skill"
- "Keep all prior assistant text in context"
- Claiming "done" without running verification
If a red flag appears, restart from Entry Sequence.
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.

