Skip to content
Conduit

skill

game-quality-gates

๐ŸŽฎ Game dev quality gates โ€” 12 universal rules + Phaser/Three.js guides + anti-cheat patterns + pre-deploy checklist. Born from fixing 70+ real bugs. OpenClaw Agent Skill.

abczsl520/game-quality-gatescommunitylistedunreviewed

Set up

Skills are installed by placing their folder where your agent loads skills.

The download comes from github.com/abczsl520/game-quality-gates itself, not from our server, so what you get is exactly what its author published.

Install instructions come from the README

Skills do not use an MCP config. Follow the steps in the README below.

README

synced Oct 17, 2026

๐ŸŽฎ Game Quality Gates

Stop shipping games with phantom timers, memory leaks, and double-spend exploits. A battle-tested quality standard for H5/Canvas/WebGL games.

ClawHub License: MIT Wiki OpenClaw Skill


๐Ÿ’€ The Problem

Every feature works fine alone. They break in combination:

Feature A+ Feature B= Bug
Slow powerupPaddle collisionSpeed value overwritten
Multi-ballMain ball deathOrphan sub-balls still scoring
Power-up fallingPlayer diesGhost objects after game over
Game overBuff timersPhantom timer modifies destroyed object ๐Ÿ’ฅ

These aren't edge cases โ€” they're the #1 cause of game bugs. After fixing 70+ of these bugs in production H5 games, we encoded the prevention patterns into 12 universal rules.

๐Ÿ“‹ The 12 Universal Rules

#RulePrevents
1๐Ÿ”„ Single Cleanup Entry Point"Fixed in A, forgot in B"
2โšก Respect Active BuffsBuff silently overwritten
3๐Ÿ“ฆ Cache Before DestroyReading dead object props
4โฐ Timers Follow LifecyclePhantom timers after game over
5๐Ÿ–ฅ๏ธ Frame-Rate Independent30fps device = half speed
6๐Ÿšช Scene Switch = Full CleanupMemory grows per restart
7๐Ÿ”Š Audio LifecycleiOS silent, background still playing
8๐Ÿ‘† Input SafetyDouble-buy, rapid-fire exploits
9๐Ÿ’พ Save State VersioningBroken saves after update
10๐ŸŒ Network Fault ToleranceGame freezes on bad network
11๐Ÿ“ฆ Asset Loading StrategyWhite screen, missing textures
12๐Ÿ›ก๏ธ Anti-Cheat BaselineScore injection, payment bypass

๐Ÿ‘‰ Read full details in the Wiki โ†’

๐ŸŽฏ Engine-Specific Guides

Phaser 3 (Arcade Physics)

  • Multi-touch pointer.id tracking (the finger-swap bug)
  • physics.pause() โ‰  time pause (the phantom timer gotcha)
  • OVERLAP_BIAS tuning (3-4 recommended)
  • Physics group clear(true, true) between levels

Three.js (WebGL/3D)

  • The dispose trio: geometry + material + texture (VRAM leak prevention)
  • GLB compression pipeline: 14MB โ†’ 800KB (94% reduction)
  • gltf-transform prune Skin deletion pitfall on rigged models
  • Animation crossfade state machine

Anti-Cheat

  • One-time raid tokens (link start โ†’ submit)
  • Duration + score sanity checks
  • Atomic purchase endpoints (no split deduct/grant)

โšก Install

OpenClaw users:

clawhub install game-quality-gates

Manual:

git clone https://github.com/abczsl520/game-quality-gates.git ~/.openclaw/skills/game-quality-gates

Not using OpenClaw? The wiki is pure knowledge โ€” useful for any game developer. Just read the docs.

โœ… Pre-Deploy Checklist (Quick)

๐Ÿ”ด Universal (every game)
  โ–ก New objects in cleanupGameState()?
  โ–ก New timers cancelled in cleanup?
  โ–ก Buffs respected when modifying attributes?
  โ–ก Data cached before destroy()?
  โ–ก Delta time used for movement?
  โ–ก No memory leaks across scenes?
  โ–ก Audio pauses on background?
  โ–ก Purchase has click-lock?
  โ–ก Saves have version + migration?
  โ–ก Network has timeout + fallback?
  โ–ก Asset failure degrades gracefully?
  โ–ก Critical ops server-validated?

๐ŸŸก Mobile: multi-touch IDs, iOS audio resume, WeChat WebView compat
๐Ÿ”ต Phaser: clear(true,true), OVERLAP_BIAS, time+physics pause sync
๐ŸŸฃ Three.js: dispose trio, Draco loader, fadeIn/fadeOut transitions

๐Ÿ‘‰ Full checklist with details โ†’

๐Ÿ“š Documentation

๐Ÿ“– Full Wiki โ†’

PageWhat You'll Learn
Universal RulesThe 12 core rules with code examples
Phaser GuidePhaser 3 specific patterns
Three.js GuideWebGL/3D specific patterns
Anti-Cheat PatternsServer-side validation
Pre-Deploy ChecklistCopy-paste before every release
Real Bug ExamplesActual production bugs & fixes
InstallationSetup guide

๐Ÿ“ Skill Structure

game-quality-gates/
โ”œโ”€โ”€ SKILL.md                    # 12 rules + checklists (auto-loaded by OpenClaw)
โ””โ”€โ”€ references/
    โ”œโ”€โ”€ phaser.md               # Phaser-specific (loaded on demand)
    โ”œโ”€โ”€ threejs.md              # Three.js-specific (loaded on demand)
    โ””โ”€โ”€ anti-cheat.md           # Anti-cheat patterns (loaded on demand)

๐Ÿ“Š Origin

  • Source: Pixel Bounce (ๅƒ็ด ๅผน็ƒ็Ž‹) โ€” 70+ bugs across 10 audit rounds
  • Source: Tripo 3D Demo (ๆŸฏๅŸบ่ท‘้…ท3D) โ€” GLB compression + animation
  • References: Phaser forum best practices, Three.js dispose docs, web game anti-cheat literature (2024-2025)

๐Ÿ”— Related

๐Ÿ”— Part of the AI Dev Quality Suite

SkillPurposeInstall
bug-auditDynamic bug hunting, 200+ pitfall patternsclawhub install bug-audit
codex-reviewThree-tier code review with adversarial testingclawhub install codex-review
debug-methodologyRoot-cause debugging, prevents patch-chainingclawhub install debug-methodology
nodejs-project-archAI-friendly architecture, 70-93% token savingsclawhub install nodejs-project-arch
game-quality-gates (this)12 universal game dev quality checksclawhub install game-quality-gates

๐Ÿค Contributing

Found a missing pattern? Have engine-specific rules for PixiJS, Babylon.js, or Unity WebGL? Open an issue or submit a PR!

๐Ÿ“„ License

MIT โ€” Use freely, attribution appreciated.


โ†‘โ†“ navigate openesc close