Skip to content
Kitbay
Skill

performance-optimization

MITUpdated on Nov 1, 2026115,373GitHub stars

A skill from Addy Osmani's agent-skills collection for making web applications faster on the basis of measurements.

What the skill teaches

A skill from Addy Osmani's agent-skills collection for making web applications faster on the basis of measurements. The agent records a baseline with Lighthouse, browser DevTools or real-user data, finds the one bottleneck behind the symptom with a decision tree, fixes only that, measures again under the same conditions and keeps the change only if it beats the baseline with tests still passing, logging every attempt. It covers backend problems such as N+1 queries, unbounded fetches, unused indexes, pool exhaustion and caching, and frontend ones such as images, re-renders and bundle size, with Core Web Vitals targets and suggested CI budgets to catch regressions.

Capabilities

  • Measure a performance baseline
  • Find the bottleneck behind a slowdown
  • Fix N+1 queries and missing indexes
  • Set CI performance budgets