refactor-performance
Improve measurable performance with evidence, without speculative rewrites.
来源信息
- 仓库
- sunpar/agentic_development
- 最近来源活动
- 2026年5月22日 15:56
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- refactor-performance
- description
- Improve measurable performance with evidence, without speculative rewrites.
# Refactor Performance
## Trigger
Use for clearly measurable performance bottlenecks.
## Inputs
- Profile output, benchmark data, and affected files.
## Outputs
- Performance-focused code changes plus evidence and fallback plan.
## Procedure
1. Identify measurable bottleneck and baseline metrics.
2. Implement minimal targeted optimization.
3. Add/retain benchmarks.
4. Confirm no regressions in existing correctness tests.
## Guardrails
- Avoid speculative optimization.
- Keep behavior intact.
## Success criteria
- Measured improvement and all required tests passing.
## Prefer Superpowers
- Use `verification-before-completion` for benchmark-based confidence checks.
## Avoid scope creep
- Do not refactor unrelated call paths.
在 GitHub 查看