AgentSkillsCN

performance-budgeting

定义性能预算和护栏。在高级开发者需要性能目标和强制执行时使用。

SKILL.md
--- frontmatter
name: performance-budgeting
description: Define performance budgets and guardrails. Use when a senior developer needs performance targets and enforcement.

Performance Budgeting

Purpose

Define performance budgets and guardrails.

Inputs to request

  • Key performance metrics and baselines.
  • User journey or critical paths.
  • CI/CD capabilities for enforcement.

Workflow

  1. Set measurable budgets for key metrics.
  2. Define thresholds and monitoring hooks.
  3. Plan enforcement in CI or release gates.

Output

  • Performance budget proposal.

Quality bar

  • Tie budgets to user impact.
  • Avoid budgets that are too strict to maintain.