Skip to content
cccskills
FreePublished on GitHub

ui-performance-budget

Capture and compare Clawix UI performance budgets for critical flows before optimizing visible or runtime UI behavior.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

ui-performance-budget

Use for sidebar lag, chat scroll performance, composer typing latency, dropdown open delay, terminal/sidebar switching, right-sidebar/browser performance, or any UI performance budget change.

Procedure

  1. Read macos/PERF.md, docs/adr/0010-interface-governance.md, docs/adr/0040-macos-ux-trace-harness.md, docs/ui/performance-budgets.registry.json, and docs/ui/ux-trace-harness.registry.json. Also read docs/ui/ux-trace-calibration.manifest.json before claiming a synthetic fixture is real-equivalent or approval-ready. Treat CPU, RAM, GPU/Neural Engine, disk, network, battery, thermals, idle behavior, and perceived lightness as governed performance dimensions.
  2. Identify the critical flow, matching UX trace KPI, fixture profile, and whether its baseline is approved.
  3. For macOS P0 UI work, prefer the UX trace harness path: action-to-visual completion through the agent control bus, geometry/scroll stability, hitches/resources, and structured evidence. Computer Use is witness-only. Normal app overhead is part of the budget: high-cardinality control registries, frame probes, loopback control server, fixture mutation, screenshots, and UX trace JSONL must stay gated to CLAWIX_AGENT_INSTANCE=1 or an explicit diagnostic probe.
  4. For harness wiring changes, run node scripts/run_macos_ux_trace_harness.mjs --self-test. For actual performance evidence, run the same runner against an isolated agent control URL and owner token; dry-run output is not runtime evidence. After any run or suite, validate the generated evidence directory with node scripts/verify_macos_ux_trace_evidence.mjs --path <run-or-suite-dir> before using it as proof.
  5. For a quick runtime smoke, provision an isolated agent instance with a generated smoke fixture and run node scripts/run_macos_ux_trace_harness.mjs --suite p0 --fixture-profile smoke --control-url <url> --token <token>. Use dense-sidebar, dense-chat, streaming-heavy, terminal-under-load, medium, real-equivalent-private, or worst-case when the investigated flow requires heavier coverage.
  6. Capture evidence before optimization using the target performance playbook.
  7. Compare against the approved baseline when present. If no approved baseline exists, produce a baseline-capture report for user approval.
  8. When overhead is relevant, capture the harness-disabled lane with --harness-disabled-control --write-overhead-control <file> and compare it with --overhead-control <file>.
  9. Treat docs/ui/ux-trace-calibration.manifest.json entries marked EXTERNAL PENDING as non-closable without approved private aggregate evidence. Synthetic live baselines can support investigation, but they do not prove private real-mode equivalence by themselves.
  10. Do not retune visual timing, layout, animation, or perceived style unless the task is visual-authorized.

Constraints

  • No performance fixes from static reading alone.
  • No P0 macOS UI performance closure from click dispatch timing, screenshots, or Computer Use alone.
  • No acceptance of harness changes that write trace evidence to the main app database or remove the normal-app overhead gates.
  • No paid prompts, real service mutations, or production data during capture without explicit approval.
  • Missing physical/provider prerequisites are EXTERNAL PENDING.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Govern Clawix accessibility changes across screen reader behavior, keyboard navigation, focus order, contrast, reduced motion, text scaling, timed interactions, and agent-generated UI.

The English summary is being prepared. Showing the original description.

clawic/Clawix8Updated Jun 6, 2026

Review or update stable, canonical, any-human, PMF, and adoption claims using adoption/canonicity governance packets.

The English summary is being prepared. Showing the original description.

clawic/Clawix8Updated Jun 6, 2026

Turn a new or changed ADR into implemented behavior, routing docs, tests, and guardrails rather than leaving it as standalone prose.

The English summary is being prepared. Showing the original description.

clawic/Clawix8Updated Jun 6, 2026

Repair confirmed architecture drift in small batches while preserving public canon and avoiding broad opportunistic refactors.

The English summary is being prepared. Showing the original description.

clawic/Clawix8Updated Jun 6, 2026

Given an existing Style, generate a human-readable brand guidelines document covering colors, typography, voice, do/don't, imagery rules, and usage examples. Use when the user asks for a brand book, brand guide, or design system document.

The English summary is being prepared. Showing the original description.

clawic/Clawix8Updated Jun 6, 2026

Add or improve canonical data catalog collections, fields, aliases, relations, evidence tags, docs, and tests.

The English summary is being prepared. Showing the original description.

clawic/Clawix8Updated Jun 6, 2026

See all skills by clawic

Report a problem with this skill