What problem does it solve?
This Skill eliminates the risk of silent performance drift and undetected regressions slipping into production by enforcing explicit, team-agreed performance budgets at the CI stage, stopping performance degradation before it impacts end users.
Core Features & Use Cases
- Budget Enforcement: Validates measured performance metrics (latency percentiles, throughput, memory allocations, bundle size) against declared team budgets and historical baselines.
- Anti-Pattern Detection: Flags common performance issues including N+1 queries, blocking I/O on hot paths, hot-loop allocations, and invalid microbenchmark implementations.
- Tool Integration: Works with standard industry benchmarking tools (k6, JMH, BenchmarkDotNet, criterion.rs, etc.) to automate validation in CI pipelines.
- Use Case: A team adding a new user API endpoint can use this skill to automatically verify the p95 latency stays under the 200ms budget, catch any allocation regressions, and flag hand-rolled timing loops in new benchmark files before merging the PR.
Quick Start
Use the performance-validator skill to validate that your latest code changes do not violate any declared performance budgets or introduce performance regressions against the baseline.