Skip to content
Back to skills

Optimize Web Games

ASecurity

Measure and improve web-game CPU, GPU, memory, loading, input, rendering, and mobile behavior using repeatable scenes and explicit budgets. Use for frame drops, thermal cost, long-session degradation, oversized assets, touch issues, or release performance gates.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • 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-games --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Optimize Web Games?

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

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

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-games
description: Measure and improve web-game CPU, GPU, memory, loading, input, rendering, and mobile behavior using repeatable scenes and explicit budgets. Use for frame drops, thermal cost, long-session degradation, oversized assets, touch issues, or release performance gates.
engines: [AGNOSTIC]
---

# Optimize Web Games

## When to use

- A browser game misses frame or input-latency targets.
- A scene performs differently across desktop and mobile.
- A regression requires a stable performance fixture.

## Workflow

1. Choose a deterministic scene, content seed, camera path, input sequence, device class, and measurement duration.
2. Measure frame timing, long tasks, draw calls, triangles, texture memory, allocations, garbage collection, loading, and input delay as supported.
3. Diagnose whether the limit is simulation, main-thread integration, rendering, assets, memory, or device input.
4. Apply low-risk changes first: visibility culling, pooled objects, bounded updates, asset budgets, shared resources, and reduced pixel cost.
5. Verify touch controls, safe areas, responsive HUD, background pause, context loss, and long-session cleanup.
6. Repeat the fixture and record regression thresholds.

## Output

- A repeatable performance fixture and budget table.
- Before-and-after measurements with the limiting subsystem.
- Remediation, device tradeoffs, and regression protection.

## References

- Read `skills/build-gameplay-runtime/references/bounded-world-work.md` in the resolved Hephaera baseline (`.hephaera/skills/build-gameplay-runtime/references/bounded-world-work.md` from an installed host's root) when measurements justify optional indexing, cooperative scheduling, pools, or streaming. Keep correctness, response latency, memory, and existing selected-engine ownership in the acceptance criteria.

## Guardrails

- Do not reduce gameplay readability to meet a frame target without design review.
- Do not compare different scenes or device states as if they were equivalent.
- Do not hide leaks behind periodic scene 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.6 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.