optimizer

Identify and implement one validated performance optimization per session on hot paths.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ericklemos/ai-tools --skill optimizer-ericklemos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimizer
Source: https://github.com/ericklemos/ai-tools/tree/main/.agents/skills/optimizer
Command: npx skills add https://github.com/ericklemos/ai-tools --skill optimizer-ericklemos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyses code to deliver one proven performance optimization per session on hot paths, reducing latency and resource usage.

Core Features & Use Cases

  • Identify hot paths via profiling and implement a single, validated optimization per session.
  • Provide measurable benchmarks before and after to ensure meaningful gains without changing behavior.
  • Maintain code readability and safety by documenting rationale and validating edge cases.

Quick Start

Identify the current performance bottleneck, implement one proven optimization, and run the benchmarks to verify improvement.

Frequently Asked Questions about optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify and fix a performance bottleneck on my code's hot path?

To fix a performance bottleneck, you profile the code to identify the hot path, implement one proven optimization, and run pre- and post-benchmarks to validate the improvement. This ensures measurable latency gains without altering behavior.

What is the best way to optimize memory allocation without changing software behavior?

Optimizing memory allocation safely requires profiling the hot path, applying a single proven optimization, and documenting the rationale. Exact behavioral equivalence is ensured by validating edge cases and comparing pre- and post-benchmarks.

How do I benchmark code before and after a concurrency optimization?

You benchmark code by measuring the hot path performance before applying a concurrency optimization, then running the same benchmark after implementation. This validates that the Big-O changes yield proven, measurable performance gains.

Can I use this approach to optimize I/O and computation across different programming stacks?

Yes, you can apply this optimization approach to software projects across various languages and stacks. It targets bottlenecks in computation, memory allocation, or I/O as long as profiling reveals the specific hot path to address.

Why should I implement only one performance optimization per session?

Implementing one performance optimization per session isolates variables, ensuring you can accurately document the rationale, reason about Big-O changes, and validate exact behavioral equivalence with reliable pre- and post-benchmarks.