跳到正文
cccskills
免费在 GitHub 公开

performance-budget-lab

Set performance budgets before implementation.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md2.0 KB
  • agents/openai.yaml228 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audit semantic and keyboard accessibility.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Finish accessibility and performance details.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Evaluate agent and skill behavior or routing.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Design memory provenance and tenant isolation.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Resolve agent ownership and handoff design.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

Define coherent motion timing and rhythm.

中文简介正在准备中。当前显示原文说明。

TheGoat395/Codex-Skills1292026年9月11日 更新

查看 TheGoat395 的全部技能

报告此技能的问题