superpowers-dev-workflow
Skill1 starsChanged 31 days agoMITView on GitHub
Spec-first, TDD, subagent-driven software development workflow. Use when: (1) building any new feature or app — triggers brainstorm → plan → subagent execution loop, (2) debugging a bug or test failure — triggers systematic root-cause process, (3) user says \"let's build\", \"help me plan\", \"I want to add X\", or \"this is broken\", (4) completing a feature branch — triggers test verification + merge/PR options. NOT for: one-liner fixes (just edit), reading code, or non-code tasks. Requires exec tool and sessions_spawn.
In this repository199 other files it gives its agents.
- activecampaignSkill
- adcp-advertisingSkill
- admapixSkill
- aegis-auditSkill
- afrexai-compliance-auditSkill
- afrexai-seo-content-engineSkill
- agent-browserSkill
- agentic-codingSkill
- agent-overflowSkill
- agent-skills-toolsSkill
- ai-ppt-generatorSkill
- airdrop-hunterSkill
- ai-web-automationSkill
- alicloud-ai-video-wan-r2vSkill
- alpha-finderSkill
- amap-trafficSkill
- amazon-product-apiSkill
- apertureSkill
- api-developmentSkill
- api-gatewaySkill
- asterSkill
- auto-replySkill
- auto-updaterSkill
- aviation-weatherSkill
- awwwards-designSkill
- base-8004Skill
- bioskillsSkill
- brainrepoSkill
- browserless-agentSkill
- browser-secureSkill
- btc15-autonomous-marketSkill
- buy-anythingSkill
- byteroverSkill
- cal-com-automationSkill
- capability-evolverSkill
- catalogSkill
- chargebeeSkill
- clawcostSkill
- clawdbot-documentation-expertSkill
- clawdbot-for-vcsSkill
- clawddocsSkill
- claw-syncSkill
- claw-trader-liteSkill
- clean-codeSkill
- cloudphoneSkill
- cls-certifySkill
- codebergSkill
- code-mentorSkill
- commit-analyzerSkill
- competitor-analysis-reportSkill
- content-ideas-generatorSkill
- content-ideasSkill
- contract-generatorSkill
- conventional-commitsSkill
- copywritingSkill
- crypto-payments-ecommerceSkill
- custom-smtp-senderSkill
- dashboard-manager2Skill
- data-analystSkill
- docker-sandboxSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Every coding task follows this pipeline.
- Distinctive: line 30
Ask clarifying questions — one at a time, prefer multiple choice
- Very specific: line 33
Write design doc → docs/plans/YYYY-MM-DD-<topic>-design.md → commit
- Distinctive: line 36
HARD GATE: Do NOT write any code until user approves design.
- Distinctive: line 47
Write a detailed task-by-task implementation plan
- Distinctive: line 51
After saving, offer two execution modes:
- Distinctive: line 65
Wait for completion announcement
- Distinctive: line 82
HARD GATE: No fixes without root cause investigation first.
- Distinctive: line 94
Trigger: All tasks complete, all tests pass.
- Distinctive: line 99
Verify all tests pass
- Very specific: line 109
When dispatching implementer or reviewer subagents, use sessions_spawn:
- Very specific: line 120
Run sessions_spawn with the task as a detailed prompt.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
迁移说明:本技能原为 OpenClaw / ClawHub 生态技能,现已转为 WorkBuddy 技能规范。正文如出现
openclaw/clawhub/claw命令或~/.openclaw路径,请忽略该命令形式,改用 WorkBuddy 等价操作:技能目录 =~/.workbuddy/skills/<name>/;装包用 pip / npm;联网用 WebSearch / WebFetch;读写文件用 Read / Write / Edit;执行命令用 Bash(Windows 走 PowerShell 工具)。
Superpowers — OpenClaw Edition
Adapted from obra/superpowers. Mandatory workflow — not suggestions.
The Pipeline
Idea → Brainstorm → Plan → Subagent-Driven Build (TDD) → Code Review → Finish BranchEvery coding task follows this pipeline. "Too simple to need a design" is always wrong.
Phase 1: Brainstorming
Trigger: User wants to build something. Activate before touching any code.
See: references/brainstorming.md
Summary:
- Explore project context (files, docs, recent commits)
- Ask clarifying questions — one at a time, prefer multiple choice
- Propose 2–3 approaches with trade-offs + recommendation
- Present design in sections, get approval after each
- Write design doc →
docs/plans/YYYY-MM-DD-<topic>-design.md→ commit - Hand off to Phase 2: Writing Plans
HARD GATE: Do NOT write any code until user approves design.
Phase 2: Writing Plans
Trigger: Design approved. Activated by brainstorming phase.
See: references/writing-plans.md
Summary:
- Write a detailed task-by-task implementation plan
- Each task = 2–5 minutes: write test → watch fail → implement → watch pass → commit
- Save to
docs/plans/YYYY-MM-DD-<feature>.md - Announce:
"I'm using the writing-plans skill to create the implementation plan." - After saving, offer two execution modes:
- Subagent-driven (current session):
sessions_spawnper task + two-stage review - Manual execution: User runs tasks themselves
- Subagent-driven (current session):
Phase 3: Subagent-Driven Development
Trigger: Plan exists, user chooses subagent-driven execution.
See: references/subagent-development.md
Per-task loop (OpenClaw):
sessions_spawnan implementer subagent with task + full plan context- Wait for completion announcement
sessions_spawna spec-reviewer subagent → must confirm code matches specsessions_spawna code-quality reviewer subagent → must approve quality- Fix any issues, re-review if needed
- Mark task done, move to next
- Final: dispatch overall code reviewer → hand off to Phase 5
TDD is mandatory in every task. See references/tdd.md.
Phase 4: Systematic Debugging
Trigger: Bug, test failure, unexpected behaviour — any technical issue.
See: references/systematic-debugging.md
HARD GATE: No fixes without root cause investigation first.
Four phases:
- Root Cause Investigation (read errors, reproduce, check recent changes, trace data flow)
- Pattern Analysis (find working examples, compare, identify differences)
- Hypothesis + Testing (one hypothesis at a time, test to prove/disprove)
- Fix + Verification (fix at root, not symptom; verify fix doesn't break anything)
Phase 5: Finishing a Branch
Trigger: All tasks complete, all tests pass.
See: references/finishing-branch.md
Summary:
- Verify all tests pass
- Determine base branch
- Present 4 options: merge locally / push + PR / keep / discard
- Execute choice
- Clean up
OpenClaw Subagent Dispatch Pattern
When dispatching implementer or reviewer subagents, use sessions_spawn:
Goal: [one sentence]
Context: [why it matters, which plan file]
Files: [exact paths]
Constraints: [what NOT to do — no scope creep, TDD only]
Verify: [how to confirm success — tests pass, specific command]
Task text: [paste full task from plan]Run sessions_spawn with the task as a detailed prompt. The sub-agent announces results automatically.
Key Principles
- One question at a time during brainstorm
- TDD always — write failing test first, delete code written before tests
- YAGNI — remove unnecessary features from all designs
- DRY — no duplication
- Systematic over ad-hoc — follow the process especially under time pressure
- Evidence over claims — verify before declaring success
- Frequent commits — after each green test
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.

