web-perf
Skill12 starsChanged 3 months agoMITView on GitHub
Deep Core Web Vitals and page speed audit using Chrome DevTools MCP. Measures LCP, INP, CLS, FCP, TTFB, TBT, Speed Index. Identifies render-blocking resources, network chains, layout shifts, caching issues, accessibility gaps. Use for performance audit, optimization, Lighthouse scores, site speed. Biases towards retrieval from current docs.
24 other projects use a version of this, 18 of them edited.
Adopted by
Most recently taken up by
- hencter/hencte.toptheir own version, first seen Oct 4, 2026
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- cloudflare/skillstheir own version, first seen Oct 1, 2026
- casoon/ai-agent-configedited, first seen Sep 27, 2026
- meowdiocre/meowpiedited, first seen Sep 19, 2026
- transitive-bullshit/skillstheir own version, first seen Sep 19, 2026
Used with
Projects with it also use sandbox-stable, cloudflare-one and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CloudflareSkillsandbox-stable
Build or maintain Cloudflare Sandbox apps on the stable @cloudflare/sandbox package. Use sandbox-next for preview apps and sandbox-migrate-to-next for stable-to-preview migrations.
Also in 4 projects that use this
CloudflareSkillcloudflare-one
Design, configure, troubleshoot, or review Cloudflare One Zero Trust and SASE deployments. Use cloudflare-one-migrations for migration planning from other vendors.
Also in 11 projects that use this
OpenAISkillplaywright
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.
Also in 4 projects that use this
VercelSkillweb-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
Also in 4 projects that use this
AWSSkillretro
Conduct a retrospective on a coding session.
Also in 3 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 3 projects that use this
- +3 more from cloudflare
Other versions24 projects use a version of this.
Word for word · 0
None found.
Edited · 18
- openai/plugins★ 7.3k11% same
- secondsky/sap-skills★ 45811% same
- open-fox/agents★ 5511% same
- kevyder/banrepco_mcp★ 911% same
- PanPanFR/oh-my-openkilo★ 972% same
- adrienlupo/Claude-code-config★ 211% same
- GTMify/claude-skills-starter★ 211% same
- langgenius/mosoo-skills★ 211% same
- meowdiocre/meowpi★ 211% same
- altrwork/skills★ 111% same
8 more not listed
Wrote their own version · 6
- cloudflare/skills★ 3ksame name
- swyxio/skills★ 171same name
- transitive-bullshit/skills★ 3same name
- Adit-Jain-srm/skill-forge★ 2same name
- Quad4-Software/skills★ 1same name
- hencter/hencte.top★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- cavemanSkill
- clean-codeSkill
- cloudflareSkill
- codebase-designSkill
- code-reviewSkill
- documentationSkill
- executing-plansSkill
- git-commitSkill
- graphifySkill
- grillingSkill
- handoffSkill
- ponytail-auditSkill
- ponytail-reviewSkill
- ponytailSkill
- pwa-developmentSkill
- resolving-merge-conflictsSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-designSkill
- vercel-reactSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Add to your MCP config:
- Very specific: line 49
Use performance_analyze_insight with these insight names:
“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Web Performance Audit
Unified skill combining audit-speed thresholds with Chrome DevTools MCP workflows.
Core Web Vitals Thresholds
| Metric | Good | Needs Improvement | Poor |
| LCP | < 2.5s | 2.5s - 4.0s | > 4.0s |
| CLS | < 0.1 | 0.1 - 0.25 | > 0.25 |
| INP | < 200ms | 200ms - 500ms | > 500ms |
| FCP | < 1.8s | 1.8s - 3.0s | > 3.0s |
| TTFB | < 800ms | 800ms - 1800ms | > 1800ms |
| TBT | < 200ms | 200ms - 600ms | > 600ms |
| Speed Index | < 3.4s | 3.4s - 5.8s | > 5.8s |
Retrieval Sources
| Source | URL | Use for |
| web.dev | https://web.dev/articles/vitals | CWV thresholds, definitions |
| Chrome DevTools | https://developer.chrome.com/docs/devtools/performance | Tooling APIs, trace analysis |
| Lighthouse | https://developer.chrome.com/docs/lighthouse/performance/performance-scoring | Score weights, metric thresholds |
MCP Setup Required
Add to your MCP config:
"chrome-devtools": {
"type": "local",
"command": ["npx", "-y", "chrome-devtools-mcp@latest"]
}Workflow
Phase 1: Performance Trace
navigate_page(url: "<target-url>")
performance_start_trace(autoStop: true, reload: true)Phase 2: Core Web Vitals Analysis
Use performance_analyze_insight with these insight names:
| Metric | Insight Name | What to Look For |
| LCP | LCPBreakdown | TTFB, resource load, render delay breakdown |
| CLS | CLSCulprits | Elements causing shifts (no dims, font swap, injected) |
| INP | INPBreakdown | Main thread blocking, long tasks, event handlers |
| Render Blocking | RenderBlocking | CSS/JS blocking first paint |
| Network Dependencies | NetworkRequestsDepGraph | Request chains delaying critical resources |
Phase 3: Network Analysis
list_network_requests(resourceTypes: ["Script", "Stylesheet", "Document", "Font", "Image"])Look for:
- Render-blocking resources in
<head>without async/defer - Network chains (late-discovered resources)
- Missing preloads (critical fonts, hero images, key scripts)
- Caching issues (missing/weak Cache-Control, ETag)
- Large payloads (uncompressed/oversized bundles)
- Unused preconnects (zero requests to that origin)
Phase 4: Accessibility Snapshot
take_snapshot(verbose: true)Flag: missing/duplicate ARIA IDs, poor contrast (WCAG AA: 4.5:1), focus traps, missing accessible names
Phase 5: Codebase Analysis (if access)
Detect framework/bundler:
| Tool | Config Files |
| Webpack | webpack.config.js, webpack.*.js |
| Vite | vite.config.js, vite.config.ts |
| Next.js | next.config.js, next.config.mjs |
| Nuxt | nuxt.config.js, nuxt.config.ts |
| Astro | astro.config.mjs |
Check for:
- Tree-shaking config (Webpack: sideEffects, usedExports; Vite/Rollup: default on)
- Unused CSS/JS (Tailwind content config, PurgeCSS, dynamic imports)
- Polyfills (@babel/preset-env targets, core-js size)
- Compression (terser/esbuild/swc, gzip/brotli, source maps in prod)
LCP Root-Cause Tree
TTFB slow (>800ms)? → Server: hosting, CDN, DB queries, SSR time → Fix: upgrade hosting, CDN, optimize server, enable caching
LCP element is image? → Image: format (WebP/AVIF), size (responsive), lazy loading (NO on LCP) → Fix: modern formats, width/height, fetchpriority="high", preload
LCP element is text? → Font: custom fonts blocking, file size, font-display → Fix: font-display: swap/optional, preload critical, subset
Render-blocking CSS/JS? → Large CSS in <head>, sync JS before content → Fix: inline critical CSS, defer non-critical, async/defer JS
CLS Root-Cause Tree
Images/videos lack dimensions? → Fix: width/height attributes, CSS aspect-ratio
Ads/embeds inject content? → Fix: reserve space with min-height, contain-intrinsic-size
Fonts cause reflow? → Fix: font-display: optional, or match fallback metrics
Dynamic content inserts above fold? → Fix: use overlays, reserve space with fixed-height containers
INP Root-Cause Tree
Main thread blocked by long tasks? → JS execution, third-party, large DOM → Fix: break tasks with requestIdleCallback/setTimeout, code-split
Event handlers do heavy sync work? → Click handlers with large DOM updates, validation on keystroke → Fix: debounce, requestAnimationFrame, web workers
Third-party scripts competing? → Analytics, chat, A/B testing, social embeds → Fix: defer until after interaction, loading="lazy", remove low-value
Resource Analysis Table
| Resource Type | Size | Assessment | Action |
| HTML | [x] KB | [ok/large] | Compress, reduce inline |
| CSS | [x] KB | [ok/large] | Remove unused, minify, critical CSS |
| JavaScript | [x] KB | [ok/large] | Code-split, tree-shake, defer |
| Images | [x] KB | [ok/large] | Modern formats, responsive, lazy load |
| Fonts | [x] KB | [ok/large] | Subset, limit families/weights, preload |
| Third-party | [x] KB | [ok/large] | Audit necessity, defer, self-host |
Benchmarks: Total < 1.5MB, JS < 300KB (gz), CSS < 100KB (gz), Fonts < 100KB
Output Format
Speed Audit: [URL/domain]
Core Web Vitals
| Metric | Value | Rating | Root Cause |
| LCP | [value] | Good/Needs/Poor | [cause] |
| CLS | [value] | ... | ... |
| INP | [value] | ... | ... |
| FCP | [value] | ... | ... |
| TTFB | [value] | ... | ... |
Resource Breakdown [table above]
Priority Fixes (ordered by impact)
- [Metric]: [Root cause]
- Current: [value]
- Target: [threshold]
- Fix: [specific action]
- Estimated impact: [high/medium/low]
Quick Wins
- Add width/height to images
- Set fetchpriority="high" on LCP image
- Defer non-critical JavaScript
- ...
Pro Tips
- CWV Impact Calculator: https://seojuice.com/tools/cwv-impact/
- Critical CSS Generator: https://seojuice.com/tools/critical-css-generator/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

