web-perf
Skill9 starsChanged 3 months agoMITView on GitHub
Use for performance audits, Core Web Vitals (LCP/INP/CLS), Lighthouse scores, page speed optimization via Chrome DevTools MCP
24 other projects use a version of this, 1 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-configtheir own version, first seen Sep 27, 2026
- meowdiocre/meowpitheir own version, 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 6 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
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 · 1
- PanPanFR/oh-my-kilo★ 1241% same
Wrote their own version · 23
- openai/plugins★ 7.3ksame name
- cloudflare/skills★ 3ksame name
- secondsky/sap-skills★ 458same name
- swyxio/skills★ 171same name
- open-fox/agents★ 55same name
- kevyder/banrepco_mcp★ 9same name
- transitive-bullshit/skills★ 3same name
- Adit-Jain-srm/skill-forge★ 2same name
- adrienlupo/Claude-code-config★ 2same name
- GTMify/claude-skills-starter★ 2same name
13 more not listed
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 repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- agentmemory-agentsSkill
- agentmemory-architectureSkill
- agentmemory-configSkill
- agentmemory-hooksSkill
- agentmemory-mcp-toolsSkill
- agentmemory-rest-apiSkill
- agentmemorySkill
- antislopSkill
- caveman-compressSkill
- caveman-helpSkill
- cavemanSkill
- caveman-statsSkill
- clean-codeSkill
- cloudflareSkill
- codebase-designSkill
- code-reviewSkill
- commit-contextSkill
- commit-historySkill
- delegationSkill
- documentationSkill
- forgetSkill
- git-commitSkill
- graphifySkill
- grillingSkill
- handoff-compactSkill
- handoffSkill
- i-have-adhdSkill
- impeccableSkill
- jev-decisionSkill
- lessonSkill
- memory-disciplineSkill
- plansSkill
- playwright-cliSkill
- ponytail-reviewSkill
- pwa-developmentSkill
- recallSkill
- recapSkill
- rememberSkill
- resolving-merge-conflictsSkill
- session-historySkill
- shadcnSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- ui-designSkill
- ui-ux-pro-maxSkill
- vercel-reactSkill
- verification-before-completionSkill
- viteSkill
- vitestSkill
- web-design-guidelinesSkill
- write-agentmemory-skillSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 23 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 78
Read references/root-cause-trees.md § "Codebase Analysis" for the bundler/framework detection table and checks.
- Very specific: line 82
After metrics collected, map each poor metric to its cause using the root-cause trees in references/root-cause-trees.md.
- Very specific: line 98
Resource Breakdown: use the resource table in references/root-cause-trees.md.
“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
Chrome DevTools MCP-driven audit workflow with CWV thresholds and root-cause trees.
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
"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:
| 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 repo access)
Read references/root-cause-trees.md § "Codebase Analysis" for the bundler/framework detection table and checks.
Root-Cause Diagnosis
After metrics collected, map each poor metric to its cause using the root-cause trees in references/root-cause-trees.md. You MUST read that reference before proposing fixes - it contains the LCP/CLS/INP decision trees, resource size benchmarks, and priority-fix format.
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: use the resource table in references/root-cause-trees.md.
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
- ...
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.

