check_budgets
Run fresh audits to verify your site meets performance budgets defined in .uimaxrc.json, comparing Lighthouse scores, Web Vitals, accessibility, and code issues against thresholds.
Instructions
Check if the current site meets performance budgets defined in .uimaxrc.json. Runs fresh audits and compares results against budget thresholds for Lighthouse scores, Web Vitals, accessibility violations, and code issues. Returns pass/fail with details of any exceeded budgets.
Configure budgets in .uimaxrc.json under the "budgets" key: { "budgets": { "lighthouse": { "performance": 90, "accessibility": 95 }, "webVitals": { "lcp": 2500, "cls": 0.1 }, "maxAccessibilityViolations": 0 } }
This tool is FREE — runs entirely within Claude Code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the running application (e.g., http://localhost:3000) | |
| codeDir | No | Project directory containing .uimaxrc.json with budget config (defaults to cwd) |