performance-budget-lab

用于网站性能规划与审计,涵盖 Lighthouse/web-vitals 检查、打包/媒体/字体预算、核心 Web 指标分类、图像与视频优化、动画性能、部署准备和高端网站速度审计。

仓库最近推送
GitHub Stars
140
Forks
47
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "performance-budget-lab":https://skillpi.com/zh/skills/deepskill-ff03b5fdc52d0c016c03d5f50c4d3e63ea2f7ed6d77c509415d7a625af364ad0。安装前核对上游来源和版本:https://github.com/TheGoat395/Codex-Skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

用于网站性能规划与审计,涵盖 Lighthouse/web-vitals 检查、打包/媒体/字体预算、核心 Web 指标分类、图像与视频优化、动画性能、部署准备和高端网站速度审计。

0 下载

介绍来源: third_party · TheGoat395 · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
翻译待完成,请参阅来源文档。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: performance-budget-lab
description: "Set performance budgets before implementation."

Performance Budget Lab

Use this skill to keep visually rich sites fast.

Own the budget and acceptance policy. Route measured runtime diagnosis, implementation fixes, and React/Next performance work to $performance-audit-websites.

Budget Areas

  • JavaScript bundle size
  • route-level code splitting
  • image dimensions, formats, and lazy loading
  • video poster, preload, autoplay, and reduced-data behavior
  • font loading and fallback metrics
  • animation cost and scroll handlers
  • layout shift sources
  • server rendering/static rendering choices
  • caching and CDN behavior

Workflow

  1. Identify stack and deployment target.
  2. Inspect package dependencies and route structure.
  3. Define route, hardware/device, network/cache state and measurement method.
  4. Run Lighthouse or browser performance checks when feasible.
  5. Check Core Web Vitals (LCP, CLS, INP) and supporting diagnostics such as TTFB; choose metrics that measure the budgeted user experience.
  6. Set media/JavaScript/font budgets from the intended experience and baseline evidence.
  7. Prefer CSS and Motion for small interactions; reserve GSAP/R3F/video for clear value.
  8. Report tradeoffs honestly when visual richness costs performance.

Use Lighthouse or browser checks here to validate a budget decision, not to take ownership of deep runtime diagnosis. When the work shifts from setting thresholds to locating and repairing the bottleneck, hand off to $performance-audit-websites.

Output

Give:

  • current risks
  • recommended budgets
  • measurement conditions and reconsideration rules
  • commands run
  • remaining uncertainty

Scope and evidence

Output a budget contract: route/device class, hardware, network/cache state, metric, threshold, test method and reconsideration condition. Route measured diagnosis/optimization to $performance-audit-websites; a budget-only request does not implement repairs.

版本历史

  1. v0.2.0 GitHub ↗
    原版更新说明

    Added the public agent-quality collection and expanded the default public core from 70 to 80 skills. Highlights: - Critical and logical thinking, creativity, deep research, and evidence reconciliation - Systematic debugging and fresh verification before completion claims - Bounded agent architecture, memory provenance, and evaluation workflows - Public-neutral packaging with private and machine-specific references removed - Updated catalogs, adapters, release checks, and generated inventories

  2. v0.1.2 GitHub ↗
    原版更新说明

    ## Codex Premium Website Skills v0.1.2 - Added `COMPATIBILITY.md` with Codex, Claude Code, Cursor, Gemini CLI, and generic `SKILL.md` support levels. - Added `CATALOG.md` as a cleaner audience-facing map of collections and high-value skills. - Added `adapters/` documentation for Claude Code, Cursor project rules, and Gemini CLI context files. - Added Cursor and Gemini CLI adapter files for project-level use. - Updated README, evidence, docs, and usage-signal guidance for broader agent ecosystem adoption.

  3. v0.1.1 GitHub ↗
    原版更新说明

    ## Codex Premium Website Skills v0.1.1 - Added `EVIDENCE.md` to summarize proof-of-output, workflow estimates, benchmark readiness, and evidence status. - Added maintainer workflow, usage-signal, and measured benchmark template documentation. - Improved install documentation for clone-based and release-archive usage. - Corrected stale benchmark skill references. - Refined public attribution language in `design-motion-principles`. - Added repository hygiene for release artifacts and GitHub language classification.

  4. v0.1.0 GitHub ↗
    原版更新说明

    # Changelog All notable changes to Codex Premium Website Skills are documented here. ## [0.1.0] - 2026-07-02 - Initial public release of the curated 70-skill public core. - Added eight installable collections for design direction, frontend implementation, QA, motion, content, and maintainer safety workflows. - Added the local installer with dry-run, selected-collection, and replace-with-backup behavior. - Added the premium website showcase gallery with nine local demo previews. - Added public quality, security, benchmark, contribution, and community-health documentation. - Added automated skill validation through GitHub Actions.

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供网站性能预算规划、Lighthouse/web-vitals 检查、打包/媒体/字体预算等实用能力
  • 适用于前端开发者、性能优化工程师等广泛受众
触发精准95/100

亮点

  • description 完整且位于顶层 frontmatter,内容明确描述功能边界
结构规范90/100

亮点

  • Phase/步骤清晰(Workflow 分步),有出口条件(hand off to $performance-audit-websites)
  • 含端到端示例(Output 和 Scope and evidence 提供具体输出格式)
  • frontmatter 完整,单文件 ≤500 行
执行可靠88/100

亮点

  • 工具来源明确(Lighthouse、浏览器性能检查),参数正确
  • 覆盖主要异常(提及 remaining uncertainty 和 reconsideration rules)
  • 不可逆操作有确认机制(budget contract 和 hand off 机制)
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。