Overview
benchmark runs Lighthouse CI against a local preview build before each commit, blocking the commit if LCP, CLS, or TBT regress beyond configured thresholds.
When to Use
Install on frontend projects where performance budgets are enforced. Requires a fast build (under 60s) to be practical.
Usage Examples
Runs automatically as a pre-commit hook. Reports score deltas and blocks if any threshold is exceeded.
Configuration
Configure thresholds in .lighthouserc.js. Defaults: LCP ≤ 2.5s, CLS ≤ 0.1, TBT ≤ 200ms.
Installation
npx skills add mclaude95/eq-foundry -s benchmark