W Perf

blockmatic/basilic-skills/skills/workflow/w-perf

作者 blockmatic7e05e2abd052dc6b526e8a28e36d102d42bfd635无许可证1 个星标收录于 2026年10月9日更新于 2026年10月9日仓库6天前更新

Measure bottlenecks with repository tools, then recommend or apply evidenced optimizations.

AI 生成的概览

以真实基线测量性能瓶颈,并据此建议或实施有证据支持的优化。

功能
引导智能体进行有测量的性能排查:先阅读现有测试文档中的预算,再用仓库的分析器、追踪、测试或任务计时采集基线,并定位所属热路径,例如查询、渲染或内存分配。随后建议最小改动,仅在获得授权时实施,并在改动后重新测量。如需新增预算,会记录到现有测试文档中,而不是自行发明,行为或命令变化时也会更新文档。
适用场景
适用于排查代码仓库中的性能问题,并需要在提出改动前获得可测量的基线。除非用户明确要求实施,否则以仅报告分析为主。
运行要求
仅为说明文档,不含脚本。需要访问仓库的测试文档、分析器、追踪或测试,可选使用 gh 命令行工具获取任务计时。

Find performance issues with a measured baseline. Do not invent SLOs or impact percentages. Report-only unless the user asked to implement.

  1. Read testing docs for budgets if present. Capture a baseline with the repo profiler, traces, tests, or gh job timing — not estimates.
  2. Locate the owning hot path (query, render, allocation) with that evidence.
  3. Recommend the smallest change. Implement only when authorized. Re-measure after a change.
  4. If a new budget is required, document it in existing testing docs instead of inventing an SLO here.
  5. Docs: /w-docs if behavior or commands changed.

来源与署名

来源:blockmatic/basilic-skills位于skills/workflow/w-perf提交7e05e2a

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架