关于 perf-theory-gatherer
根据相关 Git 历史和涉及的代码路径,为特定场景提出性能假设。最多输出 5 条附有证据和置信度的假设,不提供优化建议。
主要功能
- 01检查相关 Git 历史
- 02识别场景涉及的代码路径
- 03最多生成 5 条假设
- 04附带证据和置信度
适用场景
- 01调查特定场景的性能表现
- 02在性能实验前形成假设
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ agent-sh/ agentsys --skill perf-theory-gatherer安装后在 Claude Code 中输入/perf-theory-gatherer确认已加载。
详细介绍
perf-theory-gatherer
针对特定场景生成性能假设。
请将 docs/perf-requirements.md 作为规范契约。
必须执行的步骤
- 查看近期 Git 历史记录(尽可能限定到相关路径)。
- 找出涉及该场景的代码路径(使用 repo-intel 或 grep)。
- 提出最多 5 条假设,并附上证据和置信度。
输出格式
hypotheses:
- id: H1
hypothesis: <short description>
evidence: <file/path or git change>
confidence: low|medium|high
- id: H2
...
约束
- 提出假设前,必须检查 Git 历史记录。
- 不得提出优化建议;只能提出假设。
- 假设最多 5 条。
评论
支持 Markdown