Technical & DevelopmentAdvanced
performance
Loading speed, runtime efficiency, and resource optimization
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/addyosmani/web-quality-skills --skill performancenpx skills add https://github.com/addyosmani/web-quality-skills --skill performanceOr paste this URL into your assistant to install:
Overview
What This Skill Does
Loading speed, runtime efficiency, and resource optimization
Application
When to use this Skill
- Integrating performance into your development workflow.
- Following best practices for loading speed, runtime efficiency, and resource optimization.
- Automating repetitive tasks with AI-assisted tooling.
- Building production-grade applications with proper standards.
- Debugging and troubleshooting common implementation issues.
Documentation
Show Skills.md file
Performance optimization
Deep performance optimization based on Lighthouse performance audits. Focuses on loading speed, runtime efficiency, and resource optimization.
How it works
- Identify performance bottlenecks in code and assets
- Prioritize by impact on Core Web Vitals
- Provide specific optimizations with code examples
- Measure improvement with before/after metrics
Performance budget
| Resource | Budget | Rationale |
|---|---|---|
| Total page weight | < 1.5 MB | 3G loads in ~4s |
| JavaScript (compressed) | < 300 KB | Parsing + execution time |
| CSS (compressed) | < 100 KB | Render blocking |
| Images (above-fold) | < 500 KB | LCP impact |
| Fonts | < 100 KB | FOIT/FOUT prevention |
| Third-party | < 200 KB | Uncontrolled latency |
Critical rendering path
Server response
Lines 1 - 25 of 391
Recommendations