sdcorejs-review-performance-budget

Convert performance requirements into numeric budgets with automated verification commands.

2|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/sdcorejs/sdcorejs-agent --skill sdcorejs-review-performance-budget
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdcorejs-review-performance-budget
Source: https://github.com/sdcorejs/sdcorejs-agent/tree/main/plugin/skills/sdcorejs-review-performance-budget
Command: npx skills add https://github.com/sdcorejs/sdcorejs-agent --skill sdcorejs-review-performance-budget

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Eliminates subjective “feels slow” performance debates by turning frontend and backend performance into measurable numeric budgets with automated verification commands.

Core Features & Use Cases

  • Cross-track performance thresholds: Defines numeric targets for Core Web Vitals, bundle size, API response latency, DB query time, and memory footprint.
  • Verifier-ready measurements: Provides concrete command-based verification steps for Lighthouse metrics, bundle inspection, load testing, query logging, and RSS sampling.
  • Stack-specific extension points: Lets stack skills inherit universal budgets and add probes, with explicit per-track exceptions to prevent silent divergence.
  • Use cases: Set early perf gates for a new project, block regressions before release, and investigate reported performance incidents using consistent thresholds.

Quick Start

Ask the AI to set up performance budget acceptance criteria and wire the budget verifiers into verify-before-done for the release checklist.

Frequently Asked Questions about sdcorejs-review-performance-budget

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

FAQPage Schema
How do I set up a performance budget to block Core Web Vitals regressions in CI?

To block regressions, you define numeric thresholds for Core Web Vitals and bundle size, then wire automated Lighthouse verification commands into your CI pipeline to block releases that fail these performance gates.

What is a performance budget and how does it prevent subjective API latency debates?

A performance budget converts subjective latency concerns into measurable numeric targets for API response times and DB queries. It uses automated verification commands to enforce these hard gates, eliminating debates over whether an app feels slow.

Can I detect memory leaks and N+1 DB queries using automated performance gates?

Yes, you can detect memory leaks and N+1 DB queries by defining backend performance budgets. The verification process uses query logging to identify N+1 issues and monitors RSS memory sampling to catch leaks during load testing.

Does this performance budget approach work for both frontend Lighthouse metrics and backend load testing?

Yes, this approach works for both frontend and backend. It defines per-metric thresholds for Lighthouse mobile checks and bundle size, while simultaneously applying backend verifier coverage via load testing, query logging, and memory RSS monitoring.

How do I apply per-track exceptions to performance budgets without causing silent threshold divergence?

You apply per-track exceptions by letting stack skills inherit universal budgets and add specific probes. This process explicitly defines exceptions for each track, preventing silent divergence from the baseline performance thresholds.