Skip to main content

optimize-api

Optimize API performance and scalability. Measures first (pg_stat_statements, OpenTelemetry traces, k6 profile, CPU/memory metrics), identifies top bottlenecks by impact × effort, then applies evidence-backed optimizations — query tuning, indexes, connection pooling (PgBouncer/pgcat), caching (Redis L2 + in-process L1), N+1 elimination (DataLoader), cache stampede prevention (XFetch/single-flight), rate limiting tuning, serialization (protobuf over JSON), HTTP/2-3, CDN edge caching, tail latency reduction (request hedging P80). Triggers on "optimize my api", "reduce latency", "handle more traffic", "scale my api", "reduce 5xx rate", "improve throughput" — plain "api is slow" routes to debug-api first (root cause before tuning). Produces before/after metrics for every change.

Jump to install

Source facts

Repository
TheMizeGuy/api-expert-public
Last source activity
July 7, 2026 at 09:27
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.