- Home
- Skills
- Frontend & Web Apps
- Core Web Vitals Fixer: LCP, CLS & INP From Your Report
Works with the AI Agents you already use
Core Web Vitals Fixer: LCP, CLS & INP From Your Report
Asked why a site is slow, AI tools usually list the same ten tips whatever the page.
$9.99
Core Web Vitals Fixer: LCP, CLS & INP From Your Report
Example session with this skill installed
I have a Shopify store that is failing LCP and CLS. Here is my Lighthouse JSON report. Help me fix these metrics specifically for my Liquid theme.
- Read your context and instructions
- Compiled the core web vitals
- Generated the image
I have analyzed the Lighthouse report for your Shopify store. The field data shows a failing LCP of 4.2s and a CLS of 0.25, which are the primary issues to address.
Core Web Vitals Audit & Fixes
| Metric | Lab Value | Field Value | Status |
|---|---|---|---|
| LCP | 3.8s | 4.2s | FAIL |
| CLS | 0.12 | 0.25 | FAIL |
| INP (TBT) | 150ms | 180ms | PASS |
What matters most
Your LCP is delayed by the hero image being lazy-loaded by the theme. The CLS is primarily caused by the announcement bar and header logo not having reserved dimensions, pushing the main content down after the JS executes.
Ranked Fixes
- LCP Image Optimization: The element
img.hero__imageis the LCP. It currently hasloading="lazy".- Fix: Remove lazy loading and add
fetchpriority="high". - Platform Steps: In
snippets/hero.liquid, update theimage_tagorimgtag. - Effect: Large.
- Fix: Remove lazy loading and add
- CLS Layout Stability: The
div.announcement-barshifts the page by 40px.- Fix: Set a min-height in CSS to reserve space.
- Platform Steps: Add
min-height: 40px;to the announcement bar class inassets/theme.css. - Effect: Medium.
Code Changes
{% comment %} Update in snippets/hero.liquid {% endcomment %}
{{ section.settings.image | image_url: width: 1200 | image_tag:
preload: true,
fetchpriority: 'high',
loading: 'eager',
class: 'hero__image'
}}
Next steps
- Apply the
fetchprioritychange to the hero snippet and deploy to a development theme. - Add the
min-heightto your CSS and verify the shift is gone using the "Record" feature in Chrome DevTools Performance tab. - Re-run Lighthouse mobile 3 times to confirm the lab score improvement.
theme.css
PNG · 1536×1024
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Asked why a site is slow, AI tools usually list the same ten tips whatever the page. The report already names the slow element, the shifting element and the blocking files. This skill reads the report and fixes those, in order.
What it does
- Report parser: a standard-library Python script summarizes lab metrics, real-user field data, the LCP element and its load phases, layout shifts, render-blocking files, image savings, unused code, third parties and long tasks.
- What matters: uses field data first and says when a low lab score is not worth chasing.
- Fixes by cause: LCP, CLS and INP fixes tied to what the report actually found.
- Platform steps: plain HTML, WordPress, Shopify, Webflow or Next.js, without inventing setting names.
- Re-test plan: median of three runs and when field data will update.
How it works
- Save a Lighthouse or PageSpeed Insights report as JSON.
- Run the included script.
- Get ranked fixes and code changes for your platform.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.
Needs a report you generate; it does not run Lighthouse itself unless you have Node and Chrome. No specific score is promised, and risky changes are flagged for testing on a staging copy.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 10 days ago
- Software
- lighthouse
Node.js