page-speed
Skill86 starsChanged 9 months agoMITView on GitHub
Page speed optimization guidelines and implementation patterns. Ensures all funnel pages meet Core Web Vitals targets for LCP < 2.5s, FID < 100ms, and CLS < 0.1.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- garthcodes/claude-skillstheir own version, first seen Sep 30, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- garthcodes/claude-skills★ 2same 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 repository29 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ab-testingSkill
- analytics-setupSkill
- application-funnelSkill
- challenge-funnelSkill
- conversion-auditSkill
- conversion-uxSkill
- deploy-cloudflareSkill
- deploy-netlifySkill
- deploy-vercelSkill
- design-systemSkill
- dns-managementSkill
- ecommerce-funnelSkill
- evergreen-webinar-funnelSkill
- funnel-copySkill
- funnel-hackingSkill
- funnel-selectSkill
- funnel-strategySkill
- group-funnelSkill
- high-ticket-funnelSkill
- marketing-stackSkill
- membership-funnelSkill
- mobile-responsiveSkill
- optin-funnelSkill
- product-launch-funnelSkill
- saas-funnelSkill
- tripwire-funnelSkill
- vsl-funnelSkill
- webinar-funnelSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Every funnel page must load fast.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Page Speed Optimization
Every funnel page must load fast. Slow pages kill conversions — a 1-second delay reduces conversions by 7%.
Core Web Vitals Targets
| Metric | Target | Impact |
| LCP (Largest Contentful Paint) | < 2.5s | Main content visible |
| FID (First Input Delay) | < 100ms | Page is interactive |
| CLS (Cumulative Layout Shift) | < 0.1 | No visual jumping |
| TTFB (Time to First Byte) | < 800ms | Server responds fast |
Required Optimizations
1. Critical CSS Inlining
Inline above-the-fold CSS directly in <head> to eliminate render-blocking:
<head>
<style>
/* Critical: hero, nav, above-fold layout only */
.hero { /* ... */ }
.nav { /* ... */ }
.cta-primary { /* ... */ }
</style>
<!-- Defer the rest -->
<link rel="preload" href="styles.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="styles.css"></noscript>
</head>2. Image Optimization
<!-- Always include width/height to prevent CLS -->
<img
src="hero.webp"
alt="Descriptive alt text"
width="800"
height="450"
loading="lazy"
decoding="async"
>
<!-- Responsive images with srcset -->
<img
srcset="hero-400.webp 400w, hero-800.webp 800w, hero-1200.webp 1200w"
sizes="(max-width: 600px) 400px, (max-width: 1000px) 800px, 1200px"
src="hero-800.webp"
alt="Descriptive alt text"
width="800"
height="450"
loading="lazy"
>3. Font Loading
@font-face {
font-family: 'BrandFont';
src: url('brand-font.woff2') format('woff2');
font-display: swap; /* Always include this */
font-weight: 400;
}<!-- Preload critical fonts -->
<link rel="preload" href="brand-font.woff2" as="font" type="font/woff2" crossorigin>4. Script Loading
<!-- Defer non-critical scripts -->
<script defer src="analytics.js"></script>
<script defer src="interactions.js"></script>
<!-- Async for independent scripts -->
<script async src="third-party-widget.js"></script>
<!-- Never do this -->
<!-- <script src="blocking.js"></script> in <head> -->5. Preconnect to Third Parties
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://www.googletagmanager.com">
</head>Performance Budget
| Resource | Budget |
| Total page weight | < 500KB |
| HTML | < 50KB |
| CSS | < 50KB |
| JavaScript | < 100KB |
| Images (above fold) | < 200KB |
| Fonts | < 100KB |
| Third-party scripts | < 50KB |
Quick Audit Checklist
- Viewport meta tag present
- All images have width/height attributes
- Below-fold images use
loading="lazy" - No render-blocking scripts in
<head> font-display: swapon all @font-face- Critical CSS inlined
- Third-party origins preconnected
- No unused CSS/JS shipped
- Images in WebP/AVIF format
- Total page weight under 500KB
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.

