MCP HubMCP Hub
返回技能列表

validating-performance-budgets

jeremylongshore
更新于 Today
75 次查看
712
74
712
在 GitHub 上查看
aiapi

关于

This skill enables Claude to validate application performance against predefined budgets for metrics like page load times and bundle sizes, alerting on violations. It's triggered by terms like "performance budget" or "performance regression" and is designed to catch regressions early in development. It's particularly useful for integrating performance checks into CI/CD pipelines to prevent degradation.

快速安装

Claude Code

推荐
插件命令推荐
/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus
Git 克隆备选方式
git clone https://github.com/jeremylongshore/claude-code-plugins-plus.git ~/.claude/skills/validating-performance-budgets

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Overview

This skill allows Claude to automatically validate your application's performance against predefined budgets. It helps identify performance regressions and ensures your application maintains optimal performance characteristics.

How It Works

  1. Analyze Performance Metrics: Claude analyzes current performance metrics, such as page load times, bundle sizes, and API response times.
  2. Validate Against Budget: The plugin validates these metrics against predefined performance budget thresholds.
  3. Report Violations: If any metrics exceed the defined budget, the skill reports violations and provides details on the exceeded thresholds.

When to Use This Skill

This skill activates when you need to:

  • Validate performance against predefined budgets.
  • Identify performance regressions in your application.
  • Integrate performance budget validation into your CI/CD pipeline.

Examples

Example 1: Preventing Performance Regressions

User request: "Validate performance budget for the homepage."

The skill will:

  1. Analyze the homepage's performance metrics (load time, bundle size).
  2. Compare these metrics against the defined budget.
  3. Report any violations, such as exceeding the load time budget.

Example 2: Integrating with CI/CD

User request: "Run performance budget validation as part of the build process."

The skill will:

  1. Execute the performance budget validation command.
  2. Check all defined performance metrics against their budgets.
  3. Report any violations that would cause the build to fail.

Best Practices

  • Budget Definition: Define realistic and achievable performance budgets based on current application performance and user expectations.
  • Metric Selection: Choose relevant performance metrics that directly impact user experience, such as page load times and API response times.
  • CI/CD Integration: Integrate performance budget validation into your CI/CD pipeline to automatically detect and prevent performance regressions.

Integration

This skill can be integrated with other plugins that provide performance metrics, such as website speed test tools or API monitoring services. It can also be used in conjunction with alerting plugins to notify developers of performance budget violations.

GitHub 仓库

jeremylongshore/claude-code-plugins-plus
路径: backups/skills-batch-20251204-000554/plugins/performance/performance-budget-validator/skills/performance-budget-validator
aiautomationclaude-codedevopsmarketplacemcp

相关推荐技能