agentleFS
shihabshahriershihabshahrier/Godot-Skill/.cursor/rules/godot.mdc

Godot-Skill / rules

Cursor rule4 starsChanged 6 months agoMITView on GitHub

godot — Generate production-ready GDScript 2.0 for Godot 4.3+ with strict static typing

  • 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 4,366 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 repository5 other files it gives its agents.

The file

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

2 rules. About 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When user asks about Godot, GDScript, or game development, follow skills/godot/SKILL.md.

    line 6
  2. Distinctive:

    Architecture: Call down, signal up. Composition over inheritance.

    line 18

≈ “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
godot.mdc
---
description: "godot — Generate production-ready GDScript 2.0 for Godot 4.3+ with strict static typing"
alwaysApply: false
---

When user asks about Godot, GDScript, or game development, follow `skills/godot/SKILL.md`.

**Scope**: Godot 4.3+ only. GDScript 2.0. Strict static typing.

**Syntax** (non-negotiable):
- `await` not `yield` | `signal.emit()` not `emit_signal()` | `signal.connect(callable)` not string-based
- `TileMapLayer` not `TileMap` | `FileAccess`/`DirAccess` not `File`/`Directory`
- `@export`/`@onready` not `export`/`onready` | `instantiate()` not `instance()`
- `CharacterBody2D` not `KinematicBody2D` | `velocity` is property, not `move_and_slide()` arg

**Style**: snake_case files/functions/signals, PascalCase classes/nodes, CONSTANT_CASE constants/enums. English booleans (`and`/`or`/`not`). 17-step declaration ordering.

**Architecture**: Call down, signal up. Composition over inheritance. Resources for data. Autoloads only when node lifecycle needed, otherwise static classes.

**References**: `references/gdscript-style-guide.md`, `references/godot4-syntax.md`, `references/architecture-patterns.md`, `references/common-systems.md`

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.