SkillsReviewed · addyosmani

Performance Optimization

Performance Optimization is a skill for coding assistants and developers investigating slow applications, but it requires separate profiling tools and real measurements to establish whether changes help. It covers frontend rendering, database queries, connection pools and caching, with explicit rules for verifying improvements and reverting unsuccessful attempts.

Researched 16 Nov 2026

In short.

Performance Optimization is an assistant skill for developers tackling application slowness, but its written guidance does not establish actual performance gains or compatibility with a particular assistant. Its strongest feature is a measurement discipline: establish a baseline, identify one bottleneck, change it, repeat comparable measurements and retain only improvements that exceed noise while preserving correctness. Worked examples cover common frontend and backend problems. Installation details, tool costs and execution results are not supplied.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/performance-optimization folder: SKILL.md and references/optimization-patterns.md, plus the repository-root LICENSE as the related notice outside the folder. All three belong to commit 39b723ceebf81474d0557c1fecd01eddab585563. The linked repository-wide references/performance-checklist.md, other skills, installation tooling and subsequent changes are outside the supplied scope. No commands, examples, assistant integrations or performance measurements were run.

The overview

Identity

Performance Optimization is the performance-optimization skill in Addy Osmani's agent-skills repository. Its folder contains SKILL.md and references/optimization-patterns.md. It supplies Markdown instructions and implementation examples for a coding assistant. Original source: [https://github.com/addyosmani/agent-skills/tree/main/skills/performance-optimization].

Assessment

This is a useful fit when a team has a concrete slowdown, performance requirement or suspected regression and can collect representative measurements. Its strongest discipline is rejecting changes that fall within measurement noise or break correctness, while recording failed attempts so they are not repeated. The files provide the process; they do not automate profiling, enforce budgets or demonstrate successful optimizations.

Who it suits

Frontend developers get guidance on slow loading, sluggish interactions, layout shifts and oversized bundles. Backend developers get query, connection-pool and caching diagnostics. Beginners can follow the symptom-based investigation paths, but interpreting traces, database plans and correctness trade-offs still requires technical judgment. Experienced developers may find the verification rules and attempt ledger especially useful.

Coverage

Frontend guidance covers responsive images, loading priority, React rendering costs, route-level code splitting and lazy loading. It uses Core Web Vitals to frame loading, interaction and layout-stability problems.

Backend guidance covers repeated per-row queries, pagination, query-plan interpretation, composite indexes, connection limits and cache design. Caching advice explicitly addresses tenant and viewer identity in keys, acceptable staleness, invalidation and simultaneous cache misses.

Using it

Requirements

Following the full workflow requires access to the application, representative workloads, profiling data, correctness tests and regression monitoring. Suggested measurement options include Chrome DevTools, Lighthouse, web-vitals, CrUX, application performance monitoring and database query logs. These are options for different surfaces, not a requirement to install everything.

No assistant compatibility list, model requirement, minimum hardware specification or pinned tool versions are supplied. The JavaScript, TypeScript and SQL examples need adaptation to the application's actual framework, database and data-access library.

How it works

The skill organizes work into five stages: measure, identify, fix, verify and guard. It combines controlled synthetic measurements with real-user monitoring, meaning observations from people using the application under actual conditions.

Verification requires comparable baseline and follow-up conditions, a fixed measurement budget and repeated observations to estimate noise. Changes that show no measurable benefit, make performance worse or break tests are to be reverted. Retained improvements should gain a relevant automated budget or field monitor.

Getting started

Obtain SKILL.md together with references/optimization-patterns.md and preserve their relative directory structure. Make the instructions available through your assistant's supported skill-loading method. The supplied files do not document a specific installer, installation directory or invocation command.

Before requesting changes, define the slowdown and select a representative measurement method. The skill links to a repository-wide references/performance-checklist.md outside its folder; that additional file is not included in the supplied material.

Example use

For a slow task list, the reference shows a task fetch followed by a separate owner lookup inside a loop. Its proposed replacement is db.tasks.findMany({ include: { owner: true } }). This illustrates eliminating repeated per-task lookups.

The reference labels the replacement a single-query fix, but supplies no generated SQL or data-access configuration to confirm that behavior. A practical application would compare query counts and endpoint latency before and after, then retain the change only if correctness tests pass and the improvement exceeds measurement noise. No such result is established by the example.

Assessment & evidence

Limitations

The examples are building blocks rather than complete integrations. The simple in-process cache snippet does not implement the request coalescing discussed in the surrounding guidance. The pagination snippet sorts by createdAt without showing how tied timestamps are handled. Production behavior is not established.

The linked repository-wide performance checklist is unavailable here. The listed budgets, including initial JavaScript below 200KB gzipped and API response time below 200ms at p95, are suggested targets rather than measured results or established requirements for your application.

Why the approach matters

The skill connects proposed fixes to diagnostic evidence: inspect a query plan before adding an index, identify what holds database connections before increasing a pool, and justify caching through expensive repeated work. Its insistence on matching measurement conditions helps prevent misleading comparisons, such as comparing a cold-cache baseline with a warm-cache result. These are explicit reasoning rules; their effectiveness with a particular assistant remains unassessed.

Other approaches

Developers needing a focused diagnosis can use the named tools directly: DevTools or Lighthouse for controlled frontend investigation, web-vitals or CrUX for field measurements, and application monitoring or query logs for backend delays. The skill adds a shared process for choosing, validating and recording changes. The supplied material contains no comparison with another performance skill or assistant product.

Evidence and confidence

The source consists of the main skill, its worked-pattern reference and the repository-root licence. It supports conclusions about the instructions, examples and reuse terms. The numerical before-and-after entries in the attempt ledger are illustrations, not demonstrated benchmark results.

Nothing was executed. Installation success, assistant behavior, generated code correctness and performance improvements are not assessed. The pinned main file is available at [https://raw.githubusercontent.com/addyosmani/agent-skills/39b723ceebf81474d0557c1fecd01eddab585563/skills/performance-optimization/SKILL.md].

Access & freshness

Costs

The supplied material gives no purchase price, subscription, model usage estimate or operating-cost calculation. The MIT notice permits use and redistribution without stating a licence fee. Costs for the chosen assistant, profiling services, CI, monitoring and any additional caching infrastructure remain unknown.

Reuse rights

The repository-root MIT License names Addy Osmani as the 2025 copyright holder. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. It supplies the material without warranty.

Source snapshot

The supplied snapshot was captured on 16 November 2026 at 14:43:37.350 UTC from commit 39b723ceebf81474d0557c1fecd01eddab585563. This identifies the analyzed contents, not their original publication or last-edit date. Later changes on main are outside this snapshot. No release tag or supported tool-version matrix is supplied.

Practical next steps

Start with one user-visible symptom and a measurable target. Establish a representative baseline, inspect the relevant trace or query plan, and open only the matching worked pattern. Adapt the example to your stack and verify both correctness and performance under comparable conditions.

Record every attempt, including reversions. Before adopting caching or database changes, resolve identity, freshness, write-cost and connection-limit questions. Confirm your assistant's loading procedure and obtain the external checklist if you intend to rely on its additional guidance.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/performance-optimization/SKILL.mdselected · checked 2026-11-16