remix-game-creation
Create a new game draft via the Remix API
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a new game draft via the Remix API
التثبيت باستخدام 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-creation |
| description | Create a new game draft via the Remix API |
This skill guides you through creating a new HTML game on the Remix platform.
REMIX_API_KEY environment variable must be set.width: 100vw; height: 100vh
on the game container. No scrollbars, no overflow.Decide on the game concept, mechanics, and visual style. Keep scope small -- a single-file HTML game should be playable in under 30 seconds.
Create a single HTML file with inline <style> and <script> tags. Structure:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Game Title</title>
<script src="https://cdn.jsdelivr.net/npm/@remix-gg/sdk@latest/dist/index.min.js"></script>
<style>
/* Game styles can go here */
</style>
</head>
<body>
<!-- Game markup can go here -->
<script>
// Game logic here
</script>
</body>
</html>
window.RemixSDK.singlePlayer.actions.gameOver({ score }) -- Call when the game
ends, passing the player's final score as { score: number }. This reports
the score to the platform.
window.RemixSDK.onPlayAgain(callback) -- Register a callback (no arguments)
that fires when the player requests to play again. The callback should reset
game state and restart the game.
window.RemixSDK.onToggleMute(callback) -- Register a callback that receives
{ isMuted: boolean }. The game must mute or unmute all audio based on the
isMuted value.
Before uploading, read the HTML file and verify:
<!DOCTYPE html> declaration<meta name="viewport" ...> tag<script src="https://cdn.jsdelivr.net/npm/@remix-gg/sdk@latest/dist/index.min.js"></script>@farcade/game-sdk script tagsinglePlayer.actions.gameOver( OR multiplayer.actions.gameOver( (not both).onPlayAgain( callback.onToggleMute( callbacklocalStorage or sessionStorage usageonclick=, onload=, etc.)Fix any issues before proceeding.
Follow the upload-game workflow to create the game on the Remix platform and deploy your HTML code.
requestAnimationFrame for game loops, not setInterval.