agentleFS
Google CloudKnown publisherGoogleCloudPlatform/devrel-demos/other/antigravity-arcade/games/.agents/skills/creating-a-game/SKILL.md

creating-a-game

Skill404 starsChanged 14 days agoApache-2.0View on GitHub

Guides the creation of a new game and is the high-level orchestrator skill that MUST be invoked first. Use when tasked with creating a new game.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow these steps FIRST when creating a new game:

    line 8
  2. Very specific:

    Use the run_command tool to copy the template:

    line 13
  3. Very specific:

    If a "platformer" game use building-platformer-games

    line 28
  4. Very specific:

    After every code edit you make, you MUST run the build command to ensure the game compiles successfully.

    line 31
  5. Very specific:

    Use the run_command tool to run the build:

    line 32
  6. Distinctive:

    Do not proceed to the next step or notify the user until compilation succeeds.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Creating a Game

Follow these steps FIRST when creating a new game:

  1. Setup Workspace: Copy the contents of the game-template directory recursively to a subfolder in the workspace with the name of the game as a folder-friendly name (e.g., my-game). Since node_modules are installed globally, you do not need to install dependencies. Use the run_command tool to copy the template:
    cp -r /workspace/game-template /workspace/<game-name>
  2. Develop the Game: Attempt to make the game using this newly copied folder as the base. Start modifying the source files to fulfill the user's game request.

    • Read the game files before starting to understand the setup
    • Use each of these agent skills when creating or modifying a game
      • messaging-game-over
      • ensuring-arcade-visuals
      • handling-user-input
      • improving-game-quality
      • adding-easter-egg
      • If a "platformer" game use building-platformer-games
  3. Validation Loop: After every code edit you make, you MUST run the build command to ensure the game compiles successfully. Use the run_command tool to run the build:
    cd /workspace/<game-name> && npm run build
    Do not proceed to the next step or notify the user until compilation succeeds. Fix any compilation errors you encounter.
  4. Play Testing: Once the user has made changes and wants to test them, execute the playing-the-game skill to start the server and launch the browser.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.