agentsclimarketplace

Performance optimization

Skill charlieviettq/awesome-agent-skill/.claude/skills/performance-optimization

Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).

Install
npx -y skills add charlieviettq/awesome-agent-skill --skill performance-optimization

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 22 stars22 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Measure, identify bottlenecks, fix, verify, and guard performance regressions. Use for web vitals, slow APIs, heavy notebooks/pipelines, or video/render workloads.

SKILL.md

1.4 KB, 296 tokens by cl100k_base, as published. Nobody here has run it

Performance optimization

Workflow

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

Never optimize without a baseline.

Measure first

DomainSignals
WebLCP, INP, CLS, bundle size, waterfall
API/DBp50/p95 latency, query plans, N+1
Data/MLwall time, memory peak, I/O wait
Mediaframe time, encode throughput

Identify

  • Profile before guessing (browser Performance, py-spy, query EXPLAIN)
  • One bottleneck at a time; document hypothesis

Fix patterns (common)

IssueDirection
Large JS bundleCode split, lazy routes, tree-shake
Render churnMemoization only when measured; virtualize lists
Slow queriesIndexes, fewer round trips, pagination
Pandas hot pathVectorize, polars, smaller dtypes

Verify

  • Compare before/after with same workload
  • Check regressions on adjacent metrics (memory, error rate)

Guard

  • Budget thresholds in CI or release checklist
  • gstack/benchmark for web regressions when applicable

Related

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

See reference.md for a performance review checklist.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.