
Performance Optimization
Measurement-first performance workflow covering frontend Core Web Vitals, backend APIs, and database query bottlenecks.
- CCM score
- 73 of 100
- skills.sh installs
- 84.6K
- GitHub stars
- 120.4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the optimize loop of measure, identify the bottleneck, fix it, re-measure, and guard against regression
- Includes Core Web Vitals targets for LCP, INP, and CLS, plus symptom-driven checklists for frontend, backend, and API slowness
- Enforces fixing only the bottleneck that measurements identify, with worked patterns for N+1 queries, unbounded fetches, indexes, pools, and caching
- Designed for teams diagnosing regressions or meeting load time budgets in web apps and backend services
Install
$ npx -y skills add addyosmani/agent-skills --skill performance-optimization -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
Details
- Repository
- github.com/addyosmani/agent-skills
- Categories
- Debugging, Frontend & UI Code, Backend & APIs
- First seen
- May 16, 2026
More from addyosmani/agent-skills
All 25- Spec Driven Development83.9K
- Documentation And Adrs82.6K
- Planning And Task Breakdown82.6K
- Api And Interface Design81.8K
- Code Simplification81.8K
- Debugging And Error Recovery81.5K
- Test Driven Development80.2K
- Context Engineering80K
- Incremental Implementation79.8K
- Git Workflow And Versioning77.6K
- Idea Refine76.9K
- Using Agent Skills76.5K
- Browser Testing With Devtools76.4K
- Source Driven Development76.1K
- Shipping And Launch76K
- Ci Cd And Automation76K
- Interview Me75.4K
- Deprecation And Migration74.9K
- Doubt Driven Development74.4K
- Observability And Instrumentation72.5K
- Constraint Driven Development50.9K
- Code Review And Quality94.5K
- Security And Hardening91.7K
- Frontend Ui Engineering87.6K
Similar to Performance Optimization
More Debugging
optimizing-performancecloudai-x/claude-workflow-v2212 installsStructured workflow for diagnosing and fixing slowness across frontend, backend, and database layers, requiring measurements before and after each change.
performance-engineerzhaono1/agent-playbook719 installsStructured performance optimization workflow covering measurement, bottleneck analysis, and verification across database, API, and frontend layers.
performance-profilingdavila7/claude-code-templates350 installsStructured web performance profiling workflow that baselines, isolates bottlenecks, and validates each fix against Core Web Vitals.
web-performance-optimizationdavila7/claude-code-templates521 installsComprehensive web performance workflow covering Core Web Vitals, bundle size, image optimization, and caching strategies.
performanceaddyosmani/web-quality-skills46.4K installsEvidence-led web performance skill that prioritizes real-user Core Web Vitals and browser traces before editing.
web-performance-auditaj-geddes/useful-ai-prompts550 installsStructured web performance audit guide covering Core Web Vitals, analysis steps, optimization strategies, and monitoring.