performance-validator

Compare measured metrics against team-declared performance budgets and historical baselines.

3|2|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/robotijn/ctoc --skill performance-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-validator
Source: https://github.com/robotijn/ctoc/tree/main/skills/quality/performance-validator
Command: npx skills add https://github.com/robotijn/ctoc --skill performance-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about performance-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I block performance regressions in CI pipelines?

To block performance regressions in CI pipelines, you validate measured metrics like latency percentiles, throughput, and bundle size against declared team budgets and historical baselines. This enforcement stops degradation before it impacts end users.

What are performance budgets and when do I need them for web services?

Performance budgets are team-agreed thresholds for metrics like latency percentiles, memory allocations, and bundle size. You need them at CI stage transitions and during PR reviews to eliminate silent performance drift and stop undetected regressions from slipping into production.

Can I use benchmarking tools like k6, JMH, and criterion.rs for CI validation?

Yes, you can use standard industry benchmarking tools like k6, JMH, BenchmarkDotNet, and criterion.rs to automate CI validation. The validator compares their measured metrics against declared performance budgets to prevent production performance drift across web services, backend systems, frontend bundles, and database queries.

How do I detect microbenchmark anti-patterns and N+1 queries in PR reviews?

To detect microbenchmark anti-patterns and N+1 queries in PR reviews, you flag common performance issues including blocking I/O on hot paths, hot-loop allocations, and invalid microbenchmark implementations. This prevents performance regressions by catching hot-path issues before merging.

What's the best way to validate frontend bundle size and memory allocations against a baseline?

The best way to validate frontend bundle size and memory allocations is to enforce strict thresholds against historical baselines during CI stage transitions. This budget enforcement catches allocation regressions and verifies metrics like p95 latency stay under declared limits before merging.