remix-game-best-practices
Mobile-first game creation best practices for Remix
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Mobile-first game creation best practices for Remix
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate and add images to a Remix game
Generate and add sprites to a Remix game
Build and publish Remix games with the current Remix toolchain. Use when work touches the official Remix CLI, MCP server, REST publishing APIs, or the @remix-gg/sdk game runtime.
OpenAPI-first endpoint reference for Remix game publishing REST routes
Use the official Remix CLI for authentication, config inspection, game creation, uploads, and analytics. Trigger this skill when a task involves `remix login`, `remix whoami`, `.remix-cli.json`, `REMIX_API_KEY`, or terminal-based game management on Remix.
Quickstart for the official Remix MCP server. Use when configuring or operating `@remix-gg/mcp`, wiring MCP auth, or choosing the right Remix MCP tools and skill resources.
| name | remix-game-best-practices |
| description | Mobile-first game creation best practices for Remix |
720x1080 (2:3 aspect ratio).Include the SDK script in HTML <head>:
<script src="https://cdn.jsdelivr.net/npm/@remix-gg/sdk@latest/dist/index.min.js"></script>Use only the supported SDK APIs:
window.RemixSDK.singlePlayer.actions.saveGameState({ gameState: {...} })window.RemixSDK.singlePlayer.actions.gameOver({ score: number })window.RemixSDK.onPlayAgain(() => { ... })window.RemixSDK.onToggleMute((data) => { ... })window.RemixSDK.ready()window.RemixSDK.gameStatewindow.RemixSDK.hapticFeedback()localStorage.sessionStorage.navigator.vibrate(...).window.RemixSDK.vibrate(...).save, checkpoint, etc.).window.RemixSDK.singlePlayer.actions.gameOver({ score: finalScore })
window.RemixSDK.onPlayAgain(...).saveGameState.window.RemixSDK.gameState after await window.RemixSDK.ready().window.RemixSDK.hapticFeedback() for collisions, scoring, UI interactions, and game over.onToggleMute state for all game audio.Phaser (no imports).preload, create, update).parent in Phaser.Game config.THREE and CANNON (no imports).requestAnimationFrame loop.import statements.initGame() and call it at the end of the file.Before finalizing a game, verify:
720x1080).gameOver, onPlayAgain, onToggleMute).onPlayAgain.