agentleFS
bullish0xbullish0x/GameStudio/.cursor/rules/gamestudio.mdc

GameStudio / rules

Cursor rule29 starsChanged 6 months agoMITView on GitHub

GameStudio provider-neutral agent workflow

The file

Show its rules and text

We split this gamestudio.mdc into the rules it gives an agent

13 rules. About 0 are common, 3 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow AGENTS.md as the primary instruction file.

    line 8
  2. Very specific:

    Use .agents/skills/ as the canonical skill source.

    line 12
  3. Very specific:

    Use .agents/agents/ as the canonical role source.

    line 13
  4. Very specific:

    Use .agents/hooks/ as the canonical lifecycle hook source for any external automation Cursor delegates to.

    line 14
  5. Very specific:

    Use .agents/hooks.json as the event-to-script registry for that automation.

    line 16
  6. Very specific:

    Use .agents/rules/ as the canonical path-scoped standards source.

    line 17
  7. Very specific:

    Use .claude/ and .codex/ only as adapter examples for Claude Code and Codex-style harnesses.

    line 18
  8. Distinctive:

    Keep model/provider selection in Cursor settings or an external gateway.

    line 20
  9. Very specific:

    Do not hardcode Anthropic, OpenAI, Gemini, DeepSeek, GLM/Z.ai, Qwen, or local model choices into skills, agents, hooks, or project docs.

    line 21
  10. Very specific:

    When the user invokes a slash-style skill such as /start, /dev-story, or /design-review, open the matching .agents/skills/<skill>/SKILL.md …

    line 24
  11. Very specific:

    When editing files, apply the matching standards from .agents/rules/:

    line 28
  12. Distinctive:

    Ask explicit approval before writing files.

    line 51
  13. Very specific:

    If a skill names AskUserQuestion, present the same options in chat when Cursor has no structured question UI available.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 7,324 Cursor rule 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
gamestudio.mdc
---
description: GameStudio provider-neutral agent workflow
alwaysApply: true
---

# GameStudio Cursor Adapter

Follow `AGENTS.md` as the primary instruction file.

GameStudio is harness-neutral:

- Use `.agents/skills/` as the canonical skill source.
- Use `.agents/agents/` as the canonical role source.
- Use `.agents/hooks/` as the canonical lifecycle hook source for any external
  automation Cursor delegates to.
- Use `.agents/hooks.json` as the event-to-script registry for that automation.
- Use `.agents/rules/` as the canonical path-scoped standards source.
- Use `.claude/` and `.codex/` only as adapter examples for Claude Code and
  Codex-style harnesses.
- Keep model/provider selection in Cursor settings or an external gateway.
- Do not hardcode Anthropic, OpenAI, Gemini, DeepSeek, GLM/Z.ai, Qwen, or local
  model choices into skills, agents, hooks, or project docs.

When the user invokes a slash-style skill such as `/start`, `/dev-story`, or
`/design-review`, open the matching `.agents/skills/<skill>/SKILL.md` and follow
that workflow.

When editing files, apply the matching standards from `.agents/rules/`:

- `src/gameplay/**` -> `gameplay-code.md`
- `src/core/**` -> `engine-code.md`
- `src/ai/**` -> `ai-code.md`
- `src/networking/**` -> `network-code.md`
- `src/ui/**` -> `ui-code.md`
- `src/scenes/**` -> `scenes.md`
- `src/shaders/**` -> `shaders.md`
- `assets/data/**` -> `data-files.md`
- `assets/shaders/**` -> `shader-code.md`
- `assets/3d/**` -> `assets-3d.md`
- `design/gdd/**` -> `design-docs.md`
- `design/narrative/**` -> `narrative.md`
- `tests/**` -> `test-standards.md`
- `prototypes/**` -> `prototype-code.md`

Maintain the GameStudio collaboration protocol:

1. Ask focused questions.
2. Present options with trade-offs.
3. Let the user decide.
4. Draft or summarize the proposed change.
5. Ask explicit approval before writing files.

If a skill names `AskUserQuestion`, present the same options in chat when
Cursor has no structured question UI available. If a skill names `Task`, use
Cursor's agent/subagent feature when available or inline the referenced role's
instructions from `.agents/agents/`.

For provider routing or man-in-the-middle gateway setup, use
`docs/HARNESS-COMPATIBILITY.md` as the source of truth.

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.