agentleFS
AlterLab-IEUAlterLab-IEU/AlterLab_GameForge/CLAUDE.md

AlterLab_GameForge

CLAUDE.md44 starsChanged 8 months agoMITView on GitHub

AlterLab GameForge is a collection of 34 production-grade Claude AI skills purpose-built for indie game development. The skills are organized into three categories: Additionally, 2 genre packs (Roguelike, Narrative) provide genre-specific reference material. Every skill is grounded in established game design theory (MDA Framework, Self-Determination Theory, Flow Theory, Bartle's Player Types) and delivers structured, actionable output. All skills reference a common knowledge base. These docs provide the theoretical and procedural foundation: Always check these docs before answering game development questions.…

The file

We split this CLAUDE.md into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every skill is grounded in established game design theory (MDA Framework, Self-Determination Theory, Flow Theory, Bartle's Player Types) …

    line 13
  2. Distinctive:

    All skills reference a common knowledge base.

    line 17
  3. Distinctive:

    Always check these docs before answering game development questions.

    line 32
  4. Distinctive:

    If no engine is detected, ask the user which engine they are targeting before routing.

    line 117
  5. Distinctive:

    All commits to this repository must follow this convention:

    line 166
  6. Distinctive:

    No stubs or placeholder sections

    line 190
  7. Distinctive:

    Every skill must include concrete output templates

    line 191
  8. Distinctive:

    All cross-references between skills must be valid

    line 192
  9. Very specific:

    All skills must include argument-hint in frontmatter

    line 193

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
CLAUDE.md

AlterLab GameForge -- Indie Game Development Skills for Claude Code

Project Overview

AlterLab GameForge is a collection of 34 production-grade Claude AI skills purpose-built for indie game development. The skills are organized into three categories:

  • 11 Studio Agents -- Specialized roles that emulate a full game studio team
  • 20 Workflow Skills -- Structured processes for common game dev tasks
  • 3 Engine Specialists -- Deep expertise for Godot, Unity, and Unreal Engine

Additionally, 2 genre packs (Roguelike, Narrative) provide genre-specific reference material.

Every skill is grounded in established game design theory (MDA Framework, Self-Determination Theory, Flow Theory, Bartle's Player Types) and delivers structured, actionable output.

Shared Documentation

All skills reference a common knowledge base. These docs provide the theoretical and procedural foundation:

  • @docs/collaboration-protocol.md -- How agents hand off work, share context, and avoid duplication
  • @docs/game-design-theory.md -- MDA Framework, Flow Theory, SDT, Bartle taxonomy, and design lenses
  • @docs/coordination-rules.md -- Turn order, conflict resolution, escalation paths between agents
  • @docs/agent-hierarchy.md -- Reporting structure and decision authority for all 11 agents
  • @docs/coding-standards.md -- Code style, architecture patterns, and engine-specific conventions
  • @docs/workflow-guide.md -- 11-phase development lifecycle mapping all 31 skills to project phases
  • @docs/monetization-ethics.md -- Ethical monetization framework, dark pattern identification, regulatory landscape
  • @docs/engine-comparison.md -- Structured comparison matrix for Godot, Unity, and Unreal Engine
  • @docs/mcp-integrations.md -- MCP server ecosystem for game dev, engine-specific recommendations, setup guides
  • @docs/ai-native-gamedev.md -- AI tools for game development, production-ready vs experimental assessment
  • @docs/genre-pack-spec.md -- Format specification for genre-specific enhancement packs
  • @docs/skill-quality-rubric.md -- 5-dimension quality scoring system for skill evaluation

Always check these docs before answering game development questions. They contain the canonical standards for this project.

Agent Hierarchy

The studio agents follow a clear hierarchy for decision-making:

Producer (coordination, schedule, scope)
  |
  +-- Creative Director (vision, pillars, tone)
  |     +-- Art Director (visual style, assets, UI art)
  |     +-- Audio Director (music, SFX, adaptive audio)
  |     +-- Narrative Director (story, dialogue, lore)
  |     +-- Game Designer (mechanics, systems, balance)
  |     +-- Economy Designer (currency flows, monetization, virtual economy)
  |
  +-- Technical Director (architecture, performance, tools)
        +-- QA Lead (testing, bug tracking, quality gates)
        +-- UX Designer (player experience, accessibility, usability)
        +-- Accessibility Specialist (inclusive design, EAA compliance, accommodations)

Decision authority:

  • Creative conflicts (art style vs. narrative tone) -- Creative Director decides
  • Technical conflicts (performance vs. feature scope) -- Technical Director decides
  • Scope conflicts (feature cut vs. deadline) -- Producer decides
  • Cross-domain conflicts (creative vs. technical tradeoffs) -- Producer mediates, Creative Director and Technical Director negotiate
  • Monetization conflicts (revenue vs. player trust) -- Economy Designer advises, Producer decides
  • Accessibility conflicts (accommodation vs. design intent) -- Accessibility Specialist advises, Technical Director decides implementation

Skill Routing Rules

Route user requests to the correct skill based on intent:

Agent Routing

User IntentRoute To
Vision, pillars, creative direction, tonegame-creative-director
Architecture, performance, tech stackgame-technical-director
Schedule, scope, milestones, riskgame-producer
Mechanics, systems, balance, progressiongame-designer
Story, dialogue, lore, worldbuildinggame-narrative-director
Visual style, asset pipeline, UI artgame-art-director
Music, SFX, adaptive audio, mixinggame-audio-director
Testing, bugs, quality gates, regressiongame-qa-lead
Player experience, accessibility, usabilitygame-ux-designer
Virtual economy, currency design, monetizationgame-economy-designer
Inclusive design, motor/visual/auditory/cognitive accommodations, EAAgame-accessibility-specialist

Workflow Routing

User IntentRoute To
Starting a new game projectgame-start
Ideation, brainstorming, concept explorationgame-brainstorm
Market research, competitive analysis, market sizinggame-market-research
Reviewing a game design documentgame-design-review
Reviewing game code or architecturegame-code-review
Planning a development sprintgame-sprint-plan
Building a rapid prototypegame-prototype
Running a playtest sessiongame-playtest
Checking game balance and tuninggame-balance-check
Preparing for release or store submissiongame-launch
Coordinating multiple agents on a taskgame-team-orchestrator
Evaluating scope against timelinegame-scope-check
Running a sprint/milestone/project retrospectivegame-retrospective
Running a post-mortem or project reviewgame-postmortem
Generating documentation from existing codegame-reverse-document
Translation, localization, internationalization (i18n)game-localization-manager
Analytics, telemetry, KPIs, data-driven designgame-analytics-setup
Game jam participation (48-72 hour compressed development)game-jam-mode
CI/CD pipeline setup, automated builds, deploymentgame-ci-pipeline
Writing a game design document section by sectiongame-gdd-author

Engine Specialist Routing

Detect the game engine from project files and route accordingly:

Detection SignalRoute To
project.godot, .gd files, *.tscn scenesgame-godot-specialist
*.unity, *.cs scripts, ProjectSettings/game-unity-specialist
*.uproject, *.cpp/*.h with UE macros, Blueprintsgame-unreal-specialist

If no engine is detected, ask the user which engine they are targeting before routing.

Hooks

The following hooks run automatically during Claude Code sessions:

HookEventPurpose
session-startSessionStartInitialize session state, load project context
session-stopStopSave session state, write session log
pre-compactPreCompactArchive context before memory compaction
validate-commitPreToolUseEnforce commit message convention before git commits
detect-gapsPostToolUseIdentify missing skill coverage in agent responses
log-agentPostToolUseRecord which agents were invoked and their outputs
post-compactPostCompactRestore essential context after context compaction
subagent-trackSubagentStart/SubagentStopLog subagent delegation for orchestration tracking
instructions-validateInstructionsLoadedValidate required docs exist when CLAUDE.md loads
stop-failureStopFailureSave session state and guide recovery on API errors
config-changeConfigChangeDetect skill/config modifications during session

Templates

The templates/ directory contains starter templates for common game development artifacts:

  • Game Design Document (game-design-document.md)
  • Game Concept (game-concept.md)
  • Architecture Decision Record (architecture-decision-record.md)
  • Sprint Plan (sprint-plan.md)
  • Art Bible (art-bible.md)
  • Sound Bible (sound-bible.md)
  • Character Sheet (character-sheet.md)
  • Economy Model (economy-model.md)
  • Level Design Document (level-design-document.md)
  • Release Checklist (release-checklist.md)
  • Game Pillars (game-pillars.md)
  • Systems Index (systems-index.md)
  • AI Content Policy (ai-content-policy.md)
  • Post-Mortem Report (post-mortem.md)
  • Playtester Survey (playtester-survey.md)
  • Competitive Analysis (competitive-analysis.md)
  • Accessibility Audit (accessibility-audit.md)
  • Jam Concept (jam-concept.md)
  • Jam Submission Checklist (jam-submission.md)
  • CI Pipeline Configuration (ci-pipeline-config.md)

Reference templates with @templates/template-name.md in skill outputs.

Commit Convention

All commits to this repository must follow this convention:

PrefixUse
feat:New skill, hook, template, or documentation
improve:Enhancement to an existing skill or workflow
fix:Bug fix, broken reference, or typo correction
docs:README, CONTRIBUTING, or docs-only changes
chore:Scripts, CI, config, or repo maintenance

Examples:

feat: add game-economy-designer agent skill
improve: expand game-designer balance section with MDA analysis
fix: correct agent hierarchy in coordination-rules doc
docs: update quick start section in README
chore: add frontmatter validation to validate script

Quality Standards

  • Agent skills: minimum 200 lines of substantive content
  • Workflow skills: minimum 150 lines of substantive content
  • Engine specialists: minimum 200 lines with engine-specific code examples
  • No stubs or placeholder sections
  • Every skill must include concrete output templates
  • All cross-references between skills must be valid
  • All skills must include argument-hint in frontmatter
  • All skills must include allowed-tools in frontmatter
  • Agent skills should include effort level (max for directors, high for leads)
  • Agent skills with isolated context should use context: fork

Session State

Active session data is stored in production/session-state/ and session logs in production/session-logs/. Both directories are gitignored. The hooks manage this state automatically.

Project Structure

AlterLab_GameForge/
  skills/
    agents/              -- 11 studio agent skills
    workflows/           -- 20 workflow skills
    engine-specialists/  -- 3 engine-specific skills
  genre-packs/           -- Genre-specific reference material (not skills)
    roguelike/           -- Roguelike design patterns, balance, brainstorm
    narrative/           -- Narrative game patterns, pacing, brainstorm
  docs/                  -- 15 shared knowledge base documents
  hooks/                 -- 11 session lifecycle hooks
  templates/             -- 20 starter templates for game dev artifacts
  scripts/               -- Validation scripts (validate.sh)
  starters/              -- Engine-specific project configs
  production/            -- Runtime session data (gitignored)
  .github/workflows/     -- CI validation pipeline
  CLAUDE.md              -- This file
  README.md              -- Project showcase
  marketplace.json       -- Plugin manifest for Claude Code
  package.json           -- Project metadata

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.