agentleFS
zenstory-aizenstory-ai/novel-to-game/AGENTS.md

novel-to-game

AGENTS.md830 starsChanged 59 days agoMITView on GitHub

NovelToGame is a skills-first repository. Its product is adaptation judgment and reusable workflow knowledge, not a bundled game engine. - Assume frontier models already know mainstream game and frontend frameworks. - Treat game concept, experience/level design, and art direction as separate planning owners; do not let implementation silently redesign them. - Add instructions only when they encode adaptation know-how, a necessary handoff contract, or evidence-based QA. - Keep SKILL.md procedural and concise. Put optional depth in one-level references/ files. -…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository7 other files it gives its agents.

The file

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

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    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:

    Treat game concept, experience/level design, and art direction as separate planning owners.

    line 9
  2. Distinctive:

    Add instructions only when they encode adaptation know-how, a necessary handoff contract, or evidence-based QA.

    line 11
  3. Very specific:

    Keep SKILL.md procedural and concise.

    line 13
  4. Distinctive:

    Keep every skill self-contained.

    line 15
  5. Distinctive:

    Do not bind the core design artifacts to Kimi, Claude, or one framework.

    line 17
  6. Distinctive:

    Keep provider comparisons out of runtime skills.

    line 18
  7. Distinctive:

    Treat repository language and generated-project language separately.

    line 33
  8. Distinctive:

    Do not describe subjective fun or balance as deterministically verified.

    line 42
  9. Distinctive:

    Do not add dependencies without an explicit product need.

    line 43
  10. Distinctive:

    Run before reporting completion:

    line 47
  11. Very specific:

    Search .agents/notes/ for the owning note first.

    line 64

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

NovelToGame Engineering Guide

NovelToGame is a skills-first repository. Its product is adaptation judgment and reusable workflow knowledge, not a bundled game engine.

Rules

  • Assume frontier models already know mainstream game and frontend frameworks.
  • Treat game concept, experience/level design, and art direction as separate planning owners; do not let implementation silently redesign them.
  • Add instructions only when they encode adaptation know-how, a necessary handoff contract, or evidence-based QA.
  • Keep SKILL.md procedural and concise. Put optional depth in one-level references/ files.
  • Keep every skill self-contained. Do not create runtime cross-skill file dependencies; invoke another skill by name instead.
  • Do not bind the core design artifacts to Kimi, Claude, or one framework.
  • Keep provider comparisons out of runtime skills; model capabilities change.
  • Language scope is bounded per surface, not global:
    • Skill bodies and references/: Simplified Chinese, always. This is prose the agent reads at runtime; keeping it in one language avoids a bilingual layer that would have to be kept in sync through every contract refactor.
    • Frontmatter description, the four plugin manifests, and agents/openai.yaml interface fields: English first, Chinese after. These are what an agent routes an English request against and what a plugin directory shows as listing copy with no README fallback. scripts/validate_repo.py enforces the English-first rule.
    • Examples: each example declares its own artifact language in its example.json, and its planning artifacts, source provenance and in-game UI text follow that declaration. tests/test_validate_repo.py only requires Chinese headings for examples that declare a zh* language.
    • README: README.md English (the default), README_ZH.md Chinese, both kept structurally identical.
  • Treat repository language and generated-project language separately. Accept novels in any language; generated artifacts follow the user's requested language, or the conversation language when unspecified. Do not duplicate every artifact bilingually unless requested.
  • Preserve source-language quotations and culturally specific concepts. When source and output languages differ, translate only what decisions require and keep one terminology table instead of flattening concepts into foreign tropes.
  • Require evidence for QA claims: command output, state snapshots, screenshots, or recorded play paths.
  • Do not describe subjective fun or balance as deterministically verified.
  • Do not add dependencies without an explicit product need.

Verification

Run before reporting completion:

python3 scripts/validate_repo.py
python3 -m unittest discover -s tests -v

Decision notes

Non-trivial changes (behavior, architecture, cross-skill contracts, process or tooling, testing strategy, on-disk formats) must leave a note in .agents/notes/{proposed,implemented,rejected}/{feature,bug-fix,simplification,architecture,process,testing}/yyyy-mm-dd-topic.md, dated by the commit where the decision first appeared, following the DeepSeek Harness agent-notes convention (https://github.com/czm15053/write-notes-like-deepseek). Notes are written in Chinese with English section headers.

  • Search .agents/notes/ for the owning note first. Update facts in place when the decision stands; open a new note that links to the old one when the decision itself reverses. Never rewrite ## Decision into its opposite, and leave a rejected/ note frozen at what was true when it was rejected.
  • New ideas start in proposed/ and move to implemented/ in the same commit as the code. Mechanical edits (formatting, renames, version bumps, behavior-neutral patches) and deleting verification code that stopped earning its keep need no note.
  • A note opens with # Agent Note: <title>, a blank line, Status: <state>. Sections are ## Problem, ## Decision (present tense) or ## Proposal, ## Alternatives considered (real options only, strongest argument first), and ## Consequences (## Risks in proposed/ and rejected/). Close with a 来源: commit list, a ## Verification paragraph, or both, so a reader can check the note against history. The rules above are summaries; the notes hold the why.
  • No INDEX.md; the folder is the state.

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.