core-vitals-fixer
БесплатноБез исполняемых скриптовНе проверенFix Core Web Vitals issues with AI guidance. Use when your Lighthouse scores are bad.
от modbender★ 21 звезда на GitHubОб этом скилле
Core Web Vitals Fixer
Your LCP is 4 seconds, CLS keeps jumping, and FID feels sluggish. This tool scans your code and tells you exactly what to fix and how.
One command. Zero config. Just works.
Quick Start
npx ai-core-vitals ./src/
What It Does
- Analyzes your code for Core Web Vitals issues
- Identifies LCP, FID, and CLS problems
- Provides specific fixes with code examples
- Prioritizes issues by impact
Usage Examples
# Scan your source directory
npx ai-core-vitals ./src/
# Scan app directory
npx ai-core-vitals ./app/
# Focus on specific metric
npx ai-core-vitals ./src/ --metric lcp
Best Practices
- Fix LCP first - it's usually the biggest win
- Lazy load below the fold - don't load what users can't see
- Reserve space for images - prevents CLS
- Defer non-critical JS - improves FID
When to Use This
- Lighthouse scores are tanking your SEO
- Users complain about slow page loads
- Core Web Vitals failing in Search Console
- Building a new site and want to start optimized
Part of the LXGIC Dev Toolkit
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
- GitHub: https://github.com/LXGIC-Studios
- Twitter: https://x.com/lxgicstudios
- Substack: https://lxgicstudios.substack.com
- Website: https://lxgicstudios.com
Requirements
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
npx ai-core-vitals --help
How It Works
Scans your code files for common performance antipatterns, then sends them to GPT-4o-mini. The AI identifies issues affecting LCP, CLS, and FID and provides actionable fixes with priority rankings.
License
MIT. Free forever. Use it however you want.
Built by LXGIC Studios
- GitHub: github.com/lxgicstudios/ai-core-vitals
- Twitter: @lxgicstudios
Установить core-vitals-fixer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл core-vitals-fixer?
Fix Core Web Vitals issues with AI guidance. Use when your Lighthouse scores are bad.
Как установить скилл core-vitals-fixer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл core-vitals-fixer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic