programming-architecture — Claude Code skill for game architecture
The programming-architecture skill guides game-system architecture with patterns for states, events, and commands. Use it when gameplay logic is growing harder to organize or test.
LicenseRef-Proprietary 110 installs ★ 56 updated 2026-01-05
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill programming-architecture -a claude-codeWhat programming-architecture does
The skill gives C# examples of a state machine for characters and game flow, an object pool for bullets and particles, events for UI updates and damage notifications, and commands that can undo actions. It also divides a game project into game and engine layers, with managers, systems, and components inside the game layer.
For system boundaries, it recommends dependency injection and event-based communication instead of direct references. It also covers separating logic from MonoBehaviour, using interfaces for dependencies, and writing pure functions that are easier to test. The examples use C# and Unity APIs, so projects on another stack will need adapted implementations.
What it helps with
- model character behavior as distinct states
- reuse objects for bullets and particles
- notify the UI when game events change
- support undo through command objects
- make game systems easier to test
Example prompts for the agent
- Design a C# state machine for my character and show how it switches between states.
- Suggest an event setup for updating the score and health UI.
- Separate this game logic from
MonoBehaviourso I can test it.
How to install programming-architecture
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill programming-architecture -a claude-code2Manually: put the files in place
~/.claude/skills/programming-architecture/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/programming-architecture/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill programming-architecture -a codex2Manually: put the files in place
.agents/skills/programming-architecture/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill programming-architecture -a cursor2Manually: put the files in place
.cursor/skills/programming-architecture/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pluginagentmarketplace/custom-plugin-game-developer skills/programming-architecture2Manually: put the files in place
.github/skills/programming-architecture/SKILL.md1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill programming-architecture -a gemini-cli2Platform CLI
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-game-developer --path skills/programming-architectureManually: put the files in place
.devin/skills/programming-architecture/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill programming-architecture -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about programming-architecture
How do I install programming-architecture in Claude Code?
Run npx skills add pluginagentmarketplace/custom-plugin-game-developer --skill programming-architecture -a claude-code. The skill file is placed at ~/.claude/skills/programming-architecture/SKILL.md.
What does programming-architecture do?
It helps structure game systems with patterns for state changes, events, object reuse, and reversible actions. It also offers guidance on reducing direct dependencies and making systems testable.
What stack do the programming-architecture examples use?
The examples are written in C# and use Unity APIs such as MonoBehaviour, Transform, and GameObject. They need adapting for another engine or language.