core-web-vitals-tuner
БесплатноБез исполняемых скриптовНе проверенSystematically improves Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS) with prioritized fixes and…
от patricio0312rev★ 64 звезды на GitHubОб этом скилле
Core Web Vitals Tuner
Improve LCP, INP, and CLS systematically.
LCP Optimization (<2.5s)
Prioritized Fixes:
Optimize images (Biggest impact)
<!-- Before --> <img src="hero.jpg" /> <!-- After --> <img src="hero.jpg" srcset="hero-400.webp 400w, hero-800.webp 800w, hero-1200.webp 1200w" sizes="(max-width: 600px) 400px, (max-width: 1200px) 800px, 1200px" loading="eager" fetchpriority="high" />Preload LCP resource
<link rel="preload" as="image" href="/hero.webp" fetchpriority="high" />Inline critical CSS
<style> /* Above-the-fold styles */ .hero { display: flex; height: 100vh; } </style>Use CDN
- Serve images from CloudFront/Cloudflare
- Enable HTTP/2 or HTTP/3
INP Optimization (<200ms)
Fixes:
Debounce expensive interactions
import { debounce } from "lodash"; const handleSearch = debounce((query) => { fetchResults(query); }, 300);Use Web Workers for heavy tasks
const worker = new Worker("processor.js"); worker.postMessage(largeData); worker.onmessage = (e) => console.log(e.data);Code splitting
const HeavyComponent = lazy(() => import("./HeavyComponent"));
CLS Optimization (<0.1)
Fixes:
Reserve space for images/ads
<img src="banner.jpg" width="1200" height="600" />Use CSS aspect-ratio
.video-container { aspect-ratio: 16 / 9; }Avoid injecting content above existing
.notification { position: fixed; top: 0; }
Verification
# Lighthouse CI
npm run lighthouse -- --url=https://example.com
# Web Vitals in production
import { getCLS, getFID, getLCP } from 'web-vitals';
getCLS(console.log);
getFID(console.log);
getLCP(console.log);
Output Checklist
- LCP optimized (<2.5s)
- INP optimized (<200ms)
- CLS optimized (<0.1)
- Monitoring in place
- Performance regression tests ENDFILE
Установить core-web-vitals-tuner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл core-web-vitals-tuner?
Systematically improves Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS) with prioritized fixes and verification. Use for "Core Web Vitals", "performance", "LCP", "INP", or "CLS".
Как установить скилл core-web-vitals-tuner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл core-web-vitals-tuner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic