← Explore all skills

WEB PERFORMANCE / Addy Osmani

Performance optimization

Starts from a measurement workflow and names Core Web Vitals targets instead of guessing a speedup.

“Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.”

01 / THE REASONING

Why this made the selection.

  • Its five steps (measure, identify, fix, verify, guard) keep a change only when the re-measurement beats run-to-run variance with tests still green.
  • It pairs synthetic measurement (Lighthouse, DevTools traces) with field data (web-vitals, CrUX) and maps each symptom to the first thing to measure.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • skills/performance-optimization/SKILL.md at 7d65f5e7 (unchanged from 1401c8b8 by git blob SHA)
  • README.md Quick Start and per-skill install note
  • LICENSE (MIT)
  • README.md (installation command audit at the existing pin)

Our findings

  • Step 4 is a decision table: keep a change past the threshold with tests green; revert a change within noise, a worse one, or one that turned a test red. Reverted attempts go in a ledger so they are not retried.
  • Step 3 names the usual suspects (N+1 queries, unbounded fetching, ignored indexes checked with EXPLAIN ANALYZE, connection-pool exhaustion, caching, images, re-renders, bundle size) and links each to references/optimization-patterns.md.
  • Step 5 enforces budgets in CI with npx bundlesize and npx lhci autorun, and asks for field alerts on p75 RUM movement.

Not established by this review

  • The skill was not executed inside a host agent.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add addyosmani/agent-skills --skill performance-optimization

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

  1. Install the named skill.
  2. Measure before changing. Do not cite the skill's targets as this site's.

Before you start

  • A measurement of the thing you intend to change

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. Skill definition ↗Checked

    https://github.com/addyosmani/agent-skills/blob/7d65f5e781e819895d0603912290edca6d2cf2f7/skills/performance-optimization/SKILL.md

    Supports: Workflow and stated scope

  2. Repository licence ↗Checked

    https://github.com/addyosmani/agent-skills/blob/7d65f5e781e819895d0603912290edca6d2cf2f7/LICENSE

    Supports: Redistribution terms

  3. https://github.com/addyosmani/agent-skills/blob/7d65f5e781e819895d0603912290edca6d2cf2f7/README.md

    Supports: install, limitations

  4. https://raw.githubusercontent.com/addyosmani/agent-skills/7d65f5e781e819895d0603912290edca6d2cf2f7/skills/performance-optimization/SKILL.md

    Supports: limitations, review

  5. https://raw.githubusercontent.com/addyosmani/agent-skills/7d65f5e781e819895d0603912290edca6d2cf2f7/README.md

    Supports: review

Evidence & Ask