compare_to_baseline
Compares fresh Lighthouse and accessibility audits against a saved baseline to identify improvements and regressions, verifying that code changes improved targeted metrics.
Instructions
Compare the current audit state of a URL against its most recent saved baseline. Runs fresh audits, loads the previous baseline from .uimax-history.json, and shows what improved and what regressed. Use this after making changes to verify you improved the metrics you intended.
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 .uimax-history.json (defaults to cwd) |