Skip to content
Back to skills

Game Architecture

ASecurity

Design or review a game codebase when choosing architecture, deciding which modules to share across games, separating simulation from rendering, choosing ECS or scene composition, or changing save, replay, or multiplayer boundaries. Apply to new designs and refactors where ownership, dependencies, or compatibility are the main decision.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add neotherapper/claude-plugins --skill game-architecture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Game Architecture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Game Architecture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neotherapper-game-architecture/badge)](https://www.skillsdirectory.com/skills/neotherapper-game-architecture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: game-architecture
description: Design or review a game codebase when choosing architecture, deciding which modules to share across games, separating simulation from rendering, choosing ECS or scene composition, or changing save, replay, or multiplayer boundaries. Apply to new designs and refactors where ownership, dependencies, or compatibility are the main decision.
---

# Game architecture

> Paths in this skill are relative to the folder that contains this SKILL.md. Resolve them to absolute paths before reading a file or running a script.

1. **Trace a real player action.** Find the normal entry point and follow input through rule validation, state changes, presentation, and persistence. Name the owner of authoritative state, update order, time and randomness. Cite code paths, active consumers, and existing tests. For a new design or unavailable source, draw the intended trace, label assumptions, and make a provisional decision.
2. **Choose the smallest useful boundary.** Prefer the existing engine's composition for presentation and an explicit rules entry point where a game needs headless tests, replays, or an authoritative server. Use [architecture choices](references/architecture-choices.md) for scene composition, fixed ticks, data-oriented systems, multiplayer or workers. For an ECS, engine rewrite, or new shared runtime, name the measured bottleneck or missing capability and compare a smaller change on the same workload.
3. **Prove what can be reused.** Identify existing callers and compare behavior, dependencies, lifecycle, and failure cases. For an extraction across games, show two real consumers that can use one narrow contract and keep each game's policies local. With one consumer, keep the seam local until a second consumer or a stated external API justifies packaging. See [reuse and compatibility checks](references/reuse-and-compatibility.md) for choosing a package boundary and preserving saves and replays.
4. **Verify the decision through the game.** For an implementation, test the smallest real slice in each affected game. Run relevant old-save loads, replay fixtures, and headless rule tests. Where the boundary affects presentation, storage, workers, or networking, exercise that adapter through the normal runtime. Record exact commands, fixtures, observed results, and missing coverage. For research or design, identify which tests would decide the proposed change.

Return the current dependency and state-ownership map, the proposed seam or architecture, its consumers and trade-offs, and the compatibility evidence. Route isolated frame timing to `game-performance`, real-input acceptance to `game-playtest`, and release readiness to `game-production` when available.

Files in this skill

  • SKILL.md2.7 KB
  • references/architecture-choices.md4.2 KB
  • references/reuse-and-compatibility.md3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.