# Performance Craft

> Performance Craft

- Skill: `jangles-byte/performance-craft` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add jangles-byte/performance-craft`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jangles-byte/performance-craft/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jangles-byte (https://skillmd.com/u/jangles-byte)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jangles-byte/performance-craft

---


# Performance Craft

A dropped frame is a design defect the user feels before they can name it. This
skill treats the frame budget as a design material: know the budget, spend it on
what the philosophy values, and degrade in the order that does the least visual
damage.

## The budget

Frame time = 1000 / refresh rate: **8.3ms at 120Hz, 16.6ms at 60Hz** — minus the
platform's own compositing overhead. Design for the *display the audience has*:
ProMotion phones and most gaming displays are 120Hz; never hardcode 60. Measure
before and after any motion work — profilers, not vibes (DevTools Performance /
Instruments' Animation Hitches / engine profilers).

## Which reference to load

| Situation | Load |
|---|---|
| Web: CSS/JS/canvas/WebGL animation, scroll jank, layout thrash | `references/web-rendering.md` |
| Apple: SwiftUI/UIKit hitches, Metal, ProMotion, battery/thermals | `references/apple-silicon.md` |
| Game engines, particles at scale, and the degradation ladder | `references/budgets-and-degradation.md` |

## Non-negotiables

- Animate compositor-friendly properties (transform, opacity — and their platform
  equivalents) unless a measured reason says otherwise.
- Timing from delta-time or the platform's frame callback, never a hardcoded
  1/60 assumption.
- Always-on ambient animation must be provably cheap: paused off-screen, GPU-only,
  and off the performance cores / not preventing CPU idle.
- `prefers-reduced-motion` (and platform equivalents) is also the low-power path —
  wire them together.
- When the budget is blown, cut by the degradation ladder — never ship the stutter,
  and never fix it by cutting the design's primary feedback motion first.

