|
|
10 місяців тому | |
|---|---|---|
| .claude | 10 місяців тому | |
| .claude-plugin | 10 місяців тому | |
| .codex | 10 місяців тому | |
| .github | 10 місяців тому | |
| .opencode | 10 місяців тому | |
| agents | 10 місяців тому | |
| commands | 11 місяців тому | |
| docs | 10 місяців тому | |
| hooks | 10 місяців тому | |
| lib | 10 місяців тому | |
| skills | 10 місяців тому | |
| tests | 10 місяців тому | |
| .gitignore | 11 місяців тому | |
| LICENSE | 11 місяців тому | |
| README.md | 10 місяців тому | |
| RELEASE-NOTES.md | 10 місяців тому |
AI agents skip steps under time pressure. They bypass best practices when confident. They lack consistency across tasks.
Superpowers fixes this. Skills are mandatory instruction documents agents must follow. When a relevant skill exists, agents use it or fail the task.
Skills are markdown files with proven workflows. The system teaches agents: "You have skills. Use them." This creates compliance, not optional reference.
Example: The test-driven-development skill forces RED-GREEN-REFACTOR. No test-first? Delete the code and start over. The skill prevents rationalization.
Testing
Debugging
Collaboration
Meta
When you ask to build a feature:
brainstorming - Activates before writing code. Refines rough ideas through questions. Explores alternatives. Presents design in sections for validation. Outputs design document.
writing-plans - Activates when design is complete. Breaks work into tasks (2-5 minutes each). Includes exact file paths, complete code, verification commands. Outputs task-by-task plan.
executing-plans - Activates with a plan. Implements in batches with review checkpoints. Outputs working implementation.
test-driven-development - Activates during implementation. Enforces RED-GREEN-REFACTOR: write test, watch it fail, write code, watch it pass, commit. No code without failing test first.
requesting-code-review - Activates between tasks. Reviews implementation against plan. Reports issues by severity.
finishing-a-development-branch - Activates when work completes. Verifies tests, presents options (merge/PR/keep/discard), handles cleanup.
The agent decides which skills to use. Skills activate automatically when your task matches their purpose.
Test-driven development. Systematic over ad-hoc. Evidence over claims. Simplicity as primary goal.
Read more: Superpowers for Claude Code
In Claude Code, register the marketplace first:
/plugin marketplace add obra/superpowers-marketplace
Then install the plugin from this marketplace:
/plugin install superpowers@superpowers-marketplace
Check that commands appear:
/help
# Should see:
# /superpowers:brainstorm - Interactive design refinement
# /superpowers:write-plan - Create implementation plan
# /superpowers:execute-plan - Execute plan in batches
Tell Codex:
Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.codex/INSTALL.md
Detailed docs: docs/README.codex.md
Tell OpenCode:
Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.opencode/INSTALL.md
Detailed docs: docs/README.opencode.md
Brainstorm a design:
/superpowers:brainstorm
Create an implementation plan:
/superpowers:write-plan
Execute the plan:
/superpowers:execute-plan
Skills activate automatically when relevant. For example:
test-driven-development activates when implementing featuressystematic-debugging activates when debugging issuesverification-before-completion activates before claiming work is doneTesting (skills/testing/)
Debugging (skills/debugging/)
Collaboration (skills/collaboration/)
Meta (skills/meta/)
All commands are thin wrappers that activate the corresponding skill:
brainstorming skillwriting-plans skillexecuting-plans skillusing-superpowers skill at session startSkills live directly in this repository. To contribute:
writing-skills skill for creating new skillstesting-skills-with-subagents skill to validate qualitySee skills/meta/writing-skills/SKILL.md for the complete guide.
Skills update automatically when you update the plugin:
/plugin update superpowers
MIT License - see LICENSE file for details