Skip to content

jnMetaCode/superpowers-zh / skills/diagnosing-superpowers

diagnosing-superpowers

Verified

当一次 superpowers 会话出了问题、你的人类伙伴想知道原因时使用——重复劳动、无视计划、磕磕绊绊、结果质量差、某个技能没触发、"太慢了"、"为什么这么贵"、"它到底在干什么"——或者想给 superpowers 维护者整理一份 bug 报告;适用于当前会话,或按 id / 路径指定的过往会话,任何工具均可

prompts/cost-and-time.md

View on GitHub
先读 `prompts/analyst-common.md`;它给出你的角色、输入、上下文安全规则和返回格式。
本文件补充维度。

维度:成本与耗时(Cost and time)

弄清 token 和墙钟时间都花在了哪里。

1. Token。只使用案例文件中确立的用量记录和计数器含义。计算总量之前,先说明每个
   计数器是增量的还是累计的;对累计观测值做差分,不要把缺失的观测值当成零。
   报告有支撑的总量最大的五个轮次,以及每个关联会话有支撑的总量。
2. 墙钟时间。使用案例文件中记录的、有证据的时间戳字段、事件边界和单位。报告
   有支撑的耗时最长的五个轮次,以及相邻事件之间超过十分钟的任何间隔(空闲、等待
   某个关联会话、或等待你的人类伙伴;只有记录能表明时才说是哪一种)。
3. 最大的工具结果:用案例文件中有证据的工具结果记录,报告最大的十个结果及其工具和
   轮次。先度量记录大小,再提取有界的内容。
4. 压缩(compaction):统计并定位那些在发现阶段被确认为压缩事件的记录。报告可得的
   压缩前后计数器,以及每次触发时会话正在做什么;没有支撑的字段标记为缺失。
5. 关联会话:统计数量,并报告每个会话有支撑的用量、时长和派发它的轮次。
6. 报告在总量中占主导的轮次、子智能体、工具或重复,附上数字。除了会话记录能表明的
   内容之外,不要推测某个轮次为什么昂贵。
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall