agentsclimarketplace

Lighthouse quick

Skill claude-hangar/claude-hangar/core/skills/lighthouse-quick

Core Web Vitals performance check (LCP, CLS, INP). Use when: "lighthouse", "pagespeed", "performance", "core web vitals", "speed".From its SKILL.md

Install
npx -y skills add claude-hangar/claude-hangar --skill lighthouse-quick

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.6 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it

<!-- AI-QUICK-REF ## /lighthouse-quick — Quick Reference - **Micro-skill** — Code-based performance check, no browser tool - **Checks:** LCP, CLS, INP, images, fonts, JS bundle, CSS - **Output:** Findings with severity + fix suggestions - **Not real Lighthouse** — Static code analysis of performance patterns - **Recommended:** Before launch, after major UI changes -->

/lighthouse-quick — Performance Quick Check

Static code analysis of the most common performance issues. Not real Lighthouse — checks patterns in code that affect Core Web Vitals.

Check Catalog

LCP (Largest Contentful Paint)

#CheckWhat to look for
1Hero image optimized?<img> in above-the-fold: loading="eager", fetchpriority="high"
2Preload for critical assets?<link rel="preload"> for hero image, critical fonts
3Server response time?No blocking redirects, no chain loading
4Modern image formats?WebP/AVIF instead of PNG/JPG (Astro: <Image> component)

CLS (Cumulative Layout Shift)

#CheckWhat to look for
5Images with width/height?All <img> need explicit dimensions
6Font display?font-display: swap or optional
7Dynamic content?Ads, embeds, lazy content without placeholders
8CSS animations?transform instead of top/left/width/height

INP (Interaction to Next Paint)

#CheckWhat to look for
9Heavy event handlers?click/input handlers with >50ms work
10Main thread blocking?Synchronous loops, DOM manipulation in batches
11Debouncing?Input/scroll handlers without debounce/throttle

Assets & Bundle

#CheckWhat to look for
12JS bundle size?Single bundles >200KB (uncompressed)
13Tree shaking?Barrel imports (import * from), unused dependencies
14CSS unused?Large CSS files without PurgeCSS/Tailwind
15Lazy loading?Below-the-fold images without loading="lazy"
16Compression?Gzip/Brotli in server config or build

Fonts

#CheckWhat to look for
17Self-hosted?No Google Fonts CDN links (GDPR!)
18Subset?Font files >100KB? -> Recommend subsetting
19Formats?WOFF2 as primary format
20Preload?Critical fonts via <link rel="preload">
21FOUT with view transitions?Font flash during ClientRouter navigation (Astro)

View Transitions / ClientRouter

#CheckWhat to look for
22FOUT during navigation?Font flash with ClientRouter SPA navigation (Astro 5.18+/6 beta.16 fixed, check older versions)
23fetchpriority on hero?<Image fetchpriority="high"> for LCP-critical images (Astro 6 beta.16+)

Procedure

  1. Find layout/base template -> analyze <head>
  2. Search components/pages for <img>, <script>, font references
  3. Check build config (vite.config, astro.config, etc.)
  4. Output findings with severity (HIGH/MEDIUM/LOW)
  5. Fix suggestions per finding

Output Format

Performance Quick Check — {Project}
====================================

[HIGH] LCP: Hero image without fetchpriority="high"
       -> <img src="hero.jpg" fetchpriority="high" loading="eager">

[HIGH] FONTS: Google Fonts via CDN (GDPR violation)
       -> Use self-hosted fonts

[MED]  CLS: 3 images without width/height
       -> Set explicit dimensions

[LOW]  ASSETS: 2 below-fold images without lazy loading
       -> Add loading="lazy"

Result: 4 findings (2 HIGH, 1 MED, 1 LOW)

Structured Output (Optional)

When called in the context of /polish or /audit, additionally write/extend .micro-check-results.json:

{
  "lighthouseQuick": {
    "date": "YYYY-MM-DD",
    "checks": [
      { "id": "PERF-Q01", "name": "hero-fetchpriority", "status": "ok|missing", "severity": "HIGH" },
      { "id": "PERF-Q02", "name": "preload-critical", "status": "ok|missing", "severity": "MEDIUM" },
      { "id": "PERF-Q03", "name": "image-formats", "status": "ok|outdated", "severity": "MEDIUM" },
      { "id": "PERF-Q04", "name": "img-dimensions", "status": "ok|missing", "severity": "HIGH" },
      { "id": "PERF-Q05", "name": "font-display", "status": "ok|missing", "severity": "MEDIUM" },
      { "id": "PERF-Q06", "name": "font-self-hosted", "status": "ok|cdn", "severity": "HIGH" },
      { "id": "PERF-Q07", "name": "lazy-loading", "status": "ok|missing", "severity": "LOW" },
      { "id": "PERF-Q08", "name": "js-bundle-size", "status": "ok|too-large", "severity": "MEDIUM" }
    ],
    "summary": { "ok": 6, "issues": 2 }
  }
}

Rule: Only write when explicitly in the context of a parent skill. For standalone calls, text output only.

Rules

  • Read-only — does not modify files except optional .micro-check-results.json
  • Not real Lighthouse — purely static code analysis
  • GDPR check (fonts) is always included
  • For Astro: recommend <Image> component instead of <img>

Upstream Reference

Real Lighthouse is at version 13.1.0 (minor update from 13.0.3). This is a minor release with potential scoring refinements — no major audit category changes expected. If users ask about Lighthouse score discrepancies, consider whether they upgraded between runs.

As of: 2026-04-09

What ships with it: 1 file

347 B alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.