Phy Cwv Budget Guard

Core Web Vitals budget enforcer that runs Lighthouse against a local dev server or staging URL, extracts LCP, INP, CLS, FCP, and TTFB scores, compares against a project .cwv-budget.json config, and fails CI if any metric regresses. Identifies which source file, image, render-blocking resource, or JavaScript chunk caused each metric violation with specific fix recommendations. Tracks metric trends across runs by appending to a local history file. Works with any framework (Next.js, Vite, CRA, Rails, Django). Zero external cloud account — runs Lighthouse via npx locally. Triggers on "core web vitals", "LCP slow", "CLS regression", "Lighthouse score dropped", "performance budget", "web vitals", "/cwv-check".

Install

openclaw skills install @phy041/phy-cwv-budget-guard