jperezdelreal/firstframestudios/project-conventions

Claude Code and agent skill by jperezdelreal/firstframestudios

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

GDScript style, file naming, scene conventions, folder structure, Git workflow, documentation, and review standards for First Frame Studios Godot 4 projects

Install

npx vskill@latest install jperezdelreal/firstframestudios/project-conventions

SKILL.md

The same SKILL.md was published earlier as jperezdelreal/firstframestudios/project-conventions.

Context

Defines all code style, naming, file structure, scene, Git, and documentation conventions for First Frame Studios Godot 4 projects. Every agent must follow these standards when writing GDScript, creating scenes, committing code, or submitting work for review. Full details, examples, and the review checklist are in REFERENCE.md.

Core Patterns

Naming Conventions
ElementConventionExample
Variables / Functionssnake_casevar move_speed, func take_damage()
Classes / NodesPascalCaseclass_name EnemyGrunt, AnimationPlayer
ConstantsSCREAMING_SNAKE_CASEconst MAX_ENEMIES: int = 10
Signalssnake_case, past tensesignal health_changed
Private members_ prefixvar _internal_timer: float
File Naming
  • Scripts: snake_case.gd — Scenes: PascalCase.tscn — Resources: snake_case.tres
  • Assets (images/audio/fonts): lowercase_snake_case with appropriate extension
  • Script files match their class_name: class_name EnemyGrunt → enemy_grunt.gd
Script Structure (top → bottom)

@tool → class_name → extends → ## doc-comment → signals → enums → constants → @export vars → public vars → private vars (_, @onready) → virtual methods → public methods → private methods

Type Hints — Required
  • All function parameters and return types must be typed
  • All @export variables must be typed and have ## doc-comments
  • Local variables: type when not obvious from literal
Scene Rules
  • One root node per .tscn, primary script on root only
  • Inherit from templates/ base scenes — never build from scratch if a template exists
  • Use %UniqueNode or @export var references — never hard-coded deep paths
  • Document all custom signals with ## comments
Folder Structure (key directories)
  • autoloads/ — singleton scripts (thin, single-purpose)
  • scenes/ — .tscn files organized by domain (characters, levels, ui, effects)
  • scripts/ — standalone reusable .gd (components, data resources)
  • resources/ — .tres instances (stats, attack data, themes)
  • templates/ — base scenes for inheritance (owned by Jango)
  • assets/ — sprites, audio, fonts (mirrors domain structure)
Git Conventions
  • Branch: feature/{agent}-{description}, fix/…, tooling/…, refactor/…
  • Commit: <type>(<scope>): <summary> + Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
  • Types: feat, fix, refactor, docs, style, test, chore, tooling
  • Track export_presets.cfg, *.import, .gdlintrc — never track .godot/
Formatting

Tabs, 120-char max line, double quotes, trailing commas in multi-line collections, two blank lines before functions, no semicolons.

Key Examples

gdscript
## Manages enemy grunt: patrol, chase, melee attack.
class_name EnemyGrunt
extends EnemyBase
## Emitted when this grunt detects the player.
signal alerted(target: Node2D)
enum State { PATROL, CHASE, ATTACK, HURT, DEAD }
const ATTACK_RANGE: float = 45.0
## Max detection distance in pixels.
@export var detection_range: float = 300.0
var current_state: State = State.PATROL
@onready var _anim: AnimationPlayer = %AnimationPlayer
func _physics_process(delta: float) -> void:
match current_state:
State.PATROL:
_do_patrol(delta)
State.CHASE:
_do_chase(delta)
move_and_slide()
func _do_patrol(delta: float) -> void:
pass

Anti-Patterns

  • Build It, Don't Wire It — Every new system must connect to ≥1 consumer in the same PR. No orphaned infrastructure.
  • Everyone Edits project.godot — Only Jango owns project.godot and templates/. Others request changes via decision inbox.
  • Magic Node Paths — Never use $"../../deep/path". Use %UniqueNode, @onready var := %Name, or @export var.
  • Flat Scene Tree — Group nodes hierarchically under named parents per base templates.
  • Stringly Typed Signals — Use signal.connect(callable), not string-based connect().
  • God Autoload — Keep autoloads single-purpose: EventBus, GameState, SceneManager each separate.
  • Untyped Exports — Always type exports with ## doc-comments: @export var speed: float = 100.0.
  • _process for Everything — Physics/movement in _physics_process; visuals/UI in _process; events via signals/timers.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jperezdelreal/firstframestudios/project-conventions/badge)](https://verified-skill.com/skills/jperezdelreal/firstframestudios/project-conventions)

Something wrong with this skill or its page? Tell us.