dart-mobile-game-studio / rules
Cursor rule1 starsChanged 5 months agoMITView on GitHub
Dart/Flutter mobile 2D game development studio (iOS, iPadOS, Android) — always-on guidance pointing at the dart-mobile-game-studio skill.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,531 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 repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.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
- dart-mobile-game-studioSkill
- dart-mobile-game-studioSkill
- dart-mobile-game-studioSkill
The file
We split this dart-mobile-game-studio.mdc into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
No copyrighted assets — placeholder vector art (CustomPainter/flutter_svg) or user-owned only.
- Very specific: line 37
Never claim store approval — give a checklist and risks (references/release-policy.md).
- Distinctive: line 38
Don't mix Flutter-UI and Flame in one screen without the decision rule.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 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.
Files
--- description: Dart/Flutter mobile 2D game development studio (iOS, iPadOS, Android) — always-on guidance pointing at the dart-mobile-game-studio skill. alwaysApply: true --- # Dart Mobile Game Studio (broad rule) For any Dart / Flutter **mobile game** work, use the **dart-mobile-game-studio** skill. Canonical: `.agents/skills/dart-mobile-game-studio/SKILL.md` (Cursor copy: `.cursor/skills/...`). Ground decisions in the official Flutter org — **flutter/games** (Casual Games Toolkit) and **flame-engine/flame**. Builds simple 2D games for iOS + Android: coloring, puzzles, platformers, drag-and-drop, memory/matching, lite runners, tap-reaction, educational mini-games. ## Always follow this workflow 1. Understand (genre, age, core verb, fail model, platforms, orientation). 2. One-page Mini-GDD (`assets/gdd-template.md`). 3. Choose mode: **Flutter-widgets-only** (CustomPainter) / **Flame** (FlameGame) / **hybrid** (`GameWidget` + overlays). Decision rule: `references/flutter-game-architecture.md`. 4. Architecture: **pure Dart core (no `package:flutter` import)** + state machine + thin widgets/Flame. 5. Implement a small MVP from `assets/flame_game_template.dart` / `assets/flutter_game_widget_template.dart`. 6. Tests: `dart test` for the model; `flutter_test` for widgets; Patrol for E2E. 7. Build/test with `dart analyze` / `dart test` / `flutter test` / `flutter build` when available. 8. Review: `scripts/dart-doctor.py`, kids/privacy/a11y/perf (`references/quality-policy.md`). 9. Hand off: changed files, commands run + output, assumptions, risks. ## Non-negotiables - No copyrighted assets — placeholder vector art (`CustomPainter`/`flutter_svg`) or user-owned only. - Game rules in pure Dart (no Flutter imports), unit-tested; UI/business/game-logic separated. - Minimal dependencies via `references/package-policy.md` (justify each). - `flutter analyze`-clean, `dart format`, null-safe, `const`, dispose everything. - Accessibility via `Semantics` (label/value/button); text scaling; reduce motion. - Kids apps: no tracking/analytics/ads/AdvertisingId/external-links/accounts; offline-first; must satisfy **both** Apple Kids and Google Play Families. Monetization only for general (13+) builds per `references/monetization-policy.md`. - Never claim store approval — give a checklist and risks (`references/release-policy.md`). - Don't mix Flutter-UI and Flame in one screen without the decision rule. ## Specialist roles (subagents) For larger work, adopt one of the 14 roles in `.cursor/rules/agents/` (or paste as a Custom Mode): `game-coordinator` → `game-designer` → `engine-architect` → `gameplay-programmer` (+ `art-director`, `narrative-writer`, `balance-economist`) → `qa-tester`; review/audit `code-reviewer`, `code-auditor`, `security-auditor`, `performance-auditor`, `legal-compliance`; release `release-engineer`. Details: `.agents/agents/README.md`.
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.

