Performance Budget Enforcement

VerifiedSafe

Bring user journeys within declared performance budgets via measured baselines, profiling, targeted fixes, and CI regression guards. Statistical contracts ensure proof, not guesswork.

Sby Skills Guide Bot
DevelopmentAdvanced
8/30/2026
Claude Code
#performance#benchmarking#core-web-vitals#profiling#ci-regression

Recommended for

Automated summary

An orchestration skill that brings declared user journeys within their performance budgets by measuring against a metric contract fixed before baselining and proving every gain with a before/after.

Strengths

  • Forces a metric contract (source, sample size, pinned conditions) to be declared before baselining, making before/after comparisons genuinely valid instead of lucky single runs
  • One PR per hotspot with a mandatory measured before/after, plus a CI budget guard added every time to prevent regressions
  • Two explicit terminal outcomes (WITHIN-BUDGET / OPTIMIZED-WITH-PARKED) that block unproven success claims; a metric that cannot be measured is flagged, never swapped for a proxy
  • Drives the journey at its real entry point (runtime-prove), so a speed win that breaks behaviour is treated as a bug rather than a result

Limitations

  • Hard dependency on the Orca runtime and its orchestration skill, plus git/gh and a real measurement path (Lighthouse, load harness or profiler): it is not a standalone skill
  • Confirming field Core Web Vitals requires a deploy; without one the outcome stays OPTIMIZED-WITH-PARKED and the budget cannot be declared met
  • Measurements are noisy: multiple runs and percentiles are needed, which costs time and infrastructure
When to use it

When an app is slow and you want critical journeys brought under declared performance budgets with measured proof.

When not to use it

For a quick per-diff performance opinion, a one-off review, or post-deploy monitoring on its own.

Security analysis

Safe
Quality score76/100

This is a doctrine-only coordination playbook: it declares no allowed-tools, executes no code, and contains no destructive, exfiltrating, or obfuscated instructions. It references external runtimes (Orca, git, gh, Lighthouse) and network/load measurement, but only for legitimate performance benchmarking. No secrets handling or safety-disabling content.

No concerns found

How this analysis is made

Examples

Perf sweep under declared budgets
Our web app feels slow. Run a perf sweep: the critical journeys are signup, product listing and checkout, with budgets of LCP p75 under 2.5s and checkout API p95 under 300ms. Declare the metric contracts, baseline each journey, find the dominant bottleneck, and get them within budget with pasted before/after numbers.
Core Web Vitals hardening run
Do an unattended perf-hardening run to bring our Core Web Vitals within budget for the signup and product-listing journeys. Fix PR-per-hotspot with a mandatory before/after, add a CI regression guard for each budget, and tell me honestly if any journey has to be parked because it needs a field measurement after deploy.
Bottleneck diagnosis before fixing
Before changing anything, baseline the checkout journey to its metric contract and profile it so we can name the one dominant cause of the slowness. Then fix only that hotspot, prove it at the real entry point, and re-benchmark to the same contract.

name: speed-it description: >- Bring declared user journeys within pre-declared performance budgets, proven by measurement. Controlled baseline (measure to a metric contract, not once) → profile the real bottleneck → fix PR-per-hotspot with a mandatory before/after → re-benchmark to the metric's statistical contract → add CI regression guards, looping until every journey is within budget or parked. Use when "the app is slow", "perf sweep", "Core Web Vitals", "get under budget", or an unattended perf-hardening run. Not for a per-diff perf opinion (review-it) or post-deploy watch alone (observe via ship-it). license: MIT proof: doctrine-only autonomy: L4 compatibility: >- HARD dependency: Orca runtime + orchestration skill (Orca CLI). git + gh. A real MEASUREMENT path (Lighthouse/DevTools for web CWV, or a load/profiler harness). A perf worker playbook (addyosmani performance-optimization or gstack benchmark) — one router per worker.

speed-it — every journey within budget, proven by a number

You are the COORDINATOR. Unlike a findings mission, here BASELINE MEASUREMENT PRECEDES inventory, fixes interact systemically, measurements are noisy, and DONE is a STATISTICALLY-DEFINED BUDGET over journeys — not closure of a finding list. Composes risk-review (perf lens), remediate-finding, acceptance-review, runtime-prove, compound-learn; rides merge-serialization, reviewed-sha-freshness, dispatch-lifecycle, liveness-resume, evidence-manifest, ledger-contract, attention-budget. Worker TASK pack: one of addy | gstack.

Two terminal outcomes

  • WITHIN-BUDGET — every critical journey meets its budget on its metric contract's confirmation.
  • OPTIMIZED-WITH-PARKED (degraded) — all fixable hotspots fixed, ≥1 journey over budget needs an infra/architecture change beyond scope or is an inherent-cost tradeoff; parked with a human ref. Never reported as WITHIN-BUDGET.

The measurement contract (declare per metric BEFORE baselining)

Two runs is a smoke minimum, not proof. Field CWV = the metric's percentile (p75) over a window + sample count. Lab CWV = median of ≥5 runs (e.g. 5–10; report spread) at a pinned throttle/cache/device. Server p95/p99 = the percentile over ≥N requests (e.g. 1k–10k) at stated concurrency, two independent load runs agree. Baseline and candidate MUST share source, sample size, and pinned conditions — a lab-vs-field or warm-vs-cold comparison is not a delta. A number you can't measure to its contract is unmeasured (human-flagged), never a downgraded proxy; never fabricate a metric.

Pipeline

HUMAN SCOPE CONFIRM: freeze the critical-journey list + per-journey budgets (unbounded journeys
  unbounded mission) → declare metric contracts → BASELINE every journey (to contract) → rank
  breaches by gap×traffic
  → DIAGNOSE the bottleneck (profile; symptom→cause tree; name the one dominant cause)
  → BOOTSTRAP integration BASE (runtime/scripts/preflight.py --base <BASE> --fork-point <sha
    recorded in the ledger header at BASE creation>; BASE ≠ default — dispatch-lifecycle.md)
  → FIX PR-per-hotspot (before→after mandatory; GUARD: add a CI budget) → build-blind REVIEW
    (acceptance-review) → RUNTIME-PROVE (drive the journey at its real entry point — fast but
    behaviorally wrong is a bug, not a win) → LAND
  → RE-BENCHMARK to the contract (a lucky single run is not confirmation). Lab/load contracts
    complete in-mission. Field CWV contracts need the same field source/sample/conditions as baseline
    — that requires deploy; hand off a brief (measurement contract + ship-it release plan) to ship-it
    and do not claim WITHIN-BUDGET on a lab-only delta (OPTIMIZED-WITH-PARKED until field confirms).
  → loop → outcome → REFLECT (`compound-learn`)

Convergence proof

Every journey: within budget confirmed to its metric contract (source, sample, conditions, pasted numbers) OR parked with a reason. Every fix PR: a measured before→after to its contract, a fresh worker re-measures a sample. No fabricated metrics (spot-checked). CI budgets added so wins don't rot. A fix that changes behavior is a bug the review must catch. Manifest names WITHIN-BUDGET or OPTIMIZED-WITH-PARKED.

Ledger + supervision

Header per liveness-resume.md: RUN · COORDINATOR · BASE · FORK_POINT · T0 · SOURCE · WIP (- if N/A; SOURCE = journey-list + metric-contract digests). Rows include Orca task id + hotspot/journey fields. Stalls → WATCH; death → RESUME scoped to header coordinator + ledger task ids, git-verified.

Anti-patterns

Optimizing without a baseline (can't prove a win). One fast run = "fixed" (perf is noisy). Confirming below the metric's contract. Scattershot micro-opts instead of the profiled bottleneck. Unbounded journey list (needs the human-confirmed set).

Related

clean-sweep (general findings), review-it (per-diff perf lens), ship-it (owns deploy + canary, and its observe phase for post-deploy perf watch when field confirmation is required).

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/performance-budget-enforcement-mtfbwmbf/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/performance-budget-enforcement-mtfbwmbf' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/performance-budget-enforcement-mtfbwmbf/download' --output '.skill-downloads/performance-budget-enforcement-mtfbwmbf/SKILL.md.part' && mv '.skill-downloads/performance-budget-enforcement-mtfbwmbf/SKILL.md.part' '.skill-downloads/performance-budget-enforcement-mtfbwmbf/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Environment declared by the author: HARD dependency: Orca runtime + orchestration skill (Orca CLI). git + gh. A real MEASUREMENT path (Lighthouse/DevTools for web CWV, or a load/profiler harness). A perf worker playbook (addyosmani performance-optimization or gstack benchmark) — one router per worker.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/performance-budget-enforcement-mtfbwmbf/SKILL.md' && test -s '.skill-downloads/performance-budget-enforcement-mtfbwmbf/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/speed-it' && cp -R '.skill-downloads/performance-budget-enforcement-mtfbwmbf' '.claude/skills/speed-it'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/performance-budget-enforcement-mtfbwmbf'

openskills read 'performance-budget-enforcement-mtfbwmbf'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/performance-budget-enforcement-mtfbwmbf/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills