Skip to content
Back to skills

Perf Pass

ASecurity

Investigate and fix performance problems (low FPS, hitches, memory growth, slow loads). Use when the user mentions lag, stutter, frame drops, or high memory. Measures first, fixes the top offender, remeasures.

  • 30 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
developmentpythongoperformance

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add Er2oneousbit/claude-code-game-kit --skill perf-pass --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Perf Pass?

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

Security grade badge for Perf Pass
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/er2oneousbit-perf-pass/badge)](https://www.skillsdirectory.com/skills/er2oneousbit-perf-pass)

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: perf-pass
description: Investigate and fix performance problems (low FPS, hitches, memory growth, slow loads). Use when the user mentions lag, stutter, frame drops, or high memory. Measures first, fixes the top offender, remeasures.
---

# Performance pass

Follow `docs/sop/SOP-10-performance.md`. Engine profiler instructions are in `docs/ENGINE_FLOW.md`.

1. Confirm the budget in `docs/ARCHITECTURE.md` (target FPS, min spec). Missing? Ask, then record it.
2. Get a **baseline**: which scene or level, build type, hardware, numbers (avg and worst frame time). Ask the user to run the profiler if it needs the editor UI. Tell them exactly which panel and which numbers to capture.
3. Identify the single biggest contributor. Do not guess. If the data is not available, add instrumentation (frame-time log, counters) first.
4. Propose one fix and the expected effect. Make that one change.
5. Remeasure with the same scene and hardware. Record before and after.
6. Repeat until the budget is met. Then stop. No speculative optimization.
7. Add a guard: `python tools/dev.py smoke` prints the run's frame times (mean, p95, p99, worst) on every engine that
   measures them; put a number in the `Smoke frame time` row of `docs/ARCHITECTURE.md` (or pass `--frame-budget MS`)
   and smoke fails when the p95 goes over it. Read the mode it prints: `logic` (headless, nothing drawn) and `software`
   (drawn on the CPU) are not GPU budgets. A stress scene the smoke loads makes the guard bite.
8. Record the result in the `docs/ARCHITECTURE.md` Budgets table ("Measured on" and "Last measured"), in the commit message when a commit is requested, and, if it was a trap, in `docs/TROUBLESHOOTING.md`.

Warn when measurements come from an editor or debug build. Those are not release truth.

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 development →

Comments

Loading comments…

Newsletter

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