Agent skill

2D Games

by xenitV1 in xenitV1/Antigravity-Workflows

2D game development principles. An agent skill from xenitV1/Antigravity-Workflows.

MITAuto-check passedGame Development

Install 2D Games

skills CLI
$ npx skills add xenitV1/Antigravity-Workflows --skill 2d-games -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xenitV1/Antigravity-Workflows 2d-games --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xenitV1/Antigravity-Workflows.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/game-development/2d-games .claude/skills/2d-games && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
2d-games
GitHub stars
130
Used in
7 other repos
Token cost
~547 tokens
SKILL.md length
196 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

2D game development principles. An agent skill from xenitV1/Antigravity-Workflows.

  • Works in 6 steps: Sprite Systems → Tilemap Design → 2D Physics → …
  • Tasks that involve Game development
  • SKILL.md covers 1. Sprite Systems, 2. Tilemap Design, 3. 2D Physics and 4. Camera Systems, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

2D Games is an agent skill from xenitV1/Antigravity-Workflows. 2D game development principles. Sprites, tilemaps, physics, camera.

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering Game development and Sprites and pixel art. The licence is MIT.

When your agent uses it

  • Tasks that involve Game development
  • Tasks that involve Sprites and pixel art

Example prompts

  • “/2d-games”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Sprite Systems
  2. Tilemap Design
  3. 2D Physics
  4. Camera Systems
  5. Genre Patterns
  6. Anti-Patterns

What it can do on your machine

Read from SKILL.md and the folder at commit f0a1fa7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

2D Games loads about 547 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 196 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~547

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from xenitV1/Antigravity-Workflows at commit f0a1fa7, republished under its MIT licence (© xenitV1). 196 words, ~547 tokens.

Download SKILL.mdSave it as .claude/skills/2d-games/SKILL.md (or your agent's skills folder).
name
2d-games
description
2D game development principles. Sprites, tilemaps, physics, camera.
allowed-tools
Read, Write, Edit, Glob, Grep

2D Game Development

Principles for 2D game systems.


1. Sprite Systems

Sprite Organization
ComponentPurpose
AtlasCombine textures, reduce draw calls
AnimationFrame sequences
PivotRotation/scale origin
LayeringZ-order control
Animation Principles
  • Frame rate: 8-24 FPS typical
  • Squash and stretch for impact
  • Anticipation before action
  • Follow-through after action

2. Tilemap Design

Tile Considerations
FactorRecommendation
Size16x16, 32x32, 64x64
Auto-tilingUse for terrain
CollisionSimplified shapes
Layers
LayerContent
BackgroundNon-interactive scenery
TerrainWalkable ground
PropsInteractive objects
ForegroundParallax overlay

3. 2D Physics

Collision Shapes
ShapeUse Case
BoxRectangular objects
CircleBalls, rounded
CapsuleCharacters
PolygonComplex shapes
Physics Considerations
  • Pixel-perfect vs physics-based
  • Fixed timestep for consistency
  • Layers for filtering

4. Camera Systems

Camera Types
TypeUse
FollowTrack player
Look-aheadAnticipate movement
Multi-targetTwo-player
Room-basedMetroidvania
Screen Shake
  • Short duration (50-200ms)
  • Diminishing intensity
  • Use sparingly

5. Genre Patterns

Platformer
  • Coyote time (leniency after edge)
  • Jump buffering
  • Variable jump height
Top-down
  • 8-directional or free movement
  • Aim-based or auto-aim
  • Consider rotation or not

6. Anti-Patterns

❌ Don't✅ Do
Separate texturesUse atlases
Complex collision shapesSimplified collision
Jittery cameraSmooth following
Pixel-perfect on physicsChoose one approach

Remember: 2D is about clarity. Every pixel should communicate.

© xenitV1, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/game-development/2d-games of xenitV1/Antigravity-Workflows.

Open the folder on GitHubat commit f0a1fa7

Used in 7 other repositories

We found 18 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in xenitV1/Antigravity-Workflows, which our catalogue first saw on October 7, 2026.

Compare with similar skills

2D Games next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

2D Games compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
2D Games this skillxenitV1/Antigravity-Workflows1307 repos~547Automated safety check: PassMIT
Sprite Genaldegad/sprite-gen2.6k—~4.5kAutomated safety check: PassApache-2.0
Asset Pipelinerehan-remade/universal-modder5.3k—~2kAutomated safety check: PassMIT
Spine AnimationGenielabsOpenSource/spine-animation-ai515—~17kAutomated safety check: PassCC-BY-NC-4.0
AI Game Art Pipelineybuild-ai/ai-game-art-pipeline-skill297—~1.1kAutomated safety check: PassMIT
Godot 2D Essentialsjame581/GodotPrompter795—~2.3kAutomated safety check: PassMIT

Similar skills

  • Sprite Gen

    aldegad/sprite-gen

    Generates images and game sprites through GPT or Grok with guided provider choices, separate saved defaults, automatic cleanup and optional curation.

    2.6k GitHub stars~4.5k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Asset Pipeline

    rehan-remade/universal-modder

    Turn generated or hand-made art into exactly what a game engine loads.

    5.3k GitHub stars~2k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Spine Animation

    GenielabsOpenSource/spine-animation-ai

    Create Spine 2D skeletal animations from pre-existing character assets (separated body-part PNGs, atlas spritesheet, or a full character image).

    515 GitHub stars~17k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed
  • AI Game Art Pipeline

    ybuild-ai/ai-game-art-pipeline-skill

    Provider-neutral open-source skill for planning and producing game-runtime art assets and animation: static props/icons, canonical character sheets, combat sprites, 3D/video motion references…

    297 GitHub stars~1.1k tokensUpdated 3 mo ago
    Game DevelopmentAuto-check passed
  • Godot 2D Essentials

    jame581/GodotPrompter

    Covers Godot 4.3+ 2D systems with GDScript and C# examples: canvas layers, draw order, TileMaps, parallax, lights and shadows, particles and custom drawing.

    795 GitHub stars~2.3k tokensUpdated 2 days ago
    Game DevelopmentAuto-check passed
  • Godot 3D World Building

    thedivergentai/GD-Agentic-Skills

    Expert patterns for 3D level design using GridMap with MeshLibrary, CSG constructive solid geometry, occlusion, and runtime GridMap builders.

    809 GitHub stars~3.3k tokensUpdated 29 days ago
    Game DevelopmentAuto-check passed

More from xenitV1/Antigravity-Workflows

All 42 skills in this repo
  • Bash Linux

    xenitV1/Antigravity-Workflows

    Bash/Linux terminal patterns. An agent skill from xenitV1/Antigravity-Workflows.

    130 GitHub starsUsed in 9 repos~1k tokens
    Auto-check: notes
  • Mobile Design

    xenitV1/Antigravity-Workflows

    Mobile-first design thinking and decision-making for iOS and Android apps.

    130 GitHub starsUsed in 2 repos~3.7k tokens
    Auto-check: notes
  • Parallel Agents

    xenitV1/Antigravity-Workflows

    Native multi-agent orchestration using Claude Code's Agent Tool.

    130 GitHub starsUsed in 9 repos~1.3k tokens
    Auto-check passed
  • Behavioral Modes

    xenitV1/Antigravity-Workflows

    AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate).

    130 GitHub starsUsed in 8 repos~1.3k tokens
    Auto-check passed
  • Performance Profiling

    xenitV1/Antigravity-Workflows

    Performance profiling principles. An agent skill from xenitV1/Antigravity-Workflows.

    130 GitHub starsUsed in 8 repos~772 tokens
    Auto-check: notes
  • Plan Writing

    xenitV1/Antigravity-Workflows

    Structured task planning with clear breakdowns, dependencies, and verification criteria.

    130 GitHub starsUsed in 8 repos~994 tokens
    Auto-check passed

Questions about 2D Games

What does 2D Games do?

2D game development principles. An agent skill from xenitV1/Antigravity-Workflows. 2D Games is an agent skill from xenitV1/Antigravity-Workflows. 2D game development principles.

When should I use 2D Games?

2D Games fits situations like: tasks that involve Game development; tasks that involve Sprites and pixel art.

How do I install 2D Games in Claude Code?

Run `npx skills add xenitV1/Antigravity-Workflows --skill 2d-games -a claude-code`. Or copy the skill folder (skills/game-development/2d-games in xenitV1/Antigravity-Workflows) into .claude/skills/2d-games in your project. Claude Code loads it when a task matches its description.

How do I install 2D Games in Codex?

Run `npx skills add xenitV1/Antigravity-Workflows --skill 2d-games -a codex`. Or copy the skill folder (skills/game-development/2d-games in xenitV1/Antigravity-Workflows) into .agents/skills/2d-games in your project. Codex loads it when a task matches its description.

Can I use 2D Games in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xenitV1/Antigravity-Workflows --skill 2d-games -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/2d-games, .gemini/skills/2d-games, .github/skills/2d-games and .opencode/skills/2d-games in your project.

What does 2D Games need to run?

SKILL.md names no scripts, command-line tools or credentials: 2D Games is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep.

Does 2D Games access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 2D Games safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 2D Games use?

2D Games is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 2D Games use?

About 547 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to 2D Games?

Skills that share tags, products or a category with 2D Games: Sprite Gen (aldegad/sprite-gen, 2.6k stars), Asset Pipeline (rehan-remade/universal-modder, 5.3k stars), Spine Animation (GenielabsOpenSource/spine-animation-ai, 515 stars) and AI Game Art Pipeline (ybuild-ai/ai-game-art-pipeline-skill, 297 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 2D Games?

xenitV1 (a GitHub user) maintains it in xenitV1/Antigravity-Workflows, which has 130 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on January 14, 2026.

Source: xenitV1/Antigravity-Workflows on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.