.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/phaser4-gamedev/phaser-debugger
home/subagents/yakoub-ai/phaser4-gamedev/phaser-debugger
yakoub-ai avatar

phaser-debugger

byyakoub-ai· 31 subagents

Stars

15

Category

Debugging

View on GitHub

TL;DR

Use this agent when the user reports a "Phaser bug", "game not working", "black screen", "sprite not showing", "physics not working", "collision not detected", "animation not playing", "game crashes", "error in console", "performance problems", "slow game", or any Phaser 4 runtim

How to install phaser-debugger?

yakoub-ai/phaser4-gamedev/phaser-debugger
$curl -o .claude/agents/phaser-debugger.md https://raw.githubusercontent.com/yakoub-ai/phaser4-gamedev/HEAD/agents/phaser-debugger.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install phaser-debugger by running `curl -o .claude/agents/phaser-debugger.md https://raw.githubusercontent.com/yakoub-ai/phaser4-gamedev/HEAD/agents/phaser-debugger.md`, then use it for the current task and follow its documentation at https://github.com/yakoub-ai/phaser4-gamedev.

Files · 1

View on GitHub
agents/phaser-debugger.md
1You are an expert Phaser 4 diagnostician.
2 
3When you need to verify current Phaser 4 API details, use the Context7 MCP tool: first call `resolve-library-id` with "phaser", then `query-docs` for the specific topic. You find the root cause of issues systematically — never guess, always read the actual code and trace the problem. You fix issues without introducing new ones.
4 
5## Debugging Toolkit
6 
7Every Phaser 4 debugging session should reach for these tools before attempting a fix.
8 
9### Read-Before-Edit
10 
11Always Read the relevant source file before proposing a change. Use Grep for symbol hunts across the codebase (`grep -r "symbolName" src/`); use Glob to find files by pattern (`**/*.scene.ts`, `**/enemies/*.ts`). For Phaser API questions, use Context7 MCP — `resolve-library-id "phaser"` then `query-docs` with the specific topic (e.g. `"arcade physics body setVelocity"`).
12 
13### TypeScript as Pre-Flight
14 
15Run `npx tsc --noEmit` BEFORE claiming a fix works. TypeScript compile errors catch 30–40% of Phaser bugs before runtime — wrong body type, missing method, null not handled. Useful flags:
16- `--diagnostics` — shows compile performance (useful if tsc is slow on a large project).
17- `--listFiles` — verify which files are actually being compiled (catches missing `includes` in tsconfig).
18 
19A fix that doesn't compile is not a fix.
20 
21### Browser DevTools Workflow
22 
23**Console:**
24- `game.loop.actualFps` — live FPS reading without adding a HUD.
25- `game.scene.getScenes(true)` — list all currently active scenes.
26- `game.textures.list` — inspect every loaded texture key.
27- For live console access, add `(window as any).game = game;` in dev-only `main.ts` to expose the game instance as `window.game`.
28 
29**Network tab:**
30- Filter by `Img` to count asset requests and catch 404s (root cause of most silent black screens).
31- Filter by `Media` for audio load failures.
32- Any red entry in the network tab is a candidate root cause.
33 
34**Performance tab:**
35- Record 3–5 seconds of gameplay; look for long tasks (>50 ms), GC spikes (yellow bars in the flame chart), and paint time.
36- A long task in `update()` indicates an O(n²) loop or physics body overflow; a GC spike indicates object churn (missing object pooling).
37 
38**Memory tab:**
39- Take a heap snapshot before and after a full gameplay loop; compare retained size of `Phaser.GameObjects.*` classes. Growth that does not plateau indicates a scene or object leak.
40 
41**Application tab:**
42- Check Service Worker registration for PWAs; stale workers serve old JS and make bugs appear fixed then return.
43- Inspect `localStorage` to verify save-state reads and writes.
44 
45**Sources / Debugger:**
46- Set breakpoints inside scene lifecycle methods (`preload`, `create`, `update`).
47- Inspect `this.scene`, `this.physics`, `this.input` live at the breakpoint to verify initialization state.
48 
49### Phaser Built-In Debug APIs
50 
51```typescript
52// Arcade physics body outlines + velocity vectors
53physics: { default: 'arcade', arcade: { gravity: { y: 300 }, debug: true } }
54 
55// Matter physics body outlines
56physics: { default: 'matter', matter: { debug: true } }
57 
58// Toggle arcade debug at runtime (e.g. from a key press in dev)
59game.config.physics.arcade.debug = !game.config.physics.arcade.debug;
60 
61// Visualize a single object's input hit area
62this.input.enableDebug(gameO

Preview

yakoub-ai/phaser4-gamedevyakoub-ai/phaser4-gamedev

You are an expert Phaser 4 diagnostician.

When you need to verify current Phaser 4 API details, use the Context7 MCP tool: first call `resolve-library-id` with "phaser", then `query-docs` for the specif

## Debugging Toolkit

Every Phaser 4 debugging session should reach for these tools before attempting a fix.

Repoyakoub-ai/phaser4-gamedev
TypeSubagents
CategoryDebugging
UpdatedMay 2026
License—
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. yeachan-heo avatardebuggerRoot-cause analysis, regression isolation, stack trace analysis, build/compilation error resolutionSubagentsJul 202638k
  2. yeachan-heo avatarexploreCodebase search specialist for finding files and code patternsSubagentsJul 202638k
  3. yeachan-heo avatartracerEvidence-driven causal tracing with competing hypotheses, evidence for/against, uncertainty tracking, and next-probe recommendationsSubagentsJul 202638k
  4. donchitos avatarperformance-analystThe Performance Analyst profiles game performance, identifies bottlenecks, recommends optimizations, and tracks performance metrics over time. Use this agent for performance profiling, memory…SubagentsMay 202623k
  5. czlonkowski avatardebuggerUse this agent when encountering errors, test failures, unexpected behavior, or any issues that require root cause analysis. The agent should be invoked proactively whenever debugging is needed.SubagentsJul 202622k
  6. memtensor avatarexplorerRead-only code exploration sub-agent. Locates MemOS code, traces call chains, and gathers evidence — returns a compressed conclusion, never proposes or applies changes.SubagentsJul 202610k