← 返回 Skills 市场
charlie-morrison

Performance Budget Enforcer

作者 charlie-morrison · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
54
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install performance-budget-enforcer
功能描述
Define, measure, and enforce web performance budgets — bundle sizes, asset counts, image weights, third-party scripts. Fails CI when budgets are exceeded. Tr...
安全使用建议
This is an instruction-only CI helper that appears to do what it claims. Before installing or adding to CI, verify your CI runners have the standard Unix tools used (find, du, gzip, awk, wc, bc, sort), and review the SKILL.md so you are comfortable with it creating .perfbudget.json and .perfbudget-history.json in your repo. Run the commands locally in a sandboxed project to confirm output and exit codes behave as you expect. If you want stricter controls, require a review step in CI before the tool can fail a pipeline or restrict it to dedicated CI jobs so it only scans intended build artifacts.
功能分析
Type: OpenClaw Skill Name: performance-budget-enforcer Version: 1.0.0 The performance-budget-enforcer skill is a utility for monitoring web asset sizes and enforcing performance budgets. It uses standard shell commands (find, du, awk, gzip, rg) in SKILL.md to analyze build directories and report on JS, CSS, and image weights. There is no evidence of malicious intent, data exfiltration, or unauthorized access; the code logic is strictly aligned with its stated purpose of performance auditing.
能力评估
Purpose & Capability
The SKILL.md performs exactly the expected tasks for a performance-budget tool: scanning build output, measuring JS/CSS/images/fonts, comparing against a JSON budget, and appending a history file. It does rely on standard Unix CLI tools (find, du, gzip, awk, wc, bc, sort) but the skill metadata did not declare these as required binaries; this is reasonable but should be documented for CI environments.
Instruction Scope
Instructions limit actions to the project workspace (auto-detected build directories and project root). The skill reads and writes .perfbudget.json and .perfbudget-history.json and may read VCS info (commit/branch) for trend entries — all are consistent with tracking performance over time. It does not instruct uploading data to external endpoints or accessing unrelated system paths.
Install Mechanism
There is no install step and no code files — the skill is instruction-only, so nothing is downloaded or written beyond the small budget/history files it creates in the project. This is the lowest-risk install profile.
Credentials
The skill requests no environment variables, credentials, or external config paths. Its needs are limited to local filesystem access in the project and availability of common CLI utilities; this is proportional to its purpose.
Persistence & Privilege
The skill is not marked always:true and does not request system-level persistence. It writes budget and history files to the project root (expected behavior) and does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install performance-budget-enforcer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /performance-budget-enforcer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of performance-budget-enforcer. - Set, measure, and enforce web performance budgets (bundle sizes, image weights, asset counts, third-party scripts) in CI/CD pipelines. - Scan build outputs for JS/CSS bundles, images, fonts, and third-party scripts; detect overages and flag regressions. - Define budgets via a `.perfbudget.json` file with presets available for different project types. - Output detailed reports and exit codes for automation; track asset size trends across builds. - Offer actionable optimization suggestions when over budget.
元数据
Slug performance-budget-enforcer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Performance Budget Enforcer 是什么?

Define, measure, and enforce web performance budgets — bundle sizes, asset counts, image weights, third-party scripts. Fails CI when budgets are exceeded. Tr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。

如何安装 Performance Budget Enforcer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install performance-budget-enforcer」即可一键安装,无需额外配置。

Performance Budget Enforcer 是免费的吗?

是的,Performance Budget Enforcer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Performance Budget Enforcer 支持哪些平台?

Performance Budget Enforcer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Performance Budget Enforcer?

由 charlie-morrison(@charlie-morrison)开发并维护,当前版本 v1.0.0。

💬 留言讨论