Dev & Engineering performance-optimizationcore-web-vitalslighthousebundle-analysisquery-optimizationdatabase-performancereact-performance

Performance Optimization Engineering Skill

Measure, diagnose, and verify fixes for frontend, backend, query, and database performance bottlenecks.

FollowSkills review · FSRS-2.0
Not recommended
54/ 100 5-point scale 2.7 / 5
Trust16 / 25 · 3.2/5

The skill requires measurement before optimization and includes verification and regression safeguards. No malware, credential theft, covert exfiltration, or destructive default behavior is evident; however, it does not specify least privilege, user confirmation, sensitive performance-data handling, external data flows, rollback, or dependency security, so points are deducted.

Reliability8 / 20 · 2.0/5

The workflow and symptom-based branches are generally self-consistent, with examples spanning frontend, backend, databases, and common anti-patterns. However, it relies on Lighthouse, web-vitals, APM, npx tools, and project frameworks without installation prerequisites, abnormal-input handling, failure feedback, or skill-specific tests. Static review caps this at 10, and the evidence does not justify a higher score.

Adaptability10 / 15 · 3.3/5

Trigger conditions, scenarios, and the evidence requirement against premature optimization are reasonably clear, covering page, interaction, API, and database performance issues. Inputs, output boundaries, non-fit cases, and environment requirements remain incomplete, with no Chinese-language support or mainland-China reachability statement, so points are deducted.

Convention8 / 15 · 2.7/5

The document has clear structure, including overview, triggers, progressive workflow, examples, budgets, anti-patterns, red flags, and verification criteria. The repository provides an MIT license, maintainer information, and CI installation validation. However, the skill lacks versioning, changelog, skill-specific dependency notes, troubleshooting, and a clearly defined update path; its referenced checklist is not included in the supplied material, so points are deducted.

Effectiveness7 / 15 · 2.3/5

The measure-identify-fix-verify-guard workflow and examples for N+1 queries, pagination, images, React rerenders, code splitting, and caching can directly guide common performance work. However, results depend on project context, tools, and real measurements, and no representative execution results or comparative evidence against alternatives are provided. Static review caps this at 7, and human verification remains necessary, so points are deducted.

Verifiability5 / 10 · 2.5/5

The skill provides explicit metrics, thresholds, and verification checks; repository CI validates skill content, installation, and evaluation scripts. However, the supplied test fixture is unrelated to this skill, and no skill-specific performance tests, real execution results, or independent corroboration are shown. Static review caps this at 5, so points are deducted.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 2fbfa004a019
Before you use it
  • Do not apply caching, code splitting, preloading, or database changes without a baseline, representative traffic, and a rollback plan.
  • Revalidate the example tools, frameworks, thresholds, and dependencies against the project versions, regional network conditions, and real-user data.
  • The skill references references/performance-checklist.md, which was not supplied; confirm that it exists and is consistent before use.
Review evidence [1][2][3][4][5]
See the full review method →

What does this skill do, and when should you use it?

This is the performance-optimization skill in the agent-skills repository, intended for projects with performance requirements, reported slowness, or suspected regressions. It requires a baseline and evidence-based bottleneck identification before recommending or applying changes, followed by remeasurement and regression protection. The skill covers Core Web Vitals, frontend and backend profiling, N+1 queries, pagination, image delivery, React rerenders, code splitting, and caching. It is a good fit for teams that need measurable performance work, but not for speculative micro-optimization without evidence.

Guides an agent to establish baselines with Lighthouse, the Chrome DevTools Performance panel, Chrome DevTools MCP, web-vitals, CrUX, APM, database query logs, and simple timing; diagnose bottlenecks from page-load, interaction, navigation, or API symptoms; inspect waterfalls, long tasks, component rendering, queries, indexes, connection pools, memory, CPU, caching, and external dependencies; apply or recommend fixes such as pagination, joined queries, responsive images, lazy loading, code splitting, and caching; use bundlesize and Lighthouse CI for budget checks; and verify before-and-after measurements, Core Web Vitals, query behavior, builds, tests, and monitoring.

  1. A frontend team sees LCP, INP, or CLS below target and needs to distinguish image, resource, JavaScript, or layout causes.
  2. A backend developer sees slow API responses and needs to investigate N+1 queries, missing indexes, caching, connection pools, or CPU usage.
  3. A team is building a feature for large datasets or high traffic and needs pagination, performance budgets, and repeatable checks.
  4. A team suspects a recent change caused a regression and needs before-and-after measurements plus CI or monitoring safeguards.

What are this skill's strengths and limitations?

Pros
  • Covers frontend, backend, query, and database performance scenarios.
  • Provides explicit Core Web Vitals thresholds, performance budgets, and verification checks.
  • Includes concrete anti-patterns and examples for N+1 queries, pagination, images, React, code splitting, and caching.
  • Requires evidence, including before-and-after measurements and a combination of synthetic and real-user data where applicable.
Limitations
  • The detailed performance checklist is referenced but not included; it must be loaded from references/performance-checklist.md.
  • Examples depend on specific tools and ecosystems, including Lighthouse, web-vitals, React, database clients, bundlesize, and Lighthouse CI, without documenting every integration path.
  • The source provides no test suite, benchmark results, or measured platform coverage.
  • Budgets and example thresholds must be evaluated against the project; they are not universal guarantees.

How do you install this skill?

Install only this skill with the skills CLI:

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

You can browse the repository's skills first:

npx skills add addyosmani/agent-skills --list

The README also documents collection installation for Claude Code, Cursor, Antigravity CLI, Gemini CLI, Windsurf, OpenCode, GitHub Copilot, Kiro, and Codex. The supplied material gives the command above as the explicit single-skill installation example.

How do you use this skill?

Trigger it when performance requirements exist, users report slow behavior, Core Web Vitals miss thresholds, a regression is suspected, or a feature handles large datasets or high traffic. Example: "Analyze this page's LCP and INP, establish a baseline, identify the bottleneck, apply a fix, and report before-and-after measurements." Follow the stated sequence: measure, identify, fix, verify, and guard. Do not use it for optimization without evidence of a problem.

How does this skill compare with similar options?

The README explicitly names Superpowers and Matt Pocock's skills as comparison points and links to docs/comparison.md, but the supplied material does not include that document's conclusions.

FAQ

Is this suitable for a project with no known performance problem?
Usually not. The skill explicitly rejects premature optimization and is intended for performance requirements, reported slowness, suspected regressions, or scale-related needs.
Which external tools does it require?
The source shows Lighthouse, Chrome DevTools, Chrome DevTools MCP, web-vitals, CrUX, APM, database query logs, bundlesize, and Lighthouse CI. A project may not need all of them.
Does it guarantee that an application will meet its targets?
No. It supplies an evidence-based workflow and requires specific before-and-after numbers; results depend on the application's measurements and configuration.

More skills from this repository

All from addyosmani/agent-skills

Dev & Engineering

Browser DevTools Testing

Validate and debug web applications with real-browser runtime evidence.

Dev & Engineering

Code Clarity Refactor

Reduce code complexity while preserving exact behavior, so teammates can read, modify, and debug it faster.

Dev & Engineering

Spec-Driven Development

Turn ambiguous engineering requests into testable specifications before coding.

Dev & Engineering

Pre-Merge Code Quality Review

Review every change across correctness, readability, architecture, security, and performance before it reaches the main branch.

Dev & Engineering

Deprecation & Migration

A practical workflow for retiring legacy systems safely and moving users to replacements.

Dev & Engineering

Intent Interviewer

Clarify the real problem through one-question-at-a-time interviews before planning or coding.

Dev & Engineering

Test-Driven Development Workflow

Prove intended behavior with a failing test before implementing, refactoring, and verifying the change.

Dev & Engineering

Git Workflow & Release Discipline

Keep AI-generated changes reviewable, reversible, and ready to release.

Dev & Engineering

Planning & Task Breakdown

Turn clear requirements into ordered, implementable, and verifiable engineering tasks.

Dev & Engineering

Architecture Decisions & Docs

Preserve engineering context by documenting decisions, APIs, and the reasons behind them.

Design & Frontend

Production Frontend UI Engineering

Guides AI coding agents to build accessible, responsive, design-system-aligned production interfaces.

Automation & Ops

Production Observability

Make production behavior visible and diagnosable with structured logs, metrics, traces, and actionable alerts.

Dev & Engineering

Doubt-Driven Development

Challenge non-trivial decisions with a fresh adversarial review before they stand.

Dev & Engineering

Incremental Implementation

Deliver multi-file engineering changes through small, tested, reversible slices.

Automation & Ops

Security Hardening Engineering Skill

Gives coding agents a structured defense workflow for untrusted input, authentication, sensitive data, and external service integrations.

Dev & Engineering

Idea Refine

Turn vague ideas into tested, actionable product directions.

Dev & Engineering

Source-Driven Development

Ground framework and library decisions in current official documentation instead of stale memory.

Dev & Engineering

Stable Interface Design

A practical guide to designing stable, clear, and hard-to-misuse APIs and module interfaces.

Dev & Engineering

Context Engineering

Helps coding agents load the right project context at the right time, reducing guesswork and convention drift.

Dev & Engineering

Systematic Debugging & Recovery

A structured workflow for finding root causes, fixing failures, and preventing recurrence.

Related skills