Performance optimization

From charlieviettq/awesome-agent-skill · View interactive version

Performance optimization is an AI agent skill from the GitHub repository charlieviettq/awesome-agent-skill. Measure, identify bottlenecks, fix, verify, and guard performance regressions. Use for web vitals, slow APIs, heavy notebooks/pipelines, or video/render workloads.

How to use this skill

Skill file

Performance optimization

Workflow

MEASURE -> IDENTIFY -> FIX -> VERIFY -> GUARD

Never optimize without a baseline.

Measure first

| Domain | Signals |

|--------|---------|

| Web | LCP, INP, CLS, bundle size, waterfall |

| API/DB | p50/p95 latency, query plans, N+1 |

| Data/ML | wall time, memory peak, I/O wait |

| Media | frame time, encode throughput |

Identify

Fix patterns (common)

| Issue | Direction |

|-------|-----------|

| Large JS bundle | Code split, lazy routes, tree-shake |

| Render churn | Memoization only when measured; virtualize lists |

| Slow queries | Indexes, fewer round trips, pagination |

| Pandas hot path | Vectorize, polars, smaller dtypes |

Verify

Guard

Related

gstack/benchmark, frontend-engineering/frontend-ui-accessibility, observability-slo

See reference.md for a performance review checklist.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.