game-generation-guidelines

Define coding guidelines for generating multiplayer 2D games with bitECS and Colyseus.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/Kadajett/SDR --skill game-generation-guidelines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: game-generation-guidelines
Source: https://github.com/Kadajett/SDR/tree/main/.claude/skills/game-generation-guidelines
Command: npx skills add https://github.com/Kadajett/SDR --skill game-generation-guidelines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides the essential coding rules and constraints for an AI (Claude) to generate functional, fun, and multiplayer-ready 2D games within a specific framework.

Core Features & Use Cases

  • Defines Game Structure: Outlines the required file structure (client/game.ts, server/room.ts, assets.json, metadata.json).
  • Enforces API Usage: Specifies how to use the @sdr/engine and bitECS libraries for game logic, input, and state management.
  • Mandates Multiplayer: Ensures all generated games are designed for 2-5 players with clear win/lose conditions and graceful handling of player joins/leaves.
  • Asset Management: Restricts asset usage to a predefined catalog and sets limits on asset count.
  • Use Case: An AI developer uses these guidelines to ensure that every game it generates adheres to the technical and design standards of the Steam Deck Randomizer project, guaranteeing compatibility and a consistent player experience.

Quick Start

Follow these guidelines to code a new multiplayer game for the randomizer system.

Frequently Asked Questions about game-generation-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a multiplayer 2D game with AI using TypeScript?

To generate a multiplayer 2D game with AI, you need strict coding guidelines that define the required file structure, ECS patterns with bitECS, and multiplayer state sync to ensure deterministic game generation.

What file structure does an AI need to follow for multiplayer game generation?

AI multiplayer game generation requires a specific file structure including client/game.ts, server/room.ts, assets.json, and metadata.json to guarantee compatibility and a consistent player experience.

Does AI generated game code need Colyseus for multiplayer state sync?

Colyseus is used for multiplayer state sync. The coding rules ensure all generated games handle 2-5 players with clear win/lose conditions and graceful management of player joins and leaves.

What are the asset constraints for AI generated 2D games?

Asset constraints restrict usage to a predefined catalog with set limits on asset count. This ensures generated games adhere to the technical and design standards of the project.

Can I use these game development coding guidelines for single player games?

No, these coding guidelines mandate multiplayer design. They ensure all generated 2D games are specifically structured for 2-5 players with clear win/lose conditions and graceful handling of player joins and leaves.