game-quality-gates
Game development quality gates and mandatory checks. Activate when building, reviewing, debugging, or deploying any game project (H5/Canvas/WebGL/Phaser/Three.js/2D/3D). Covers state cleanup, lifecycle management, input handling, audio, persistence, networking, anti-cheat, and performance. Use as pre-deploy checklist or when diagnosing game-specific bugs (state leaks, phantom timers, buff conflicts, memory growth, touch issues).
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/abczsl520/game-quality-gatesWhat This Skill Does
The game-quality-gates skill serves as a comprehensive diagnostic and developmental framework for web-based games (Phaser, Three.js, H5, Canvas). It enforces the 12 Universal Rules of game development, targeting critical areas like lifecycle management, performance, and state consistency. By acting as a validator for your project, this skill helps identify 'phantom' bugs—those elusive issues arising from scene transitions, memory leaks, or improper timer management—ensuring your game remains stable across diverse device platforms.
Installation
Install this skill via the OpenClaw command-line interface to integrate the quality gates directly into your development workflow:
clawhub install openclaw/skills/skills/abczsl520/game-quality-gates
Use Cases
- Pre-Deployment Checklist: Verify that your asset cleanup and persistence logic are robust before releasing to production.
- Debugging Memory Leaks: Use the criteria to identify objects or event listeners that persist after scene transitions.
- State Management Audits: Review game loops to ensure buffs, timers, and input handling are properly synchronized and frame-rate independent.
- Mobile Optimization: Ensure audio lifecycle and touch input logic comply with mobile browser constraints like iOS autoplay restrictions.
Example Prompts
- 'Run a quality gate audit on my current Phaser scene to identify potential memory leaks and orphaned timers.'
- 'Analyze my current cleanup function for the player state to ensure it follows the Single Cleanup Entry Point rule.'
- 'Check my game loop implementation to see if it meets the Frame-Rate Independent Logic requirements for a consistent experience at both 30 and 60fps.'
Tips & Limitations
- The skill is most effective when applied at the architectural phase of your project. Applying it to a heavily matured, 'spaghetti-code' project may require significant refactoring.
- Always use Chrome DevTools Memory snapshots alongside this skill for verifying resource disposal.
- Remember that localStorage is limited to 5MB; if your save state exceeds this, use the IndexedDB advice provided in the skill documentation.
- Always prioritize testing on target mobile browsers (especially Safari/iOS and WeChat WebView) where audio and input quirks are most prevalent.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-abczsl520-game-quality-gates": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Related Skills
debug-methodology
Systematic debugging and problem-solving methodology. Activate when encountering unexpected errors, service failures, regression bugs, deployment issues, or when a fix attempt has failed twice. Also activate when proposing ANY fix to verify it addresses root cause (not a workaround). Prevents patch-chaining, wrong-environment restarts, workaround addiction, and "drunk man" random fixes.
memory-cn
OpenClaw + Ollama 中文记忆系统优化。诊断 FTS5 unicode61 中文分词 bug,优化搜索参数,自动维护记忆文件。命中率从 55% 提升到 100%。
bug-audit
Comprehensive bug audit for Node.js web projects. Activate when user asks to audit, review, check bugs, find vulnerabilities, or do security/quality review on a project. Works by dissecting the project's actual code to build project-specific check matrices, then exhaustively verifying each item — not by running a generic checklist. Supports games, data tools, WeChat apps, API services, bots, and dashboards.
nodejs-project-arch
Node.js project architecture standards for AI-assisted development. Enforces file splitting (<400 lines), config externalization, route modularization, and admin dashboards. Use when creating new Node.js projects, refactoring large single-file codebases, or when AI context window is being consumed by oversized files. Covers H5 games (Canvas/Phaser/Matter.js), data tools (crawlers/scrapers), content platforms, monitoring dashboards, API services, and SDK libraries.
codex-review
Three-tier code quality defense: L1 quick scan, L2 deep audit (via bug-audit), L3 cross-validation with adversarial testing. 三级代码质量防线。