Skip to content
Back to skills

Game Debug

ASecurity

Find the root cause of a gameplay bug, crash, regression, desync or odd behaviour and apply the smallest correct fix with regression coverage. Use when the user reports a bug, pastes a log, stack trace or repro steps, or asks "why does X happen". Never fabricates a root cause - labels hypotheses when reproduction is impossible.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 20, 2026
development

Security analysis

A100/100

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

Scanned October 20, 2026

npx -y skills add ThiagoFdaSLopes/game-dev-skills --skill game-debug --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Game Debug?

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

Security grade badge for Game Debug
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thiagofdaslopes-game-debug/badge)](https://www.skillsdirectory.com/skills/thiagofdaslopes-game-debug)

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: game-debug
description: Find the root cause of a gameplay bug, crash, regression, desync or odd behaviour and apply the smallest correct fix with regression coverage. Use when the user reports a bug, pastes a log, stack trace or repro steps, or asks "why does X happen". Never fabricates a root cause - labels hypotheses when reproduction is impossible.
argument-hint: "[symptom, log, or repro steps]"
---

# game-debug

Reproduce, trace, isolate, fix at the smallest valid layer, prove it stays fixed.

Read before starting: `references/principles.md`, `references/project-profile.md` and the project profile itself, `references/question-format.md`. A fix follows `profile: Workflow` like any implementation; the checks to rerun are in `profile: Checks`.

## Process

1. **Symptom** - restate in one line what happens, what was expected, and the trigger. Pull engine version, platform and build config from the repo, not from the user.
2. **Reproduce** - run the repro if the environment allows (tests, headless mode, a scripted scene, a log replay). If it cannot be reproduced here, say so and continue with a labelled hypothesis.
3. **Trace** - follow execution and data flow from the trigger: input -> state -> systems -> output. Watch for the usual game suspects: frame-rate-dependent logic, order of update/fixed-update/physics ticks, event double-subscription, stale references across scene loads, serialization drift, float accumulation, authority mismatch in netcode.
4. **Isolate** - name the root cause with its evidence label. Distinguish *cause* from *where it shows up*.
5. **Fix** - the smallest change at the layer that owns the bug. Do not patch the symptom downstream.
6. **Cover** - add a regression test or a deterministic repro (unit, integration, play-mode, or a recorded input sequence) where the project supports it.
7. **Verify** - rerun the repro and the relevant tests. Report actual output.

## When reproduction is impossible

Give, in this order: the most likely cause (`inferred`), one or two alternatives, and the cheapest diagnostic for each (a log line, an assertion, a debug overlay, a bisect). Do not pick a cause and pretend it was confirmed.

## Fork

Ask one shared-format question only when two fixes imply different behaviour the user must choose (e.g. "clamp velocity" vs "reject the input"), or when the right behaviour is a pending item no recorded decision settles. Otherwise fix and note the alternative in Open risks.

## Closing

```
Root cause:    one line + evidence label + file:line
Fix:           files changed, what the change does
Verification:  repro result before/after, tests run and their output
Open risks:    related code paths not covered, hypotheses still open
```

## Never

- invent a root cause or a passing test
- fix three things while hunting one
- ask the user for facts in the logs or the repo

Files in this skill

  • SKILL.md2.8 KB
  • references/architecture-review.md2 KB
  • references/principles.md2.6 KB
  • references/project-profile.md5.6 KB
  • references/question-format.md4.4 KB
  • references/risk-register.md1.8 KB

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.

Comments

Loading comments…

Newsletter

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