一键导入
performance-optimization
Optimize based on measurement, never guesswork. Profile first, fix the real bottleneck, verify the win.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Optimize based on measurement, never guesswork. Profile first, fix the real bottleneck, verify the win.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Karpathy-inspired guidelines: Think before coding, Simplicity first, Surgical changes, Goal-driven execution
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Write an actionable markdown plan before implementation. Bite-sized tasks, exact paths, complete code.
Write clear Conventional Commits. Imperative subject, explain why not what, one logical change per commit.
Refactor code without changing behavior. Small steps, green tests after every change, no mixing with feature work.
Review PRs on GitHub: read diffs, leave inline comments, approve or request changes.
| name | performance-optimization |
| description | Optimize based on measurement, never guesswork. Profile first, fix the real bottleneck, verify the win. |
Core principle: Measure, don't guess. Intuition about hotspots is usually wrong.
NO OPTIMIZATION WITHOUT A MEASUREMENT THAT JUSTIFIES IT.
BEFORE changing anything:
bash.go test -bench/pprof, cProfile, perf, browser devtools).