dart-mobile-game-studio
CLAUDE.md1 starsChanged 5 months agoMITView on GitHub
Guidance for Claude Code working in this repository. The skill covers simple 2D games: coloring, jigsaw/sliding puzzles, light platformers, drag-and-drop, memory/matching, lite endless runners, tap-reaction, and educational mini-games. Read its SKILL.md and follow the execution workflow before writing code. Ground decisions in the official Flutter org — flutter/games (Casual Games Toolkit) and flame-engine/flame. Subagents can't spawn each other, so game-coordinator returns a delegation plan. See .agents/agents/README.md. Model tiers. Each agent declares a tier (heavy/medium/light) that routes it to a model…
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/agents/art-director.mdcCursor rule
- .cursor/rules/agents/balance-economist.mdcCursor rule
- .cursor/rules/agents/code-auditor.mdcCursor rule
- .cursor/rules/agents/code-reviewer.mdcCursor rule
- .cursor/rules/agents/engine-architect.mdcCursor rule
- .cursor/rules/agents/game-coordinator.mdcCursor rule
- .cursor/rules/agents/game-designer.mdcCursor rule
- .cursor/rules/agents/gameplay-programmer.mdcCursor rule
- .cursor/rules/agents/legal-compliance.mdcCursor rule
- .cursor/rules/agents/narrative-writer.mdcCursor rule
- .cursor/rules/agents/performance-auditor.mdcCursor rule
- .cursor/rules/agents/qa-tester.mdcCursor rule
- .cursor/rules/agents/release-engineer.mdcCursor rule
- .cursor/rules/agents/security-auditor.mdcCursor rule
- .cursor/rules/dart-flutter-architecture.mdcCursor rule
- .cursor/rules/dart-flutter-testing.mdcCursor rule
- .cursor/rules/dart-mobile-game-studio.mdcCursor rule
- dart-mobile-game-studioSkill
- dart-mobile-game-studioSkill
- dart-mobile-game-studioSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
After editing, mirror into tool copies:
- Very specific: line 53
Assets: no copyrighted material — placeholder vector art (CustomPainter/flutter_svg) or user-owned assets only.
- Very specific: line 58
Kids apps: no tracking/analytics/ads/AdvertisingId/external-links/accounts.
- Very specific: line 65
Report honestly: Only claim analyze/build/tests passed if you ran them and saw the output.
- Very specific: line 67
Run scripts/dart-doctor.py <project> and assets/review-checklist.md before handoff.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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.
Files
CLAUDE.md
Guidance for Claude Code working in this repository.
Primary skill
For any Dart / Flutter mobile game task (iOS + Android), use the dart-mobile-game-studio
skill — invoke it as /dart-mobile-game-studio. It is installed at
.claude/skills/dart-mobile-game-studio/SKILL.md
and mirrored from the canonical source at
.agents/skills/dart-mobile-game-studio/.
The skill covers simple 2D games: coloring, jigsaw/sliding puzzles, light platformers, drag-and-drop, memory/matching, lite endless runners, tap-reaction, and educational mini-games. Read its SKILL.md and follow the execution workflow before writing code. Ground decisions in the official Flutter org — flutter/games (Casual Games Toolkit) and flame-engine/flame.
Subagents (14 specialist roles)
Fourteen project subagents live in .claude/agents/ (generated from canonical specs in
.agents/agents/). Invoke one with @<name> or just describe the need and let Claude route.
- Build:
game-coordinator(PM/decompose) →game-designer→engine-architect→gameplay-programmer(+art-director,narrative-writer,balance-economistin parallel) →qa-tester. - Review & audit (read-only):
code-reviewer(diff/PR), and the pre-release gate —code-auditor(whole codebase),security-auditor,performance-auditor,legal-compliance. - Release:
release-engineer— App Store and Google Play submission readiness.
Subagents can't spawn each other, so game-coordinator returns a delegation plan. See
.agents/agents/README.md.
Model tiers. Each agent declares a tier (heavy/medium/light) that routes it to a model — on
Claude Code, sync-agents.py resolves it to model: opus|sonnet|haiku in the agent's frontmatter
(heavy=Opus 4.8, medium=Sonnet 4.6, light=Haiku 4.5). Run heavy and light roles in parallel on
their own models (independent Agent calls in one message, or the assets/parallel-build.workflow.js
template). Full policy + the cross-vendor (Codex/GPT) mapping:
references/model-routing.md.
Source of truth & sync
- Canonical skill:
.agents/skills/dart-mobile-game-studio/. Edit it there. - Canonical agents:
.agents/agents/. Edit there, then regenerate tool copies. - After editing, mirror into tool copies:
.agents/skills/dart-mobile-game-studio/scripts/sync-skill.sh # skill -> .claude/.cursor .agents/agents/sync-agents.py # agents -> .claude/.cursor
Project conventions
- Logic vs rendering: pure Dart model (no
package:flutterimports) holds all rules and is unit-tested withdart test; Flutter widgets and FlameFlameGames stay thin. - State machine: menu → playing → paused → win/lose → menu (sealed classes / enums).
- Layout:
lib/models/ lib/systems/ lib/game/ lib/widgets/ assets/ test/. Small, focused files; preferconstconstructors. - Mode choice: Flutter-widgets-only for static/turn-based; Flame for motion/physics; hybrid
(
GameWidget+ overlays) for action games that also need real menus/HUD. - Assets: no copyrighted material — placeholder vector art (
CustomPainter/flutter_svg) or user-owned assets only. Levels as JSON data, not code. - Dependencies: Flutter SDK + Flame preferred; justify any other pub.dev package.
- Accessibility:
Semantics(label/value/button) on every interactive control; text scaling; reduce motion; TalkBack + VoiceOver. - Kids apps: no tracking/analytics/ads/AdvertisingId/external-links/accounts; offline-first; no
personal data; minimal permissions (no Android
INTERNETif offline); parental gate for sensitive actions. Must satisfy both Apple Kids Category and Google Play Families policy.
Verification expectations
- Discover commands with
scripts/verify-flutter-project.sh; build/test withdart analyze,dart test,flutter test,flutter build appbundle/ipawhen a project + toolchain exist. - Report honestly. Only claim analyze/build/tests passed if you ran them and saw the output. If you can't run here (no toolchain), state that and give the exact commands.
- Run
scripts/dart-doctor.py <project>andassets/review-checklist.mdbefore handoff. No store-compliance guarantees — provide a checklist and a risk list instead.
Handoff format
Finish with: what was built, mode chosen and why, changed files, commands run + real output (or why none ran), assumptions, and open risks/next steps.
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
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.

