/xenodot:godot-project-baselinefrom xenodot
Sets up Godot 4.x project baseline: quality gates (warnings-as-errors, gdlint/gdformat), folder layout, naming, physics layers, input map. Records in CLAUDE.md as single source of truth. Use first on new projects.
Ships in xenodot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill is the keystone: it makes project-wide decisions once, applies them to project.godot, and writes them into CLAUDE.md. All other godot-* skills must read CLAUDE.md before acting and must not contradict it.
It owns the game-agnostic layer only — quality gates and way-of-work. The game-aesthetic layer (renderer choice and its rationale, window/stretch, texture-filter defaults, art-style stack, camera-projection defaults) is per-game taste and lives in a project-local skill the designer authors once per game — see "Game-aesthetic conventions go project-local" below.
project.godot file exists; if not, ask the user to create the project in the editor first — do not hand-write a project.godot from scratch).Check for existing conventions. If CLAUDE.md already has a ## Project conventions section, read it, report any conflicts with the defaults below to the user, and stop — do not overwrite established decisions without explicit approval.
Install the quality gates (the way-of-work contract, non-negotiable):
project.godot has the [debug] GDScript warnings escalated to errors (the warnings-as-errors contract), a gdlintrc (blocking lint caps + naming), and gdstyle.toml (in-editor advisory lint). The starter ships all three; for a pre-existing project, copy them from starter/.CLAUDE.md).Create folder layout (only the folders needed now; create others on demand):
res://scenes/ main and composition scenes
res://entities/ player, NPCs, props (one folder per entity)
res://levels/ level scenes / blockouts
res://shaders/post/ post-process shaders (if the game uses post effects)
res://resources/ shared .tres resources
Define input actions in the Input Map: move_left, move_right, move_forward, move_back (WASD + arrows), jump (Space). Use these exact names; controller skills depend on them.
Write the conventions to CLAUDE.md (create the file if absent, append the section if the file exists). Use this exact template, filling in anything the user customized:
## Project conventions
- Engine: Godot 4.3+ (reversed-Z).
- Aesthetics (renderer, window, texture filters, art-style stack, camera projection): decided by
the project-local game-conventions skill (.claude/skills/); its decisions are recorded below,
next to the baseline's.
- Folders: scenes/, entities/, levels/, shaders/post/, resources/. Reusable stateless GDScript → tools/lib/ (class_name helpers the game preloads, e.g. NodeBuilder); reusable stateful behavior → a component scene in entities/components/.
- Naming: node names PascalCase; files and folders snake_case; one scene per entity in entities/<name>/ (typing, naming regexes, file-header, size caps: skill godot-code-rules).
- Composition (SOLID): entity = engine-node base + component children; signals up / calls down; @export over subclass-per-variant; pure logic classes use \_init() constructor DI, no autoload service-locator (skill: godot-composition).
- Layers: 1 = world, 2 = player, 3 = enemies (extend, never renumber).
- Input actions: move_left, move_right, move_forward, move_back, jump.
- Code rules: strict typed GDScript (skill: godot-code-rules) — warnings-as-errors + gdlint/gdformat via the validate gate (blocking). In-editor linting: gdstyle (advisory; config gdstyle.toml, install tools/install_gdstyle.sh).
- Rule for AI sessions: read this section before structural changes; load godot-code-rules before writing or editing any .gd file; record new project-wide decisions here, not in chat.
The baseline stops where taste starts. Renderer choice and its rationale, window size/stretch, texture-filter defaults, the art-style stack (pixelation, outlines, palettes), camera-projection defaults — these are one game's decisions, so they must not ship in this plugin. The pattern:
<game>/.claude/skills/<game>-game-conventions/SKILL.md (e.g. a game codenamed "nova" gets nova-game-conventions). Project-local skills load like any shipped skill — no plugin change needed, usable immediately.## Project conventions section in CLAUDE.md, so every other skill still reads one source of truth.mcp__ui__promote { kind: "skills", name, reason }; the user approves on the promotions board and runs npm run promote — never move files by hand. Default to keeping it local.Example skeleton (a 3D pixel-art game's aesthetic payload — the kind of content that belongs in the project-local skill, not here):
---
name: <game>-game-conventions
description: <Game>'s aesthetic conventions — renderer, window, art-style stack.
Run right after godot-project-baseline on a fresh project.
---
# <Game> conventions (aesthetics)
1. Renderer: Forward+ (rendering/renderer/rendering_method="forward_plus") — required by the
normal-roughness texture the outline shaders read. If the project targets web export,
Compatibility is forced and normal-based outlines drop: record the limitation in CLAUDE.md
instead of fighting it.
2. Window: base size 1920×1080; Stretch Mode canvas_items, Aspect keep.
3. Art style: 3D pixel art — 3D content renders inside a SubViewport (skill: godot-3d-pixelation);
post-process effects attach to the camera inside it, single shader at
res://shaders/post/post_process.gdshader (skill: godot-screen-effects); textures import with
Nearest filtering (skill: godot-texture-import-pixel-art).
4. Camera: projection is genre-dependent — the pixel-art look comes from the SubViewport
downscale, not the camera. Orthographic fixed-angle (skill: godot-orthographic-follow-camera)
for top-down/iso; perspective eye-camera inside the SubViewport for first/third-person.
Switching projection only trades texel-snapping behaviour — flag it, don't forbid it.
5. Record every decision in CLAUDE.md `## Project conventions`, under the baseline's lines.
CLAUDE.md contains the ## Project conventions section.project.godot has the [debug] warnings block; gdlintrc and gdstyle.toml are present (new games inherit all three from the starter).<game>-game-conventions skill exists (or the user explicitly deferred aesthetic decisions — record the deferral).| Symptom | Fix |
|---|---|
| Conventions section exists but conflicts with these defaults | Existing project decisions win; report differences, don't overwrite |
| Another godot-* skill needs an aesthetic decision (renderer, viewport, filter) that CLAUDE.md doesn't record | Create/run the project-local <game>-game-conventions skill first (pattern above) — don't improvise a per-game decision in the middle of another skill |
| Input actions already exist with other names | Map skill names onto the existing ones in CLAUDE.md instead of duplicating actions |
| Tab/Enter/arrow input action does nothing at runtime (verify passes) | Wrong physical_keycode integer. Non-printable keys use Godot's KEY_* values, which verify can't validate — only an F5 play-test catches it. KEY_TAB=4194306, KEY_ENTER=4194309, KEY_ESCAPE=4194305, KEY_SPACE=32; arrows L/U/R/D=4194319/4194320/4194321/4194322; modifiers SHIFT=4194325/CTRL=4194326/ALT=4194328. Printable letters/digits use the ASCII value (A=65, 0=48). |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
godot, project-setup, baseline, conventions, quality-gates, claude-md
50 skills in this plugin
/agent-reportThe agent→orchestrator handoff protocol. A backgrounded worker's relayed result string truncates on long, tool-heavy turns, so the handoff is an artifact, not a string — the worker Writes its full report to a file, and the orchestrator reads that file directly. Load this whenever a task asks you to hand off a structured report to another agent. Any agent doing background work that must be handed off uses it — not only builders. Defines the report contract the writer follows./autonomous-main-goalThe hive's Autonomous Mode self-drive loop. When a standing Main Goal is active, evaluate it, break it into ordered slices, then on each `[Autonomous check/cavemanUltra-compressed communication mode — always active for this agent. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Drop only when interviewing the user via mcp__ui__form (labels/descriptions must be clear prose).
/godot-3d-pixelationSubViewport-based low-resolution crisp rendering of a 3D scene in Godot 4.x — the foundation of the "3D pixel art" style. Use for pixelated/retro/PSX/low-res 3D, setting SubViewport render resolution, "crisp pixels", restructuring a scene tree so 3D renders below window resolution, or when a downscaled viewport looks blurry./godot-animation-librariesImport and play skeletal animations on a sourced 3D character in Godot 4.6 — the separate-glTF workflow (one model file + anim-only files), merging anim clips into an AnimationLibrary loaded onto your own AnimationPlayer, and retargeting a foreign animation (e.g. Mixamo) onto your skeleton via SkeletonProfileHumanoid. Use when an animated rigged .glb arrives in assets/models/, when a character must stop being a static capsule and play a looping idle/walk, when animations come in their own glTF separate from the model, when a sourced animation targets a different skeleton than your character, or when an imported AnimationPlayer's clips won't play / play on the wrong bones. NOT for static-prop import (that is godot-mesh-import + its style delta), NOT for shader-time foliage sway (godot-foliage), NOT for 2D sprite-frame animation./godot-arena-spatial-designOPT-IN spatial-design principles for a combat/arena encounter space in Godot — nine measurable properties (loop topology, interior cover, partitioned sightlines, cover mix, bounded verticality, landmarks, spawn-to-engagement pacing, scale/density, choke-vs-open) that turn a flat blockout into a real firefight space. Use ONLY when the level being built is a combat/arena encounter (enemy waves, gunfights) — apply ALONGSIDE whichever build method is chosen (`godot-greybox` static default, `godot-runtime-arena` runtime, or `godot-gridmap-level` tile-fill). NOT the build mechanism itself, NOT a general level-design bar for non-combat spaces (that's `level-design-principles`).2 plugins ship this exact skill · first indexed Jul 20, 2026
npx claudepluginhub arthur0n/xenodot-forge --plugin xenodotOther plugins' skills for the same job