Performance Budget Validator Skill for JavaScript Size Limits
Define a consistent build size budget and report the assets contributing to a local threshold violation.
中文Install in Claude Code
Use your frontend build and project budget. The example counts compressed initial JavaScript in KiB.
- Get the complete `plugins/performance/performance-budget-validator/skills/validating-performance-budgets` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/validating-performance-budgets/SKILL.md`, start Claude Code at the project root, and call `/validating-performance-budgets`.
Example task
Set 180 KiB for the catalog route. Record an entry of 110 KiB and shared chunk of 85 KiB, then calculate the result.What to check
The 195 KiB total exceeds the budget by 15 KiB. The report lists both chunks and their measurement basis.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can a compressed budget be compared directly with an uncompressed total?
Use the same compression and units on both sides, and state whether deferred chunks are included.