一键导入
optimize
Profile and optimize code for performance — identify bottlenecks and fix them
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Profile and optimize code for performance — identify bottlenecks and fix them
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a new implementation of the primary protocol/interface (Alex Rivera's workflow)
Add a new API endpoint following all project standards
Plan and implement a complete feature end-to-end across all layers
Full codebase audit — dead code, layer violations, concurrency, observability, code quality
Set up or update GitHub Actions CI/CD pipeline (Marcus Chen's workflow)
Remove dead code, unused imports, stale files, and fix code quality issues found by /audit
| name | optimize |
| description | Profile and optimize code for performance — identify bottlenecks and fix them |
| disable-model-invocation | true |
Optimize: $ARGUMENTS
Before optimizing, run the test command (see project config) to ensure tests pass.
Identify what to measure:
Read the code and identify potential bottlenecks:
For each bottleneck identified:
Run the test and type-check commands (see project config). All tests MUST still pass. No type errors. No regressions.