superpowers README

项目的 README,来自 github.com/obra/superpowers。合并为一个 markdown 文件:README.md。

Superpowers

Superpowers is a complete software development methodology for your coding agents, built on top of a set of composable skills and some initial instructions that make sure your agent uses them.

Table of Contents

How it works

It starts from the moment you fire up your coding agent. As soon as it sees that you're building something, it doesn't just jump into trying to write code. Instead, it steps back and asks you what you're really trying to do.

Once it's teased a spec out of the conversation, it shows it to you in chunks short enough to actually read and digest.

After you've signed off on the design, your agent puts together an implementation plan that's clear enough for an enthusiastic junior engineer with poor taste, no judgement, no project context, and an aversion to testing to follow. It emphasizes true red/green TDD, YAGNI (You Aren't Gonna Need It), and DRY.

Next up, once you say "go", it launches a subagent-driven-development process, having agents work through each engineering task, inspecting and reviewing their work, and continuing forward. It's not uncommon for your agent to work autonomously for a couple hours at a time without deviating from the plan you put together.

There's a bunch more to it, but that's the core of the system. And because the skills trigger automatically, you don't need to do anything special. Your coding agent just has Superpowers.

Commercial Services

If you're using Superpowers in enterprise and could benefit from commercial support, additional tooling, or managed spending, please don't hesitate to drop us a line at [email protected].

Installation

Installation differs by harness. If you use more than one, install Superpowers separately for each one.

Claude Code

Superpowers is available via the official Claude plugin marketplace

Official Marketplace

Superpowers Marketplace

The Superpowers marketplace provides Superpowers and some other related plugins for Claude Code.

Antigravity

Install Superpowers as a plugin from this repository:

agy plugin install https://github.com/obra/superpowers

Antigravity lists each installed skill's description, and the description of the using-superpowers skill prompts the model to load that skill at the start of a conversation. Reinstall with the same command to update.

Codex App

Superpowers is available via the official Codex plugin marketplace.

Codex CLI

Superpowers is available via the official Codex plugin marketplace.

Cursor

Devin CLI

Factory Droid

Gemini CLI

GitHub Copilot CLI

Grok Build CLI

Superpowers is available via the official Grok plugin marketplace.

Kimi Code

Superpowers is available in Kimi Code's plugin marketplace.

OpenCode

OpenCode uses its own plugin install; install Superpowers separately even if you already use it in another harness.

Pi

Install Superpowers as a Pi package from this repository:

pi install git:github.com/obra/superpowers

For local development, run Pi with this checkout loaded as a temporary package:

pi -e /path/to/superpowers

The Pi package loads the Superpowers skills and a small extension that injects the using-superpowers bootstrap at session startup and again after compaction. Pi has native skills, so no compatibility Skill tool is required. Subagent and task-list tools remain optional Pi companion packages.

Qwen Code

Qwen Code installs plugins from Claude Code marketplaces directly.

Hermes Agent

Install Superpowers as a Hermes plugin from this repository:

hermes plugins install obra/superpowers --enable

Restart any active Hermes sessions after installing. Note: Hermes has no post-compaction hook, so a very long session that compacts over its first turn loses the bootstrap — start a fresh session if skills stop triggering.

Muse

Superpowers is available as a native Muse plugin — same repo, same skills, all harnesses. The using-superpowers bootstrap is injected via the native SessionStart hook alongside Claude Code, Codex, Cursor, Gemini, Pi, and the rest — no per-session opt-in.

Restart any active Muse sessions after installing so the SessionStart hook takes effect — skills are active immediately, hooks require approval on first install. To verify, start a fresh session and send Let's make a react todo list — a working install auto-triggers brainstorming before any code is written. Version is tracked in .version-bump.json so scripts/bump-version.sh keeps it in sync.

The Basic Workflow

  1. brainstorming - Activates before building anything. Draws out what you actually want, and why, through questions that get you describing it, then plays its understanding back for correction. Small changes get agreed in chat; projects get a written design document a builder could plan from.

  2. using-git-worktrees - Activates after design approval. Creates isolated workspace on new branch, runs project setup, verifies clean test baseline.

  3. writing-plans - Activates with approved design. Breaks work into bite-sized tasks (2-5 minutes each). Every task has exact file paths, complete code, verification steps.

  4. subagent-driven-development or executing-plans - Activates with plan. Either dispatches a fresh subagent per task with a review after each (most thorough), or implements every task inline in the current session with one fresh review of the whole branch at the end (cheapest).

  5. test-driven-development - Activates during implementation. Enforces RED-GREEN-REFACTOR: write failing test, watch it fail, write minimal code, watch it pass, commit. Deletes code written before tests.

  6. requesting-code-review - Activates between tasks. Reviews against plan, reports issues by severity. Critical issues block progress.

  7. finishing-a-development-branch - Activates when tasks complete. Verifies tests, presents options (merge/PR/keep/discard), cleans up worktree.

The agent checks for relevant skills before any task. Mandatory workflows, not suggestions.

When Something Goes Wrong

Sometimes a session misbehaves: a skill fires when it shouldn't, stays silent when it should, or the agent ignores its plan, repeats work, or burns more tokens than you'd expect. Ask your coding agent to "figure out what went wrong with superpowers in this session" and it will invoke the diagnosing-superpowers skill. To examine an earlier session, name it: "figure out what went wrong with superpowers in session <id>".

The skill reads the session transcript, reports what happened with line-level evidence, and, if you want, packages a scrubbed bundle for a bug report.

Community

Superpowers is built by Jesse Vincent and the rest of the folks at Prime Radiant.

What's Inside

Skills Library

Testing

Debugging

Collaboration

Meta

Philosophy

Read the original release announcement.

Contributing

The general contribution process for Superpowers is below. Keep in mind that we don't generally accept contributions of new skills and that any updates to skills must work across all of the coding agents we support. We also don't accept agent-written PRs that fix issues filed by someone else unless a maintainer asked for one, even when you hit the same problem; add your report to the existing issue instead.

  1. Fork the repository
  2. Switch to the 'dev' branch
  3. Create a branch for your work
  4. Follow the writing-skills skill for creating and testing new and modified skills
  5. Submit a PR, filling in every section of the pull request template, including the summary a human writes in their own words.

Skill-behavior tests use the drill eval harness from superpowers-evals, cloned into evals/ — see evals/README.md for setup. Plugin-infrastructure tests live at tests/ and run via the relevant run-*.sh or npm test.

See skills/writing-skills/SKILL.md for the complete guide.

Updating

Superpowers updates are somewhat coding-agent dependent, but are often automatic.

License

MIT License - see LICENSE file for details

Visual companion telemetry

Because skills and plugins don't provide any feedback to creators, we have no idea how many of you are using Superpowers. By default, the Prime Radiant logo on brainstorming's optional visual companion feature is loaded from our website. It includes the version of Superpowers in use. It does not include any details about your project, prompt, or coding agent. We don't see your clicks or anything about what you're building. This helps us have a rough idea of how many folks are using Superpowers and which version of Superpowers they're using. It's 100% optional. To disable this, set the environment variable SUPERPOWERS_DISABLE_TELEMETRY to any true value. Superpowers also honors Claude Code's DISABLE_TELEMETRY and CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC opt-outs.

superpowers (obra/superpowers)

正在搜索数据库…

这是什么东西?Superpowers 是一套面向编程智能体的软件开发方法论:由可组合的技能(skills)加上引导指令组成,能让你的智能体走上有纪律的开发流程,而不是随手写代码。
那它不是一个独立的软件吧——它是怎么出现在我的智能体里的?它就运行在你已经在用的编程智能体里:只需以插件形式安装一次,之后在你的每次会话中相关技能都会自动触发。
把它装进 Claude Code 需要做些什么?从 Anthropic 官方的 Claude Code 插件市场(或项目自带的市场)安装插件即可;每种工具有各自的安装说明,而且你用的每个智能体都需要分别安装一次。
它能配合我在用的编程智能体吗?很可能可以:它支持 Claude Code、Antigravity、Codex App 和 CLI、Cursor、Devin CLI、Factory Droid、Gemini CLI、GitHub Copilot CLI、Grok Build CLI、Kimi Code、OpenCode、Pi 以及 Hermes Agent。
装上之后它会管得多严?非常严:各种工作流是强制执行的,不是建议——TDD 按“先写失败测试、再写实现、最后重构”的红绿重构流程强制要求,先写代码后补测试的话代码会被删掉。
安装它会把什么东西发回给作者吗?只有一个可选功能会:头脑风暴的可视化伴侣会从他们的网站加载一个标志图片,其中只带有版本号——不包含提示词或项目细节——而且可以通过环境变量关闭这一功能。
它日常工作流程是什么样的?它会和你一起头脑风暴设计方案,建一个隔离的 git worktree,把工作拆成 2-5 分钟的小任务,每个任务派一个全新的子智能体执行并经过两阶段审查,最后提供合并、发 PR 或清理等选项。
除了这套工作流,它还附带哪些技能?包括四阶段的系统化调试流程、完工前验证、并行派发智能体、代码审查清单,以及用于编写你自己技能的 writing-skills。
我批准方案之后,它还会不断来找我确认吗?不一定——它可以自主连续干上几个小时而不偏离方案;另外还有一种带人工检查点的批量模式。
我能教它我自己写的技能吗?可以——自带的 writing-skills 技能涵盖了编写和测试技能的方法,不过上游很少合并新技能,因为每个技能都必须在所有受支持的智能体上都能用,所以自定义技能通常只留在本地使用。
作者
obra
大小
8.2 MB
星标
331.4K
时长
1年
提交 · 90 天