Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Godot New Project?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tipoli5890-godot-new-project)
---
name: godot-new-project
description: >-
Start a new Godot project: project.godot, folders, renderer, input map, git ignores for .godot/,
which .uid and .import files to commit.
---
# godot-new-project — an empty folder to a project that imports clean
A project is a `project.godot` and a folder; what the editor generates and what the team commits
are decided on day one. Write the skeleton with the script, import it in place, and let the check
prove it loads: settings read back, the input map resolves, the main scene runs with no marker
line.
## Load what the situation needs
| The situation | Read |
|---|---|
| An empty folder that should become a project | the commands below, then `reference/layout.md` |
| What a line of `project.godot` does; strict typing; the input map; the renderer | `reference/settings.md` |
| Which generated files to commit: `.godot/`, `.uid`, `.import`; `.gitignore`, LFS | `reference/layout.md` |
| The editor rewrote a hand-written `project.godot` | `reference/settings.md` → "What saving does" |
| `res://` and `user://`; where saves go | `reference/layout.md` |
| Pinning the engine version for the team and CI | `reference/settings.md` → "Pinning" |
| An existing project that should be checked the same way | `scripts/new_project.py check` |
| Static typing and the other warnings | `godot-gdscript` |
| Export presets after the project exists | `godot-export` |
## Create and check
```bash
python3 scripts/new_project.py create ~/games/courier_run --name "Courier Run"
python3 scripts/new_project.py create ~/games/courier_web --renderer gl_compatibility --root Control
python3 scripts/new_project.py check ~/games/courier_run # an existing project
```
`create` writes into an empty or missing folder, refuses any folder inside one that holds
`.claude-plugin` (a plugin or this repository), and then runs `check` unless `--no-godot`. The
binary comes from `--godot PATH` or `GODOT_BIN`; `config/features` takes the binary's
`<major>.<minor>` unless `--features` names it.
| Flag | Effect |
|---|---|
| `--name` | `application/config/name`, and so the `user://` folder |
| `--renderer forward_plus\|mobile\|gl_compatibility` | `rendering/renderer/rendering_method` (compatibility also sets the `.mobile` override) |
| `--root Node2D\|Node3D\|Control` | the main scene's root node and the type `main.gd` extends |
| `--no-strict` | leaves untyped declarations at the engine default (ignored) |
| `--no-input` | no `[input]` section |
| `--no-godot` | write only, nothing imported or checked |
What `check` does, in order:
| Step | Fails on |
|---|---|
| read `project.godot` and `.gitignore` (no Godot) | `config_version` not 5, no main scene, no `.godot/` line, a `*.uid` or `*.import` rule |
| `--import` in place | a marker line, a crash, no `.godot/` afterwards (UNVERIFIED) |
| a `-s` script from outside the project: settings read back, each mapped key pressed through `InputMap.event_is_action()`, the main scene run for `--frames` frames | a marker line, a `CHECK FAIL` line, no sentinel (UNVERIFIED) |
| `.uid` beside every `.gd` and `.gdshader`, `.import` beside every asset | a missing one |
| in a git work tree, `git check-ignore` | `.godot/` not ignored, a `.uid` or `.import` ignored |
Exit 0 pass, 2 fail, 3 nothing verified (no binary, a timeout, no sentinel), 1 usage or refused.
Every Godot run is `--headless -l en` under a wall-clock timeout.
## What the template sets
`templates/project.godot` is in the form `ProjectSettings` saves: the engine's header comment,
`config_version=5`, then sections.
- `[application]`: the name and `run/main_scene="res://main/main.tscn"`; the script adds
`config/features` and `config/icon`.
- `[debug]`: `gdscript/warnings/untyped_declaration=2`, so an untyped variable, parameter or
return type is a parse error instead of a silent `Variant`.
- `[display]`: a 1280×720 viewport.
- `[input]`: `move_left`, `move_right`, `move_up`, `move_down` on WASD and the arrows, `jump` on
Space, `interact` on E, all by `physical_keycode` and for every device.
- `[rendering]`: `renderer/rendering_method="forward_plus"`.
A hand-copied template works too: without a features line the import is clean, and
`ProjectSettings` adds the line when it next saves the file. `templates/gitignore` and `templates/gitattributes` become
`.gitignore` and `.gitattributes`.
## Generated files, in one table
| File | Commit? |
|---|---|
| `.godot/` (imported copies, caches, editor state) | no: ignored, rebuilt by `--import` |
| `X.gd.uid`, `X.gdshader.uid` | yes, and move each with its file |
| `X.png.import` and every other asset's `.import` | yes |
| `project.godot`, `.tscn`, `.tres`, `export_presets.cfg` without passwords | yes |
## Discipline
- **Never import a project inside a plugin or this repository**; `create` and `check` refuse.
- **Import once before anything else runs.** The first `--import` writes `.godot/`, every `.uid`
and every `.import`; a fresh clone has the committed `.uid` and `.import` files but no `.godot/`.
- **Judge a run by its marker lines.** A script that fails to parse still exits 0; the scene loads
without it.
- **Keep strict typing on from the first script**; turning it on later means fixing every file at
once.
- **Commit what the import wrote** beside the sources, in the same commit as the source.
- **Pin one engine version** for editors and CI; `config/features` holds only
`<major>.<minor>`.
## Scope — what this skill does NOT do
| Not here | Go to |
|---|---|
| GDScript typing, warnings and patterns | `godot-gdscript` |
| Export presets, templates and builds | `godot-export` |
| Autoloads and changing scenes | `godot-scene-flow` |
| Writing `.tscn` and `.tres` by hand, uids | `godot-scene-files` |
| The command line, finding the binary, timeouts | `godot-cli` |
| Gameplay routing | `godot-gameplay` |