performance-optimization SKILL.md skillA

performance-optimization from addyosmani/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add addyosmani/agent-skills/performance-optimization@git:20261023.ee3e850

Pins git:20261023.ee3e850 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
addyosmani/agent-skills
Path
skills/performance-optimization/SKILL.md
Versions recorded
9
Latest version
git:20261023.ee3e850, committed Oct 23, 2026
First version recorded
Jul 14, 2026
Size
16,783 bytes
Repository stars
113,383
License
MIT

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Performance Optimization

## Overview

Measure before optimizing. Performance work without measurement is guessing — and guessing leads to premature optimization that adds complexity without improving what matters. Profile first, identify the actual bottleneck, fix it, measure again. Optimize only what measurements prove matters.

## When to Use

- Performance requirements exist in the spec (load time budgets, response time SLAs)
- Users or monitoring report slow behavior
- Core Web Vitals scores are below thresholds
- You suspect a change introduced a regression
- Building features that handle large datasets or high traffic

**When NOT to use:** Don't optimize before you have evidence of a problem. Premature optimization adds complexity that costs more than the performance it gains.

## Core Web Vitals Targets

| Metric | Good | Needs Improvement | Poor |
|--------|------|-------------------|------|
| **LCP** (Largest Contentful Paint) | ≤ 2.5s | ≤ 4.0s | > 4.0s |
| **INP** (Interaction to Next Paint) | ≤ 200ms | ≤ 500ms | > 500ms |
| **CLS** (Cumulative Layout Shift) | ≤ 0.1 | ≤ 0.25 | > 0.25 |

## The Optimization Workflow

```
1. MEASURE  → Establish baseline with real data
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add addyosmani/agent-skills/performance-optimization@sha256:82af71540457cf85

The line at the top of this page pins the label git:20261023.ee3e850, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_t6o6x7trcglih5ug.svg)](https://markdownregistry.com/a/art_t6o6x7trcglih5ug)

6 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 9 versions of this file, between Jul 14, 2026 and Oct 23, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261023.ee3e850 latest2026-10-23 ee3e850 16,783 BA view · diff
git:20261011.35c3acb2026-10-11 35c3acb 16,698 BA view · diff
git:20261003.b67408f2026-10-03 b67408f 16,678 BA view · diff
git:20260918.cacf40d2026-09-18 cacf40d 16,392 BA view · diff
git:20260828.6a268d72026-08-28 6a268d7 21,717 BA view · diff
git:20260827.bfc9e322026-08-27 bfc9e32 20,893 BA view · diff
git:20260827.0ce01072026-08-27 0ce0107 20,757 BA view · diff
git:20260807.91d4d072026-08-07 91d4d07 15,145 BA view · diff
git:20260714.61199082026-07-14 6119908 15,139 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (16783 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

addyosmani/agent-skills · 113,383 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_t6o6x7trcglih5ug
GET https://markdownregistry.com/api/v1/resolve?ref=addyosmani/agent-skills/performance-optimization
GET https://markdownregistry.com/api/v1/blob/82af71540457cf853893685211f64509cd1e781c0de09d0186f16960f2d6eeba

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from addyosmani/agent-skills

AGENTS.md AGENTS.md file
addyosmani/agent-skills · AGENTS.md
git:20260709.b665c5c · audit A · 113,383 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 113,383 stars
api-and-interface-design SKILL.md skill
addyosmani/agent-skills · skills/api-and-interface-design/SKILL.md · Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when…
git:20261019.63128d0 · audit A · 113,383 stars
browser-testing-with-devtools SKILL.md skill
addyosmani/agent-skills · skills/browser-testing-with-devtools/SKILL.md · Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use…
git:20261029.57bfe5d · audit B · 113,383 stars
ci-cd-and-automation SKILL.md skill
addyosmani/agent-skills · skills/ci-cd-and-automation/SKILL.md · Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to…
git:20261029.a4a21f6 · audit A · 113,383 stars
code-review-and-quality SKILL.md skill
addyosmani/agent-skills · skills/code-review-and-quality/SKILL.md · Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another…
git:20261101.353ae84 · audit A · 113,383 stars
code-simplification SKILL.md skill
addyosmani/agent-skills · skills/code-simplification/SKILL.md · Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but…
git:20261016.f1f6fbf · audit A · 113,383 stars
constraint-driven-development SKILL.md skill
addyosmani/agent-skills · skills/constraint-driven-development/SKILL.md · Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on…
git:20261029.ba3d99e · audit A · 113,383 stars
context-engineering SKILL.md skill
addyosmani/agent-skills · skills/context-engineering/SKILL.md · Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching…
git:20261031.583df9a · audit A · 113,383 stars
debugging-and-error-recovery SKILL.md skill
addyosmani/agent-skills · skills/debugging-and-error-recovery/SKILL.md · Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke…
git:20261019.60b218f · audit A · 113,383 stars
deprecation-and-migration SKILL.md skill
addyosmani/agent-skills · skills/deprecation-and-migration/SKILL.md · Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one…
git:20261017.9f91cc4 · audit A · 113,383 stars
documentation-and-adrs SKILL.md skill
addyosmani/agent-skills · skills/documentation-and-adrs/SKILL.md · Records decisions and documentation. Use when you need to document an architecture decision (ADR) or the reasoning…
git:20261019.8e6726d · audit A · 113,383 stars

Every file in addyosmani/agent-skills

Other files named performance-optimization

performance-optimization SKILL.md skill
gamedev-skills/awesome-gamedev-agent-skills · skills/disciplines/performance-optimization/SKILL.md · Find and fix game performance problems methodically — measure with the engine profiler first, reason about the…
git:20261027.26def41 · audit A · 7,873 stars
performance-optimization SKILL.md skill
rampstackco/claude-skills · skills/performance-optimization/SKILL.md · Diagnose and fix web performance issues including Core Web Vitals (LCP, INP, CLS), bundle size, asset optimization…
git:20260810.e5bc675 · audit A · 1,037 stars
performance-optimization SKILL.md skill
ukanwat/overtime · .claude/skills/performance-optimization/SKILL.md · Find and fix game performance problems methodically — measure with the engine profiler first, reason about the…
git:20260812.5b73825 · audit A · 400 stars
performance-optimization SKILL.md skill
blackbelttechnology/pi-agent-dashboard · packages/eng-disciplines/.pi/skills/performance-optimization/SKILL.md · Measure-first performance work. Use on triggers like "it's slow", "profile this", "optimize perf", "fix the…
git:20260626.d01e4e4 · audit A · 341 stars
performance-optimization SKILL.md skill
mindrally/skills · performance-optimization/SKILL.md · Performance optimization guidelines for web development including server-side rendering, CSS best practices, and…
git:20261008.7682ca7 · audit A · 301 stars
performance-optimization SKILL.md skill
shashankswe2020-ux/whoop-mcp · .github/skills/performance-optimization/SKILL.md · Optimizes application performance. Use when performance requirements exist, when you suspect performance regressions…
git:20260410.1a22ea0 · audit A · 179 stars
performance-optimization SKILL.md skill
magnus919/agent-skills · performance-optimization/SKILL.md · Optimize software performance through user-journey baselines, profiling, representative benchmarks, controlled…
git:20261103.6480470 · audit A · 166 stars
performance-optimization SKILL.md skill
nota-america/forgecat-agent-profiles · profiles/addyosmani/agent-skills/for-cursor/.cursor/skills/performance-optimization/SKILL.md · Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements…
git:20260916.3a6b22e · audit A · 93 stars

Browse by kind, by grade A, or by owner.