.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/skills/yakoub-ai/phaser4-gamedev/phaser-debugger
yakoub-ai avatar

phaser-debugger

byyakoub-ai· 42 skills

Stars

15

Category

Other

View on GitHub

TL;DR

This skill should be used when the user reports a Phaser 4 bug, black screen, missing sprite, failed collision, broken physics, animation issue, crash, console error, performance problem, slow game, save/load issue, mobile runtime issue, or unexpected gameplay behavior.

How to install phaser-debugger?

yakoub-ai/phaser4-gamedev/phaser-debugger
$npx -y skills add yakoub-ai/phaser4-gamedev --skill phaser-debugger

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/yakoub-ai/phaser4-gamedev" --skill "yakoub-ai/phaser4-gamedev/phaser-debugger"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/yakoub-ai/phaser4-gamedev" that are relevant to the current task. Run `npx skills add "https://github.com/yakoub-ai/phaser4-gamedev"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.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

$ npx -y skills add yakoub-ai/phaser4-gamedev --skill phaser-debugger

▸ installing to .claude/skills…

✓ phaser-debugger ready

Repoyakoub-ai/phaser4-gamedev
TypeSkills
CategoryOther
UpdatedMay 2026
License—
First seenJul 27, 2026

Tags

Skill

Related

6 picks
Type
  1. pilioai avatargpt-image-2Create or edit images with Pilio GPT Image 2 through the unified Pilio developer API.SkillsJul 202620k42
  2. warpdotdev avatarspec-driven-implementationDrive a spec-first workflow for substantial features by writing PRODUCT.md before implementation, writing TECH.md when warranted, and keeping both specs…SkillsJul 202617k148
  3. warpdotdev avatarreview-prReview a pull request diff and write structured feedback to review.json for the workflow to publish.SkillsJul 202617k148
  4. warpdotdev avatarwrite-product-specWrite a PRODUCT.md spec for a significant user-facing feature in Warp, focused on detailed behavior and validation.SkillsJul 202616k148
  5. warpdotdev avatarwrite-tech-specWrite a TECH.md spec for a significant Warp feature after researching the current codebase and implementation constraints.SkillsJul 202616k148
  6. warpdotdev avatarfix-errorsFix compilation errors, linting issues, and test failures in the warp Rust codebase. Covers presubmit checks, WASM-specific errors, and running specific tests.SkillsJul 202616k148