agentleFS
venus2099venus2099/codex-game-studios/src/CLAUDE.md

codex-game-studios / src

CLAUDE.md1 starsChanged 26 days agoMITView on GitHub

When writing or editing game code in this directory, follow these standards. The LLM's training data predates the pinned engine version. Always check docs/engine-reference/ before using any engine API. Do not guess at post-cutoff API signatures — look them up first. - All public APIs require doc comments - Gameplay values must be data-driven (external config files), never hardcoded - Prefer dependency injection over singletons for testability - Architecture decisions go in docs/architecture/ as ADRs — how many depends on…

1 other project uses a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When writing or editing game code in this directory, follow these standards.

    line 3
  2. Distinctive:

    Do not guess at post-cutoff API signatures — look them up first.

    line 9
  3. Distinctive:

    All public APIs require doc comments

    line 13
  4. Distinctive:

    Prefer dependency injection over singletons for testability

    line 15
  5. Very specific:

    When in doubt, use specialists.code from project.yaml.

    line 27
  6. Very specific:

    Run /test-setup to scaffold the test framework if it doesn't exist yet.

    line 32
  7. Distinctive:

    Every gameplay system should have unit tests covering its formulas and edge cases.

    line 33
  8. Distinctive:

    Write tests first when adding gameplay systems.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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

Source Directory

When writing or editing game code in this directory, follow these standards.

Engine Version Warning

The LLM's training data predates the pinned engine version. Always check docs/engine-reference/ before using any engine API. Do not guess at post-cutoff API signatures — look them up first.

Coding Standards

  • All public APIs require doc comments
  • Gameplay values must be data-driven (external config files), never hardcoded
  • Prefer dependency injection over singletons for testability
  • Architecture decisions go in docs/architecture/ as ADRs — how many depends on modes.workflow: all at full, critical only at standard, none required at minimal (the decision log carries them)
  • Commits must reference the relevant story ID or design document

File Routing

Match the engine-specialist agent to the file type being written. /setup-engine records which specialist handles code, shaders and UI in the specialists block of project.yaml.

When in doubt, use specialists.code from project.yaml.

Tests

Tests live in tests/ — not in src/. Run /test-setup to scaffold the test framework if it doesn't exist yet. Every gameplay system should have unit tests covering its formulas and edge cases.

Verification-Driven Development

Write tests first when adding gameplay systems. For UI changes, verify with screenshots. Compare expected output to actual output before marking work complete.

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.