performance-budget
Installation
SKILL.md
Performance Budget
Establishes quantitative performance targets for frontend and backend systems — including Core Web Vitals, API latency budgets, bundle size limits, and CI gates that prevent performance regression.
Guiding Principle
"Performance is a feature. A budget is a commitment. A regression gate is a guarantee."
Procedure
Step 1 — Baseline Current Performance
- Measure current Core Web Vitals: LCP, FID/INP, CLS for key pages.
- Profile API latency at p50, p95, p99 for critical endpoints.
- Audit frontend bundle sizes: total, per-route, vendor vs. application code.
- Measure Time to Interactive (TTI) and Total Blocking Time (TBT) on target devices.
- Establish baseline metrics in a shared dashboard for ongoing tracking.