Skip to main content
EQ
Foundry
arrow_back Back to Browse

benchmark

Experimental

Pre-commit hook that runs Lighthouse CI and blocks commits that regress Core Web Vitals

Installation

npx skills add mclaude95/eq-foundry -s benchmark

Recommended — works with Claude Code, Cursor, and 40+ agents.

bolt

Performance

Optimized for speed with minimal overhead. Runs efficiently in CI and local environments.

shield

Security

Sandboxed execution with scoped permissions. No external data leaves your environment.

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