performance-optimizer
Review or plan changes that affect latency, throughput, caching, batching, scaling behavior, or duplicate work.
- License 许可
- MIT
- 最近更新
- 2026-09-05
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- performance-optimizer
- metadata
- { "short-description": "Optimize performance-critical changes safely" }
- description
- Review or plan changes that affect latency, throughput, caching, batching, scaling behavior, or duplicate work.
02 资源文件 1
- 参考文档README.md612 B
03 SKILL.md 正文
performance-optimizer
Purpose During Development
Use this skill when Codex and similar AI coding agents are reviewing or implementing performance-related changes such as latency reduction, duplicate-work removal, scaling improvements, batching, caching, or throughput improvements.
This is a reusable development-time reasoning framework. It is not runtime code and must not be coupled into the product being reviewed.
When To Apply
- performance-focused features or refactors
- PRs that claim to speed up code paths
- bugs involving timeouts, duplicate work, memory growth, or slow orchestration
- changes that introduce caching, batching, concurrency, or reuse
What To Inspect
- performance goals or claims
- instrumentation, traces, or timing evidence
- high-cost paths and repeated calls
- cache or reuse semantics
- tests or benchmarks that verify the claim
Rules To Enforce
- require evidence for performance claims
- remove duplicate work before speculative micro-optimization
- keep performance behavior visible and debuggable
- do not weaken safety, correctness, or contract clarity for speed
- make caching and reuse explicit to callers and reviewers
Common Anti-Patterns To Catch
- performance claims without measurement
- hidden or stale caches
- performance shortcuts that skip validation or safety controls
- optimizing low-cost code while ignoring dominant bottlenecks
- scattering reuse logic across unrelated modules
Expected Output From The Agent
- bottleneck summary
- evidence review
- optimization options with trade-offs
- regression risks
- verification guidance
Output Structure
- Summary
- Key Findings
- Risks
- Affected Files
- Evidence Reviewed
- Suggested Improvements
- Suggested Tests
- Skills applied
Example Usage
"Review this PR that claims to reduce latency and check whether the evidence supports the claim."
"Use this skill to plan safe duplicate-work reduction in a multi-stage workflow."
04 同仓库更多 Skills
test-strategy-reviewer
Assess verification scope, regression protection, and risk-based test coverage for changes under review or implementation.
security-engineer
Plan or review project security, tool reuse, dependencies, services, integrations, permissions, secrets, supply-chain risk, and security scan requirements.
scope-safety-guard
Review or plan changes that affect permissions, security boundaries, sensitive operations, external effects, or safety constraints.
project-engineer
Turn a design, idea, sketch, brief, or product concept into the simplest feasible project plan spanning design, deployment, security, operations, finance, tool reuse, and verification.
product-designer
Turn ideas, workflows, screenshots, or design briefs into credible product design direction and frontend guidance that avoids generic AI-looking UI.
playbook-installer
Guide adoption of AI-Engineering-Playbook governance files in a portable, repeatable way across repositories.