QualityJavaScript

Performance Optimization

by addyosmani

Performance Optimization is a Quality skill for Claude Code, published by addyosmani in agent-skills.

86.7K stars9.3K forkson addyosmani/agent-skillsAdded 2026/08/13Repository updated 2026/08/11
agent-skillsantigravityclaude-codecodexcursorskills
Install in seconds
Install Performance Optimization
Copy Performance Optimization into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/addyosmani/agent-skills/tree/main/skills/performance-optimization ~/.claude/skills/performance-optimization

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/addyosmani/agent-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/performance-optimization/SKILL.md in addyosmani/agent-skills
Installs to
~/.claude/skills/performance-optimization
Collection
One of 24 skills cataloged from this repository
Category
Quality1354 skills

What Performance Optimization does

Performance Optimization measures bottlenecks and optimizes frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect regressions, when Core Web Vitals need improvement, or when profiling reveals bottlenecks.

Performance Optimization is cataloged under Quality on DirSkills. Performance Optimization comes from a repository tagged agent-skills, antigravity, claude-code, codex and cursor.

Documentation

README

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.

This is the opening of the README. Read the full README on GitHub.

Commands Performance Optimization provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /hero-mobile-800
  • /hero-1200
  • /hero-1600

Frequently asked about Performance Optimization

  • What else does addyosmani publish alongside Performance Optimization?

    Performance Optimization is one of 24 skills that DirSkills catalogs from addyosmani/agent-skills, the repository it ships in. Its siblings there include API and Interface Design, Agent Skill Discovery and Browser Testing. Each one is a separate skill with its own page in this directory, installs the same way Performance Optimization does, and is maintained by addyosmani in that same repository. The rest of the collection is listed on the addyosmani/agent-skills page.

  • How does Performance Optimization compare to other Quality skills?

    Performance Optimization ranks #23 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Performance Optimization against them. Open each page to compare what they document and how they install.

More from addyosmani/agent-skills

Performance Optimization is one of 24 skills cataloged on DirSkills from addyosmani/agent-skills.

See all 24 skills
🔌
3w ago

API and Interface Design

API and Interface Design guides the creation of stable, well-documented interfaces including REST APIs, GraphQL schemas, module boundaries, and component props. Use it when designing new endpoints, defining contracts between teams, or changing existing public interfaces.
Quality
86.7K9.3K
🧭
3w ago

Agent Skill Discovery

Agent Skill Discovery discovers and invokes agent skills, helping an agent identify the right engineering workflow for a task. Use it when starting a session or when unsure which skill applies.
AI Engineering
86.7K9.3K
🧪
3w ago

Browser Testing

Browser Testing runs tests and inspections in a real browser via Chrome DevTools MCP. Use it when building or debugging browser UI to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output.
Quality
86.7K9.3K
🚀
3w ago

CI/CD and Automation

CI/CD and Automation sets up and modifies build and deployment pipelines, automating quality gates like lint, type check, tests, build, and security audits so no change reaches production without passing checks.
DevOps
86.7K9.3K
🔍
3w ago

Code Review and Quality

Code Review and Quality conducts multi-axis code review across correctness, readability, architecture, security, and performance before merging changes. Use it to assess code quality before code enters the main branch.
Quality
86.7K9.3K
🧹
3w ago

Code Simplification

Code Simplification simplifies code by reducing complexity while preserving exact behavior. Use it when refactoring for clarity, improving readability, or reviewing code that has accumulated unnecessary complexity.
Quality
86.7K9.3K