Community编程与开发github.com

使用超能力

在任何对话开始时使用——建立查找和使用技能的方法,要求在任何响应(包括澄清性问题)之前必须调用技能。

使用超能力 是什么?

此技能,称为「使用超能力」,是 AI 代理(例如用于 Claude Code、Cursor、Codex 等)的基础入口点。其核心规则是:在做出任何响应或采取任何行动(包括提出澄清性问题、探索代码库或检查文件)之前,必须先调用相关或请求的技能。它强制执行严格的优先级:处理技能(如头脑风暴、系统化调试)必须先于实现技能。该技能通过提供一份常见合理化想法(例如“这只是一个简单问题”或“我需要更多背景信息”)及其对应现实的表格来识别“危险信号”。它还根据特定平台(Claude Code、Codex、Pi、Antigravity、Hermes Agent、Muse)提供适应性调整,指示用户阅读其对应的参考文件以获取特殊说明。用户指令始终优先于技能,技能本身则覆盖默认行为。本质上,此技能确保代理始终遵循正确的流程,避免因不假思索的行动而浪费时间的陷阱。

兼容平台✓Claude Code✓Codex CLI~Cursor✓Antigravity✓Gemini CLI
npx skills add https://github.com/obra/superpowers/tree/main/skills/using-superpowers

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

<极重要> 如果您认为即使有 1% 的可能性某项技能可能适用于您正在做的事情,您也绝对必须调用该技能。

如果某项技能适用于您的任务,您别无选择。您必须使用它。

这没有商量余地。您不能通过理性思考来逃避这一要求。 </极重要>

规则

在任何响应或行动之前调用相关或请求的技能——包括提出澄清性问题、探索代码库或检查文件。如果最终发现该技能不适用于当前情况,则无需使用它。

在进入规划模式之前: 如果尚未进行头脑风暴,请先调用头脑风暴技能。

然后宣布“正在使用 [技能] 来进行 [目的]”并精确遵循该技能。如果有清单,请为每一项创建一个待办事项。

技能优先级

当多个技能适用时,处理技能优先——它们设定方法,然后实现技能(如前端设计等)来执行。头脑风暴和系统化调试是超能力最常见的处理技能,但此规则适用于任何技能。

  • “我们来构建 X” → 先使用 superpowers:brainstorming,然后是实现技能。
  • “修复这个错误” → 先使用 superpowers:systematic-debugging,然后是领域技能。

危险信号

以下想法意味着停止——您正在理性化:

想法现实
“这只是个简单问题”问题也是任务。检查技能。
“我需要更多上下文”技能检查必须在提出澄清性问题之前进行。
“让我先探索代码库”技能会告诉您如何探索。先检查。
“我可以快速检查 git/文件”文件缺少对话上下文。检查技能。
“让我先收集信息”技能会告诉您如何收集信息。
“这不需要正式的技能”如果技能存在,就使用它。
“我记得这个技能”技能会演进。阅读当前版本。
“这不算任务”行动 = 任务。检查技能。
“用这个技能是小题大做”简单的事情会变得复杂。使用它。
“我先做这一件事”做任何事情之前都要先检查。
“这感觉很高效”缺乏纪律的行动会浪费时间。技能可以防止这种情况。
“我知道那是什么意思”知道概念 ≠ 使用技能。调用它。

平台适配

如果您的运行环境出现在这里,请阅读其参考文件以获取特殊说明:

  • Claude Code: references/claude-code-tools.md
  • Codex: references/codex-tools.md
  • Pi: references/pi-tools.md
  • Antigravity: references/antigravity-tools.md
  • Hermes Agent: references/hermes-tools.md
  • Muse: references/muse-tools.md

用户指令

用户指令(CLAUDE.md、AGENTS.md、GEMINI.md 等,或直接请求)优先于技能,技能又覆盖默认行为。只有当您的合作伙伴明确告知您时,才可跳过技能工作流程或指令。

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

diagnosing-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.

dispatching-parallel-agents

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

executing-plans

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

finishing-a-development-branch

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

receiving-code-review

Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

subagent-driven-development

Use when executing implementation plans with independent tasks in the current session

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

using-git-worktrees

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback

verification-before-completion

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always

writing-plans

Use when you have a spec or requirements for a multi-step task, before touching code

writing-skills

Use when creating new skills, editing existing skills, or verifying skills work before deployment

相关技能