React Doctor
makeplane/plane
Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.
Optimize Core Web Vitals (LCP, INP, CLS) for better page experience using field and lab evidence.
$ npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install addyosmani/web-quality-skills core-web-vitals --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/addyosmani/web-quality-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/core-web-vitals .claude/skills/core-web-vitals && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "core-web-vitals" agent skill from https://github.com/addyosmani/web-quality-skills/tree/main/skills/core-web-vitals into .claude/skills/core-web-vitals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "core-web-vitals", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/addyosmani/web-quality-skills/tree/main/skills/core-web-vitalsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install addyosmani/web-quality-skills core-web-vitals --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/addyosmani/web-quality-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/core-web-vitals .agents/skills/core-web-vitals && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "core-web-vitals" agent skill from https://github.com/addyosmani/web-quality-skills/tree/main/skills/core-web-vitals into .agents/skills/core-web-vitals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "core-web-vitals", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install addyosmani/web-quality-skills core-web-vitals --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/addyosmani/web-quality-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/core-web-vitals .cursor/skills/core-web-vitals && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "core-web-vitals" agent skill from https://github.com/addyosmani/web-quality-skills/tree/main/skills/core-web-vitals into .cursor/skills/core-web-vitals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "core-web-vitals", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/addyosmani/web-quality-skills.git --path skills/core-web-vitals--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install addyosmani/web-quality-skills core-web-vitals --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/addyosmani/web-quality-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/core-web-vitals .gemini/skills/core-web-vitals && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "core-web-vitals" agent skill from https://github.com/addyosmani/web-quality-skills/tree/main/skills/core-web-vitals into .gemini/skills/core-web-vitals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "core-web-vitals", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install addyosmani/web-quality-skills core-web-vitalsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/addyosmani/web-quality-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/core-web-vitals .github/skills/core-web-vitals && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "core-web-vitals" agent skill from https://github.com/addyosmani/web-quality-skills/tree/main/skills/core-web-vitals into .github/skills/core-web-vitals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "core-web-vitals", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install addyosmani/web-quality-skills core-web-vitals --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/addyosmani/web-quality-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/core-web-vitals .opencode/skills/core-web-vitals && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "core-web-vitals" agent skill from https://github.com/addyosmani/web-quality-skills/tree/main/skills/core-web-vitals into .opencode/skills/core-web-vitals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "core-web-vitals", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
core-web-vitalsOptimize Core Web Vitals (LCP, INP, CLS) for better page experience using field and lab evidence.
Core Web Vitals is an agent skill from addyosmani/web-quality-skills. Optimize Core Web Vitals (LCP, INP, CLS) for better page experience using field and lab evidence. Use when asked to "improve Core Web Vitals", "fix LCP", "reduce CLS", "optimize INP", "page experience optimization", or "fix layout shifts".
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/CLS.md`, `references/INP.md` and `references/LCP.md`).
It sits in Frontend & Design, covering Web performance. The repository describes itself as: Agent Skills for optimizing web quality based on Lighthouse and Core Web Vitals. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit afa8da9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript, html, markdown and vue).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
web.devdeveloper.chrome.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Core Web Vitals loads about 2.4k tokens when it runs, and up to ~5.8k if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 809 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from addyosmani/web-quality-skills at commit afa8da9, republished under its MIT licence (© addyosmani). 809 words, ~2,436 tokens.
.claude/skills/core-web-vitals/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Targeted optimization for the three Core Web Vitals using field data to identify user impact and browser traces to diagnose causes.
When a runnable URL is available, read the performance measurement workflow. Prefer this sequence:
If only source code is available, identify likely causes but do not claim that LCP, INP, or CLS is failing without runtime evidence.
| Metric | Measures | Good | Needs work | Poor |
|---|---|---|---|---|
| LCP | Loading | ≤ 2.5s | 2.5s – 4s | > 4s |
| INP | Interactivity | ≤ 200ms | 200ms – 500ms | > 500ms |
| CLS | Visual Stability | ≤ 0.1 | 0.1 – 0.25 | > 0.25 |
Google measures at the 75th percentile — 75% of page visits must meet "Good" thresholds.
LCP measures when the largest visible content element renders. Usually this is:
<svg> element1. Slow server response (TTFB > 800ms)
Fix: CDN, caching, optimized backend, edge rendering2. Render-blocking resources
<!-- ❌ Blocks rendering -->
<link rel="stylesheet" href="/all-styles.css">
<!-- ✅ Critical CSS inlined, rest deferred -->
<style>/* Critical above-fold CSS */</style>
<link rel="preload" href="/styles.css" as="style"
onload="this.onload=null;this.rel='stylesheet'">3. Slow resource load times
<!-- ❌ LCP image is discovered only after a stylesheet loads -->
<div class="hero"></div>
<!-- ✅ Discoverable in initial HTML and prioritized -->
<link rel="preload" href="/hero.webp" as="image" fetchpriority="high">
<img src="/hero.webp" alt="Hero" fetchpriority="high">Prefer a discoverable <img> with fetchpriority="high". Add the preload only when the trace shows that the resource would otherwise be discovered late; duplicate or speculative preloads can compete for bandwidth.
4. Client-side rendering delays
// ❌ Content loads after JavaScript
useEffect(() => {
fetch('/api/hero-text').then(r => r.json()).then(setHeroText);
}, []);
// ✅ Server-side or static rendering
// Use SSR, SSG, or streaming to send HTML with content
export async function getServerSideProps() {
const heroText = await fetchHeroText();
return { props: { heroText } };
}5. Make navigations instant with the Speculation Rules API
For sites with predictable same-origin journeys, prerendering a likely next page can make a successful subsequent navigation much faster. Treat this as a measured navigation optimization, not a substitute for fixing the current page's LCP.
<script type="speculationrules">
{
"prerender": [{
"where": { "href_matches": "/*" },
"eagerness": "moderate"
}]
}
</script>Current Chrome behavior is specific enough to guide the choice:
eagerness | Trigger |
|---|---|
conservative | Pointer or touch down |
moderate | Desktop: 200ms hover, or earlier pointer down; mobile: viewport heuristics |
eager | Chrome 143+: desktop 10ms hover; mobile 50ms after the anchor enters the viewport |
immediate | As soon as the rules are observed |
Start conservatively and measure prediction hit rate, transferred bytes, server load, and navigation improvement before expanding the rules. Recheck Chrome's maintained eagerness documentation before hardcoding timing-sensitive behavior.
Caveats:
where carefully (href_matches patterns, exclude logout/checkout) and avoid immediate outside small sites.prerenderingchange event or document.prerendering.- [ ] TTFB < 800ms (use CDN, edge caching)
- [ ] LCP resource is discoverable in initial HTML and prioritized; preload only if the trace shows late discovery
- [ ] LCP image optimized (WebP/AVIF, correct size)
- [ ] Critical CSS inlined (< 14KB)
- [ ] No render-blocking JavaScript in <head>
- [ ] Fonts don't block text rendering (font-display: swap)
- [ ] LCP element in initial HTML (not JS-rendered)
- [ ] Speculation Rules added for likely-next navigations (moderate eagerness)This snippet diagnoses the current page session. It is not field data.
// Find your LCP element
new PerformanceObserver((list) => {
const entries = list.getEntries();
const lastEntry = entries[entries.length - 1];
console.log('LCP element:', lastEntry.element);
console.log('LCP time:', lastEntry.startTime);
}).observe({ type: 'largest-contentful-paint', buffered: true });INP measures responsiveness across clicks, taps, and key presses during a visit. Diagnose its input delay, processing time, and presentation delay separately; a slow interaction may involve main-thread contention before the handler, expensive application work, or delayed rendering after it.
When field INP is poor or a trace identifies a slow interaction, read the INP reference for trace interpretation, yielding patterns, third-party and rendering causes, a single-session observer, and first-party attribution.
CLS measures unexpected layout shifts across a page visit. Use field attribution or a trace to identify the shifted node and the trigger; do not assume the visible victim caused the shift.
When field CLS is poor or a trace reports shifts, read the CLS reference for reserved-space patterns, dynamic content, font and animation fixes, a debugging observer, and a verification checklist.
| Source | Use |
|---|---|
Browser performance trace (Chrome DevTools MCP: performance_start_trace) | Observe one load or interaction and diagnose focused insights; use included CrUX context when available |
| CrUX or Search Console | Prioritize aggregated real-user outcomes at p75 |
| Lighthouse CLI or PageSpeed Insights | Controlled lab fallback when DevTools tools are unavailable |
| First-party RUM | Segment current production experience by route, device, release, and attribution |
Raw PerformanceObserver | Inspect one page session during debugging |
Do not route performance through Chrome DevTools MCP's lighthouse_audit; that capability intentionally covers non-performance Lighthouse categories. Do not compare a single lab value directly with a field p75 as if they were equivalent samples.
When adding or reviewing production collection, read the first-party RUM reference. Prefer the web-vitals library because raw browser APIs do not by themselves implement every Core Web Vital's lifecycle and reporting rules.
// LCP: Use next/image with priority
import Image from 'next/image';
<Image src="/hero.jpg" priority fill alt="Hero" />
// INP: Use dynamic imports
const HeavyComponent = dynamic(() => import('./Heavy'), { ssr: false });
// CLS: Image component handles dimensions automatically// LCP: Preload in head
<link rel="preload" href="/hero.jpg" as="image" fetchpriority="high" />
// INP: Memoize and useTransition
const [isPending, startTransition] = useTransition();
startTransition(() => setExpensiveState(newValue));
// CLS: Always specify dimensions in img tags<!-- LCP: Use nuxt/image with preload -->
<NuxtImg src="/hero.jpg" preload loading="eager" />
<!-- INP: Use async components -->
<component :is="() => import('./Heavy.vue')" />
<!-- CLS: Use aspect-ratio CSS -->
<img :style="{ aspectRatio: '16/9' }" />© addyosmani, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in skills/core-web-vitals of addyosmani/web-quality-skills.
Open the folder on GitHubat commit afa8da9
Core Web Vitals next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Core Web Vitals this skilladdyosmani/web-quality-skills | 2.9k | — | ~2.4k | Automated safety check: Pass | MIT | |
| React Doctormakeplane/plane | 61k | 12 repos | ~657 | Automated safety check: Pass | AGPL-3.0 | |
| Fixing Motion Performanceibelick/ui-skills | 9.5k | 5 repos | ~1.4k | Automated safety check: Pass | MIT | |
| GSAP Performance Tuninggreensock/gsap-skills | 16k | 4 repos | ~1k | Automated safety check: Pass | MIT | |
| React Frontend Development Guidelinesdiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2.9k | Automated safety check: Pass | MIT | |
| SEO GoogleAgriciDaniel/codex-seo | 797 | 2 repos | ~3.4k | Automated safety check: Pass | MIT |
makeplane/plane
Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.
ibelick/ui-skills
Audits and fixes web animation performance: layout thrashing, work that belongs on the compositor, scroll-linked motion and costly blur effects.
greensock/gsap-skills
Guides the agent to keep GSAP animations smooth by animating transforms and opacity, batching DOM reads and writes, and avoiding layout-heavy properties.
diet103/claude-code-infrastructure-showcase
Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.
AgriciDaniel/codex-seo
Google SEO APIs: Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, and GA4 organic traffic.
vmDeshpande/ai-agent-automation
Optimize Core Web Vitals (LCP, INP, CLS) for better page experience and search ranking.
addyosmani/web-quality-skills
Run an evidence-led web quality audit covering performance, accessibility, SEO, best practices, and agentic browsing.
Categories
Optimize Core Web Vitals (LCP, INP, CLS) for better page experience using field and lab evidence. Core Web Vitals is an agent skill from addyosmani/web-quality-skills. Optimize Core Web Vitals (LCP, INP, CLS) for better page experience using field and lab evidence.
Core Web Vitals fits situations like: asked to improve Core Web Vitals; page experience optimization; fix layout shifts.
Run `npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a claude-code`. Or copy the skill folder (skills/core-web-vitals in addyosmani/web-quality-skills) into .claude/skills/core-web-vitals in your project. Claude Code loads it when a task matches its description.
Run `npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a codex`. Or copy the skill folder (skills/core-web-vitals in addyosmani/web-quality-skills) into .agents/skills/core-web-vitals in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add addyosmani/web-quality-skills --skill core-web-vitals -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/core-web-vitals, .gemini/skills/core-web-vitals, .github/skills/core-web-vitals and .opencode/skills/core-web-vitals in your project.
SKILL.md names no scripts, command-line tools or credentials: Core Web Vitals is instructions for the agent only.
SKILL.md names 2 domains. As links in the text: web.dev and developer.chrome.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Core Web Vitals is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Core Web Vitals: React Doctor (makeplane/plane, 61k stars), Fixing Motion Performance (ibelick/ui-skills, 9.5k stars), GSAP Performance Tuning (greensock/gsap-skills, 16k stars) and React Frontend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
addyosmani (a GitHub user) maintains it in addyosmani/web-quality-skills, which has 2,909 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on August 24, 2026.
Source: addyosmani/web-quality-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.