diagnosing-superpowers
Skill19 starsChanged 2 months agoMITView on GitHub
Superpower Skill:当 superpowers 会话出错、human partner 想查原因(重复工作、忽略计划、技能未触发、耗时过长、成本过高、结果不佳)或想为维护者建缺陷报告时,适用当前或历史会话。
5 other projects use a version of this.
Adopted by
Most recently taken up by
- LayneChai/superpowers-dshtheir own version, first seen Oct 3, 2026
- Just-Silver/just-silver-skillstheir own version, first seen Sep 30, 2026
- jnMetaCode/superpowers-zhtheir own version, first seen Sep 26, 2026
- ddtcorex/maestro-skillstheir own version, first seen Aug 22, 2026
- obra/superpowerstheir own version, first seen Jun 30, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- LayneChai/superpowers-dsh★ 102same name
- ddtcorex/maestro-skills★ 4same name
- Just-Silver/just-silver-skills★ 1same name
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 repository14 other files it gives its agents.
- brainstormingSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
Files
诊断 superpowers
概览
与你的 human partner 一起确定会话中哪里出了问题,读取磁盘上的 transcript,并基于证据报告实际发生的情况。你负责报告;你不对 superpowers 做诊断。由分诊 bundle 或 issue 的人决定 superpowers 是否要改。
核心原则: 每条发现都引用 path:line。没有引用就没有发现。每个数字都来自 transcript 或你运行的命令,绝不来自记忆。
工作流程
每个步骤创建一个 todo。步骤 5–7 仅在其所述条件满足时运行。
- 问题收集。 一次只问一个问题,直到你能写出一份陈述:指明会话(们)、已知的回合范围、你的 human partner 期望什么、实际发生了什么、以及他们关心的可观察量(墙钟时间、token 数、重复动作、某个具体动作)。"耗时太长"是抱怨,不是问题陈述。同时记录目标是否为提交 superpowers 缺陷报告。
- 定位。 使用
references/session-discovery.md把每个会话解析为经过验证的绝对文件系统路径。通过引用其首个 prompt 与时间戳来确认历史会话,并列出你拒绝的每个候选及其原因,没有则写"无"。枚举 subagent transcript。创建~/.superpowers/diagnosing-superpowers/<session-id>/,把路径告诉你的 human partner,并按templates/case.md在其中填写 case 文件,遵循其对环境与技能观察的来源(provenance)规则。 - 分诊。 亲自阅读报告问题周围的区域。然后按维度并行派出分析师 subagent,每个 subagent 获得 case 文件路径、
prompts/analyst-common.md以及prompts/中的一个维度文件:skill-timeline.md、plan-adherence.md、repeated-work.md、stumbles.md、quality-evidence.md、request-conflicts.md、cost-and-time.md。transcript 较长时按回合范围拆分维度。丢弃任何缺少path:line的返回发现。 - 报告。 按顺序填满
templates/report.md的每一节,写入 workspace,展示并给出路径。检查引用的内容实际证明了什么,并保留支撑性 case;符号链接别名不是冗余副本。 - GitHub issues — 当报告 §7 显示"可能(possible)"或"很可能(likely)",或你的 human partner 要求时。按
references/github-issues.md搜索已开与已关闭 issue 中的症状。展示匹配项并建议把报告附加到最接近的一条。若无匹配,填写templates/issue.md,写入 workspace,展示确切文本,仅在批准后创建 issue。gh无法附加文件;若存在 bundle,把路径交给你的 human partner 在浏览器中附加。 - 导出 — 仅当你的 human partner 要求 bundle 时;绝不未经要求构建。若收集阶段的目标是缺陷报告,说一次"可按需提供已脱敏的 bundle",然后等待。询问脱敏级别,说明各级包含什么:skeleton(无工具结果正文)、evidence(仅被引用事件有正文)、full。按
templates/bundle-README.md构建 bundle,派出prompts/scrub.md,然后prompts/scrub-audit.md,重复两者直到审计返回 CLEAN。完成 bundle 模板的证据检查与对账后,再展示最终脱敏日志、文件清单与隐私和证据结论。仅在批准后归档(zip -r或tar -czf)。给出归档路径时,说明其包含内容、指出脱敏日志中的替换,并说明脱敏可能遗漏:他们必须在分享前审阅每个文件。 - 相似会话 — 应要求时。把已确认的发现转为签名(signature),按 mtime 与大小列出候选,找出标记行号,对每个候选并行派出
prompts/similar-session.md,并把报告 §9 追加进去。
快速参考
七个分析师始终运行。本表说明步骤 3 中你要亲自读哪个区域,以及在结论中优先展示哪些发现。
| 抱怨 | 先读,优先展示 |
| "耗时太长" | cost-and-time, stumbles |
| "为什么做了这份额外工作?" | repeated-work, plan-adherence |
| "为什么这么贵?" | cost-and-time |
| "它在搞什么鬼?"(仍在运行) | skill-timeline;在覆盖范围注明进行中 |
| "它忽略了计划" | plan-adherence,压缩行优先 |
| "技能 X 从未触发" | skill-timeline |
铁律
- 上下文安全。 一行 transcript 可能有一兆字节。对每个会话文件的每次读取都遵循
references/context-safety.md。 - 只读。 绝不修改、移动或删除会话文件。
- 给 subagent 的绝对路径。 subagent 的"当前会话"是它自己的。传递绝对路径与 id。
- 仅限人类 prompt。 钩子输出、系统提醒与工具结果不是你的 human partner 的话。在 subagent transcript 中,"user"是父代理。
- 不做 superpowers 诊断。 报告 §7 说明参与程度并就此打住。绝不在技能中指认缺陷或提出修改。你的 human partner 催促修复并不豁免这一点;指向 issue 步骤并提及可按需提供 bundle。也不给你的 human partner 任何建议。
- 审批关卡。 在你的 human partner 看到脱敏日志与文件清单之前,不归档。他们批准确切文本之前,不创建 issue 或评论。
- 分析前先收集。 步骤 2–7 的任何事情都要等你的 human partner 回答后才开始。若他们不在,写下问题并停止。你为他们重构的陈述不是回答。已界定范围的请求——某个具体事件、现在正在运行什么、或要运行的分析——本身就是陈述:先回答它,再提问。对整个会话的"为什么"是抱怨。
红旗
| 想法 | 实际情况 |
| "问题很明显,跳过收集" | 问题陈述界定了所有范围。问。 |
| "他们不在,我重构陈述" | 你无法重构他们想要的东西。写下问题并停止。 |
| "我先全量扫描,最后再问" | 未界定范围的扫描把他们的预算花在错误的问题上。先问。 |
| "他们要缺陷报告,我这就构建 bundle" | bundle 是他们的会话数据被打包。仅当他们要求时才构建。 |
| "小范围、有针对性的编辑,无需重构" | 这不是你说了算,无论多小。报告证据;由分诊者决定。 |
| "每 token 的价格众所周知" | 你不是从 transcript 算出的数字都是编造的。引用或删除。 |
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.

