No slash command · from Summer Engine
Guides scene organization in Summer Engine: node hierarchy conventions, sub-scene extraction, reusable prefabs, and MCP-compatible parent paths.
Ships in Summer Engine. 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.
Read when SKILL.md points to them.
Organize scenes for clarity, reuse, and MCP compatibility. Follow these conventions when building levels, characters, and UI.
World (Node3D) # Root or main container
├── Camera3D # Main camera
├── DirectionalLight3D # Sun / primary light
├── WorldEnvironment # Sky, ambient, fog
├── Level (Node3D) # Level geometry
│ ├── Ground
│ ├── Walls
│ └── Platforms
├── Props (Node3D) # Placed objects (trees, crates)
├── Enemies (Node3D) # Enemy instances
└── Player # Player instance (or instantiated)
Level (Node2D)
├── TileMapLayer # Or TileMap
├── Characters
├── Props
└── Effects
CanvasLayer or Control
├── MarginContainer
│ ├── VBoxContainer
│ │ ├── Label
│ │ ├── Button
│ │ └── Button
Use ./ for paths relative to the scene root:
| Path | Meaning |
|---|---|
./ | Scene root |
./World | Child named "World" of root |
./World/Player | Player under World |
./World/Props/Tree1 | Tree1 under Props under World |
Never use /World (absolute) or World (missing ./). The engine expects ./ prefix.
Use sub-scenes (separate .tscn files) when:
Use inline nodes when:
summer_save_scene(scenePath="res://scenes/source.tscn", path="res://scenes/player.tscn"). scenePath names the scene being saved and is required; path is the optional save-as target. There is no "current scene" default.summer_instantiate_scene(scenePath="res://main.tscn", parent="./World", scene="res://scenes/player.tscn", name="Player")Practical approach: Create reusable scenes (player.tscn, enemy.tscn) as separate scene files, then instantiate them into levels.
| Use | Tool | Example |
|---|---|---|
| Built-in mesh (Box, Sphere) | AddNode + SetProp | summer_add_node type=MeshInstance3D, then summer_set_prop mesh=BoxMesh |
| Existing .tscn prefab | InstantiateScene | summer_instantiate_scene scene=res://player.tscn |
| Imported .glb model | ImportFromUrl then InstantiateScene | Import first, then instantiate |
Do not use summer_set_prop with mesh for a .glb path. Use summer_instantiate_scene for .tscn and .glb files.
summer_add_node, summer_set_prop, ...) already append one save per call, so a standalone summer_save_scene is only for a save-as or an explicit extra flushsummer_save_scene(scenePath="res://main.tscn", path="res://scenes/level1.tscn")summer_save_scene(scenePath="res://main.tscn") — scenePath is required in both formsWhen a 3D prop, character, collider, platform, wall-mounted object, shelf item,
or tight-space asset must sit flush, avoid overlap, or preserve clearance, load
the spatial-placement skill. Follow its inspect -> place -> Starcast -> correct
-> verify loop instead of judging precise placement from transforms or a
screenshot alone.
./NonExistent fails. Ensure the parent exists before adding children.path for new scenes.MCP is the preferred path, not a requirement. Hand-written .tscn text loads and
instantiates fine — including [ext_resource] lines with no uid= field,
which the engine resolves by path (verified by loading such a scene on the
shipped 4.6.1 build). Format version 3 is current.
What actually goes wrong when you hand-write scenes is mundane and checkable:
a SubResource("id") with no matching [sub_resource id="id"] block, a
parent= path naming a node that isn't declared above it, or an
[ext_resource path=...] pointing at a file that hasn't been imported yet
(--headless --import, or summer_import_from_url, before it will load).
So: use MCP when it's connected because the ops are undoable as one step and the
engine validates paths for you. When it isn't, write the .tscn and then open it
once to confirm it loads. Do not tell the user it's impossible.
When you duplicate a scene to spawn a sibling level (for example, level_1.tscn → level_2.tscn), every child instance carries its transform offset baked at the original level's coordinate system. If the source level places its player at world (223, 108, -1833) and instances a kill-volume scene at offset (512, -3, 512), those numbers are anchored to the source level's terrain origin. Drop the same kill-volume instance into a level whose player spawns at world (0, 1, 0) and the volume's wall colliders may end up slicing the new arena at world x = 0. The user sees a "glitching invisible line through the middle of the map" they can't pass through. The colliders are invisible under the floor, so visual diagnosis is hard. Only collision-walking through them reveals the problem.
Rule when copying a scene as a template:
transform = Transform3D(...) lines.(0,0,0)), or drop entirely.(0,0,0)) should drop ALL transform overrides from carry-over instances. Only re-add transforms relative to the new origin.SpringArm3D shortens the camera boom when it raycasts into geometry on the configured collision_mask. If your trees, bushes, or grass have collision so the player physically bumps them, on the same layer the SpringArm queries, the camera shortens for foliage too. Players see the camera awkwardly snap forward whenever they walk near a tree.
The pattern that works:
StaticBody3D: collision_layer = 256 (which is 2^8, layer 9).collision_mask.
CharacterBody3D: collision_mask = 259 (which is 1 + 2 + 256, Entities + Level + Foliage).collision_mask = 3 (which is 1 + 2, Entities + Level only).camera_fade) so it ghosts the mesh when it crosses the camera-to-player segment.Why per-layer split: there's no clean way to exclude a single body type from SpringArm3D's collision check via add_excluded_object for dynamically-spawned foliage. You'd have to register every tree at spawn time and re-register on level change. Layer filtering needs no upkeep.
Don't skip the player mask update. If you only move foliage to layer 9 without adding it to the player's mask, the player walks straight through trees.
This skill creates and mutates scene files. Always ask before applying: "May I create res://scenes/player.tscn and instantiate it under ./World?".
No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.
| In this skill | Command |
|---|---|
summer_add_node | summer engine add-node |
summer_create_scene | summer engine create-scene |
summer_get_scene_tree | summer engine get-scene-tree |
summer_import_from_url | summer engine import-from-url |
summer_instantiate_scene | summer engine instantiate-scene |
summer_open_scene | summer engine open-scene |
summer_save_scene | summer engine save-scene |
summer_set_prop | summer engine set-prop |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub summerengine/summer --plugin summer123 skills in this plugin
/3d-lightingLight a 3D scene: sun, omni and spot lights, WorldEnvironment, sky, shadows and ambient./adaptive-musicWire music stems to game state: combat, explore, boss and tension crossfades on a shared bus./agent-playtestingPlaytest by driving the live game: deterministic launch, frame-stamped probes, scripted or recorded input./ambient-bedGenerate a long looping location ambience (forest, dungeon, city, cave) on the Ambient bus.Other plugins' skills for the same job