- Home
- Skills
- Frontend & Web Apps
- core web vitals fixer vue nuxt shopify
core web vitals fixer vue nuxt shopify
Diagnose and fix LCP, INP, and CLS issues with framework-specific code for Vue, Nuxt, and Shopify.
$9
Works with the AI Agents you already use
core web vitals fixer vue nuxt shopify
Example session with this skill installed
I have a Shopify store failing LCP on mobile. Here is my PSI JSON and product-template.liquid. What do I fix first?
- Read your context and instructions
- Compiled the core web vitals
Parsed the PSI JSON manually and reviewed the provided Liquid source code. The diagnosis shows a significant resource load delay on the main product image.
CWV diagnosis — /products/classic-tee (Shopify, mobile, field+lab)
| Metric | Field p75 | Lab | Status | Main cause |
|---|---|---|---|---|
| LCP | 3.8s | 4.2s | 🔴 | Resource load delay (Hero Image) |
| INP | 180ms | TBT 240ms | 🟢 | no action |
| CLS | 0.12 | 0.08 | 🟠 | Unsized banner ad in header |
Do first (max 3)
-
Optimize Hero Image Loading — metric: LCP · effort: S · risk: low
- Evidence:
largest-contentful-paint-elementidentifies.product-media--featured - Fix (
sections/product-template.liquid):{% comment %} Replace lazy-loading with eager for LCP {% endcomment %} {{ product.featured_image | image_url: width: 800 | image_tag: preload: true, loading: 'eager', fetchpriority: 'high', class: 'product-media--featured' }} - Verify:
resource-load-delayshould drop by ~1.2s; LCP element should no longer be lazy-loaded.
- Evidence:
-
Fix Header Layout Shift — metric: CLS · effort: S · risk: low
- Evidence:
layout-shift-elementspoints todiv.top-bar-ad - Fix (
snippets/header.liquid):.top-bar-ad { min-height: 50px; aspect-ratio: 20 / 1; background: #f8f8f8; } - Verify: CLS in lab should drop below 0.1.
- Evidence:
Next
Defer non-critical apps — metric: TBT/INP. Check apps.js script execution time in the "Reduce JavaScript execution time" audit.
Plan (needs a decision or larger change)
- Migrate legacy jQuery plugins in the footer to native JS to reduce total blocking time.
Assumptions and gaps
- Lab CLS is lower than field, suggesting a late shift occurring after the initial page load.
Next steps
- Apply the
image_tagchanges to your product template. - Add the CSS min-height to your header snippet.
- Re-run Lighthouse mobile tests 3 times to confirm the LCP resource load delay reduction.
Connects securely to your tools. The creator never sees your data.
About this skill
Stop guessing why your Core Web Vitals are failing. This skill provides a technical bridge between raw performance reports and framework-specific implementation. It processes PageSpeed Insights, Lighthouse JSON, and CrUX field data to find the root cause of LCP, INP, and CLS issues.
What it does
- Evidence-based diagnosis parses Lighthouse or PSI JSON reports to identify specific elements and scripts dragging down performance scores.
- Stack-specific fixes generates code-level solutions for Vue 3, Nuxt 4, and Shopify Liquid themes using modern patterns like NuxtImg or Shopify's native image tags.
- Metric prioritization ranks tasks based on real-world field data (CrUX) rather than just lab simulations to ensure the 28-day rolling average actually improves.
- Performance auditing identifies the dominant phase of LCP (TTFB, load delay, render delay) to stop developers from fixing the wrong bottleneck.
- Verification planning provides exact re-measurement steps and commands to confirm fixes before pushing to production.
How it works
- Supply evidence by providing a PageSpeed Insights URL, uploading a Lighthouse JSON export, or sharing source code files.
- Stack detection identifies if the site is a Vue SPA, a Nuxt SSR/SSG app, or a Shopify Online Store 2.0 theme.
- Execution & Analysis uses a bundled script to parse audit IDs and compare field vs. lab metrics against p75 thresholds.
- Implementation outputs a prioritized Markdown report with minimal code diffs, effort levels, and risk assessments.
Frameworks & tools
This tool is built for Vue 3, Nuxt 4 (with support for Nuxt 3 legacy), and Shopify Liquid. It utilizes Lighthouse 10-13 data schemas, CrUX API structures, and PageSpeed Insights v5 JSON.
Why this beats prompting it yourself
Generic AI models often suggest generic performance advice like "optimize images" or "minify CSS." This skill maps specific Lighthouse audit IDs to actual file locations and framework features, like @nuxt/scripts or Shopify's image_url filters, ensuring the code you get is ready for your specific build pipeline.
Use cases
- Debugging a Shopify store that fails the "Passed Core Web Vitals" assessment in Search Console.
- Reducing high Interaction to Next Paint (INP) in Nuxt apps by identifying long hydration tasks.
- Fixing Cumulative Layout Shift (CLS) caused by dynamic Vue components or injected third-party apps.
- Auditing a site before a major release to ensure performance budgets are maintained.
Known limitations
Does not provide backend or database tuning beyond initial TTFB triage. React, Next.js, and WordPress sites receive only framework-agnostic advice. Cannot bypass password-protected Shopify stores without a local JSON export.
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.
No backend/DB tuning beyond TTFB. React/Next/WP get generic advice only. Cannot access password-protected Shopify sites without a provided JSON report. Nuxt 3/4 and Vue 3 focused.
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 13 days ago
- Software
- lighthouse
Node.jsnuxi