Skip to content
Back to skills

Optimize Web Motion

ASecurity

Profile and reduce the CPU, GPU, memory, and lifecycle cost of browser animation, canvas, WebGL, timers, listeners, and observers. Use for jank, high power use, long-session slowdown, offscreen work, memory growth, or motion regressions that require measured fixes.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
designrailsapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add TimothyMeadows/Hephaera --skill optimize-web-motion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Optimize Web Motion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Optimize Web Motion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/timothymeadows-optimize-web-motion/badge)](https://www.skillsdirectory.com/skills/timothymeadows-optimize-web-motion)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: optimize-web-motion
description: Profile and reduce the CPU, GPU, memory, and lifecycle cost of browser animation, canvas, WebGL, timers, listeners, and observers. Use for jank, high power use, long-session slowdown, offscreen work, memory growth, or motion regressions that require measured fixes.
engines: [AGNOSTIC]
---

# Optimize Web Motion

## When to use

- A page slows down during scrolling or over time.
- Animations continue while hidden or offscreen.
- A canvas or WebGL feature exceeds its performance budget.

## Workflow

1. Inventory every animation loop, timer, listener, observer, canvas, renderer, and dynamically allocated resource.
2. Establish a repeatable route, viewport, input sequence, duration, and baseline metrics.
3. Identify whether the limit is main-thread work, layout, paint, GPU, memory, or uncontrolled lifetime.
4. Apply low-risk fixes first: pause offscreen work, reduce update rates, reuse allocations, batch reads and writes, and clean up ownership.
5. Respect reduced motion and background-tab visibility.
6. Repeat the baseline and add regression thresholds for the fixed behavior.

## Output

- A motion-runtime inventory.
- Before-and-after evidence with the limiting resource identified.
- Fix summary, regression guard, and residual risk.

## Guardrails

- Do not remove meaningful feedback solely to improve a score.
- Do not claim a performance improvement without comparable measurements.
- Do not hide leaked ownership by forcing periodic reloads.

## Engine and feedback budgets

Resolve ENGINE.md and compatible feature skills before engine APIs. Declare target device, build, frame/CPU/GPU/memory/loading budgets and measurement windows; do not impose universal 60 FPS. Measure representative UI layout, HUD lifecycle, overlapping effects and shader/audio/haptic requests, including disabled accessibility settings and interruption. Browser profiling requires a browser build; native engines need native tooling. Feedback cannot determine authoritative outcomes and physical haptics require hardware evidence.

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml233 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.