optimize - Measure and optimize local code performance
Optimizes local code through measured campaigns, targeted fixes, or read-only hot-path analysis without remote, publish, deploy, or irreversible changes.
Tags
Updated: 2026-11-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Run measured optimization campaigns
- Apply targeted performance fixes
- Profile and identify hot paths
- Analyze suspected paths read-only
- Estimate complexity-neutral simplifications
- Verify performance and regressions
Inputs
- Optimization mode
- Resolvable code target
- Runnable workload or benchmark
- Repository verification commands
- Performance symptom
- Profiling evidence
- Performance controls
Outputs
- Performance measurements
- Optimization decision logs
- Modified local source files
- CI performance guard
- Field performance monitor
- Atomic optimization commit
- Hot-path hypotheses
- Benchmark designs
- Complexity-theater refusals
Requirements
- Local version-controlled repository
- Resolved writable target
- Runnable workload lasting at least one second
- Repository-native verifier
- Hyperfine
- Suitable profiler
