OpenParable
Skip to content
← Back to skills

Storefront Health

Testing & Quality
storefront-health

Storefront Health is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Run a storefront performance audit with Lighthouse and Core Web Vitals analysis

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/performance/storefront-health/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/storefront-health, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

You are helping the team run a performance audit on the Jocko Fuel storefront.

Follow these steps:

Step 1: Identify Page to Audit

Ask the user which page(s) to audit. Common targets:

  • Homepage (jockofuel.com)
  • Product listing pages (collections)
  • Product detail pages (specific products)
  • Cart and checkout flow
  • Custom landing pages

If the user says "everything," start with homepage + top 3 traffic pages.

Step 2: Run Lighthouse Analysis

Delegate to the performance-auditor agent to run a Lighthouse audit on each page. Collect scores for:

  • Performance (target: 90+)
  • Accessibility (target: 90+)
  • Best Practices (target: 90+)
  • SEO (target: 90+)

For each category below target, capture the specific failing audits.

Step 3: Check Core Web Vitals

Delegate to the performance-auditor agent to measure:

  • LCP (Largest Contentful Paint) — target: < 2.5s
  • INP (Interaction to Next Paint) — target: < 200ms
  • CLS (Cumulative Layout Shift) — target: < 0.1
  • TTFB (Time to First Byte) — target: < 800ms

Flag any metrics in "needs improvement" or "poor" ranges.

Step 4: Analyze Theme Impact

Delegate to the theme-analyzer agent to check:

  • Liquid template render complexity
  • Unused CSS/JS being loaded
  • Image optimization status (format, sizing, lazy loading)
  • Font loading strategy

Step 5: Generate Report

Compile results into a report with:

  • Executive summary: Overall health score and top 3 issues
  • Scores table: All Lighthouse scores by page
  • Core Web Vitals table: All CWV metrics by page
  • Prioritized recommendations: Ordered by impact and effort
  • Quick wins: Changes that can be made immediately

Error Handling

  • If a page is behind authentication, ask the user for access or skip that page
  • If Lighthouse fails to run, suggest using Chrome DevTools manually and provide instructions
  • If metrics vary significantly between runs, note the variance and recommend multiple samples