/summer:verifying-scenesfrom Summer Engine
Verifies scene modifications in Godot using snapshots, diffs, screenshots, 3D audits, and shot sheets. Run before/after every mutation batch to confirm intended changes and catch side effects.
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.
summer_world_snapshot, summer_snapshot_diff, summer_get_scene_tree, runtime reads) proves facts: paths, classes, transforms, world AABBs, counts, what changed.summer_screenshot) prove appearance: composition, scale-to-the-eye, lighting, "does it read as a forest".Neither substitutes for the other. A diff can say "40 trees added at plausible positions" while the screenshot shows them all untextured magenta; a screenshot can look right while the diff reveals half the trees are unowned and will vanish on save. Run both.
Around every mutation batch (script, scene tools, import):
summer_world_snapshot — keep snapshot_id. First time in a session, also screenshot so you know the starting state.summer_snapshot_diff from_id:<id> (omit to_id — the engine snapshots now). Check the receipt against your INTENT:
added = exactly what you meant to add — no more, no less.removed = empty unless you deleted on purpose. A node you created appearing here (or missing from added after a save) is the ownership bug — see scene-scripting.changed = only nodes you touched. Unexpected entries mean your script had side effects.summer_screenshot — and LOOK at it.Snapshot ids: the engine retains the last 8 per session; unknown_snapshot means the baseline expired — take a fresh one and redo the pair.
summer_world_snapshot carries a world AABB per 3D visual. After placing or importing anything:
target_size to summer_instantiate_scene and re-check.A screenshot only shows what its camera points at. Problems behind a wall, under a prop or across the street slip past it: a door insert narrower than its frame (you see the street through the gap), a bench turned 90 degrees against the wall, a floor tile with holes over an underlay. summer_scene_audit walks every node in one read-only call and lists where to look.
summer_scene_audit scenePath:"res://...". It reads the SAVED file in a private offscreen copy, so the open tab never becomes unsaved and nothing is saved. Use root:"Block3" to audit only what you just built (the rest still counts as surroundings) and checks:[...] to rerun one check after a fix.error, warn, look, each with a node path, a world position, a reason, the evidence numbers (sizes, gaps, angles, the ray that reproduces it) and the next tool. The result is at most 5 KB; follow next_offset with offset for the next page, or narrow with min_severity:"warn".
partial in its counts ran out of editor time (budget_ms, default 3000) and covered only that share. It is not clean: rerun it alone (checks:["floor_gap"]) or with a larger budget_ms before you call that check clean.render:"sheet" returns one image of the page's first 6 issues framed from their open side (tiles labelled #n); otherwise summer_frame_nodes on the path and summer_zoom into it. A look item (orientation, a facing question) is never an answer: decide the facing yourself from the asset (summer_inspect_asset).accept:[{key, reason}] with each item's key from the page (a warn can be accepted too, an error never). The audit writes them to res://.summer/audit-accept.json; later audits count them (counts.<check>.accepted) but hide them. An accepted item comes back, marked accept_stale, when its evidence changes materially (its severity rises or its measured size moves by over 25%), so a fix that made it worse is not hidden. show_accepted:true lists them again.What the checks mean:
through_hole: rays pass the wall and reach the far side of the building.floor_gap: what a down ray hits FIRST.
floating / sunken: props 2 cm above or 3 cm into their support. Sunken names the surface the prop is buried in, seen from above.interpenetration: over 3 cm, with every piece it cuts (up to 3). Clear all of them, not only the first.exposed_edge: open outline edges of walls, bands, piers and corner blocks that nothing covers within 4-7 mm, seen from walkable space, with the reveal behind them: a 2-60 cm step (an open band end, a module out of line), a seam (the next sheet within 4 cm) or a gap to the next sheet (within 35 cm). A warning on band pieces (and on walls when depth_step agrees), a look item on walls. Repeats group per piece type. An open band end at an outside corner: add the corner piece for that band, or wrap one band past the corner by its depth.open_fixture_end: an open end of a run piece (a mesh with two or more open rims of one size: a pipe, duct or gutter section, an elbow, a tee) that nothing joins within 2.5 cm, seen from walkable space: a missing elbow, coupler, section or end piece. A piece with one rim, or rims of different sizes (a cap, a funnel, an outlet), is open by design.depth_step (look): ray rows across each facade at its band levels and every 1.25 m: band recesses and missing band runs, seams, modules standing proud, holes with something behind them. A hole next to a through_hole confirms it (that issue becomes an error). Runs a door-like opening covers are skipped.orientation: a long prop near a wall that does not run parallel to it. It never says which way to face.uv_stretch: stretched or collapsed texture an instance shows. A face that inserts normally cover is a warning where it shows.duplicate: the same scene at the same transform.z_fight: coplanar overlapping faces anywhere, including two surfaces of one mesh.
ev shows the gap, the tolerance and the viewpoint.ev.normal is the shared plane's normal and ev.nudge the axis to move along, in the world and in the piece's own frame. A window insert can share its head or a jamb with its host, not its front: nudge along nudge.local, not along the facade normal.render_priority, a depth or normal offset, a see-through (alpha) material such as a decal or overlay, or no depth test. Check that it actually renders on top.lights: more lights on a mesh than the renderer's per-object limit, and hard spot rims.transform: NaN, mirrored, non-uniform scale, far out of bounds, and pieces left at the origin: only an identity LOCAL transform under an identity parent that touches nothing and is not one of a row of siblings. Several pieces sharing that identity transform are a warning each; one alone is a look item. A module whose corner is the world origin is not flagged.resource.budget_ms: the gap detectors run last on the time the other checks leave. On a large scene the default 3000 ms may cover exposed_edge / depth_step only partly (band pieces and band rows first). Before calling a facade done, rerun checks:["exposed_edge","depth_step"] (or with budget_ms:6000) when they show partial.Every check works on any scene from its geometry, the engine's node and resource data and its materials: never node or file names, never kit metadata. The audit decides each piece's role from its shape. See-through cards (every material alpha) are dressing, upright sheets are walls, flat slabs whose tops cover their footprint are floors (a raised one with walls under it is a roof, a large one below the rest is the underlay), a piece in a wall's opening is an insert, and bands, piers and corner blocks against a facade are structure; the rest are props. When a finding looks wrong because the audit read a piece's role differently from you, judge it from the geometry, as the audit did.
| Question | Call |
|---|---|
| How does the open tab look right now? | target:"viewport" (default) |
| Is the composition/scale of a scene file right? | target:"scene" (+ scenePath, preset framing) |
| Is the lighting / mood / environment right? | target:"scene" framing:"camera" — renders through the scene's OWN camera with its REAL WorldEnvironment. Preset framings substitute a flat environment and CANNOT answer this. |
| Did this change move/add/break something — before vs after from the SAME viewpoint? | target:"scene" framing:"bookmark" bookmark_name:"<name>" (+ marks:true for numbered labels mapped to node paths) — see Stable viewpoints below |
| What does the running game show? | target:"game" (summer_play first; needs the desktop bridge) |
| Is a 2D scene or UI layout right? | target:"scene" on a 2D scene synthesizes a Camera2D and auto-fits the CanvasItem bounds (3D presets and framing:"camera" do not apply); nodePath frames one node, size sets the resolution anchors resolve against. A CanvasLayer HUD or anything input-driven: summer_play + target:"game". |
Read the confession warnings in every capture (no camera, no light, synthetic camera, project mismatch, "engine predates camera framing"). They are part of the result.
A preset framing re-fits the scene bounds on every capture, so a before/after pair drifts whenever anything moves. For comparisons that line up, fix the pose:
summer_camera_bookmark action:"save" name:"hero" (omit position/look_at to capture the current editor 3D viewport camera, or pass both as "Vector3(x, y, z)" literals). Then every capture is summer_screenshot target:"scene" framing:"bookmark" bookmark_name:"hero" — same pose, real WorldEnvironment, project-persisted (res://.summer/camera_bookmarks.json), so it survives sessions and machines. action:"list" / "delete" manage them.framing:"free" with camera_position + camera_look_at (+ fov).marks:true (cap with max_marks) and the caption lists label -> node path for the numbered tags drawn over the largest visible 3D nodes. Cite the label AND the path in your claim: "label 3 (Props/Crate_02) floats above the floor" — then fix it by that exact path. Every labelled node gets an occlusion test from the rendered camera; a label noted (hidden behind <path>) sits over whatever is in front of its node, so never cite it. 2D scenes come back marks_unsupported, not annotated.marks:true on such a build draws nothing. Do not compare, and do not read labels, across that warning.For "make this place beautiful", one screenshot is not enough evidence. Preview tools; every image comes back inline (one grid per call), rendered from the SAVED scene with its REAL WorldEnvironment and lights, and nothing in the scene changes. Save the scene before each look.
| Need | Call |
|---|---|
| Good views you do not have yet | summer_frame_shot with shot = establishing, eye_level, low_angle, detail or corridor (+ subject, or spawn for eye level). Returns the top 3 with score breakdowns, saves the best as a bookmark, renders the 3 as one sheet. |
| One node group, lit for real | summer_frame_nodes nodes:[...] direction:"front" (+ bookmark_name to keep the pose, marks:true for labels). An explicit from is checked: a caption that opens with WARNING means walls block the view or the camera stands behind a one-sided wall and looks THROUGH it; use the nearest valid from it offers. |
| All hero views at once | summer_shot_sheet shots:[{bookmark_name:"..."}, ...]. |
| What changed since last time | summer_shot_sheet ... compare_previous:true (or summer_screenshot framing:"bookmark" compare_previous:true): previous / now / difference map per bookmark, with the changed-pixel share and where. |
| Keep or reset the baseline | Plain sheets, debug views and bookmark screenshots never overwrite a bookmark's previous image (they create it when missing). Only compare_previous:true (the compared render becomes the next baseline), update_previous:true, or re-saving the bookmark's pose with summer_frame_nodes / summer_frame_shot replaces it. |
| Why a view reads badly | summer_debug_views bookmark_name:"...": beauty, lighting only, unshaded (albedo), normals, overdraw, wireframe. |
| A suspicious spot up close | summer_zoom with region:[x, y, w, h] (rendered exactly, at the region's own aspect) or mark:N (from a marks:true render of the same pose; pad 0.15, and a warning when that node is hidden): the exact sub-frustum at full resolution. Read the real zoom and any widened_because in the caption. |
summer_frame_shot for each shot type that matters (an establishing wide, the player's eye at spawn, a corridor per street or lane, a low-angle hero of the landmark, a detail of the best prop). Read the score breakdown and the rejection counts; a pose a wall blocks never ranks, and neither does a camera behind or inside a one-sided wall (behind_surface, inside_volume: the renderer does not draw a wall's back, so that image would look through it). The top 3 are three different views (one per side while the score allows); the light term prefers side or front-side key light, the edge term penalises sky or void below the horizon.summer_shot_sheet of all hero bookmarks, compare_previous:true when judging a change. Beauty comparisons use res://.summer/shots/<bookmark>.jpg. Each diagnostic view keeps its own baseline in res://.summer/shots/views/<view>/<bookmark>.jpg. A compare_previous:true render replaces it after comparing; plain sheets, debug views and screenshots in between leave it alone (pass update_previous:true to reset it on purpose).summer_debug_views: lighting shows dead-dark areas and missing pools, unshaded shows flat texture and value clashes, wireframe shows floating or duplicated pieces.summer_zoom before fixing it, and again after. Cite the mark or region in the claim.summer_frame_shot whenever the layout changes; bookmark the winners so the sheet stays pose-stable.void and clear terms flag these).Disk stays bounded: nothing is written except one previous image per bookmark and shot-sheet view (created on its first clean render, replaced only as above) and explicit save_to copies; JPEG at most 1024 px, at most 20 MB under res://.summer/shots/ (oldest evicted first); every file there is safe to delete.
The edited scene is not the running game. While the game runs:
summer_get_runtime_tree — what ACTUALLY spawned (enemies, projectiles, autoloads, pooled nodes). Runtime paths often differ from edited-scene paths.summer_inspect_runtime_node path:"/root/..." — one node's live properties: actual stats, actual position, actual flags.Inspect live instead of stopping the game — stopping usually resets the bug you are chasing. game_not_running means exactly that: summer_play, then re-run. For input-driven proof, climb to a RunVerification probe (see the playbook's rawOpsViaBatch).
When the next step depends on the engine reaching a moment — the game booting after summer_play, a long import finishing, a save landing — wait for the event instead of sleeping and re-polling:
summer_recent_events first: note its next_seq. Events are delivered live from a cursor, so one taken BEFORE the trigger is the only way not to miss a moment that arrives immediately.summer_play, the import, the save).summer_wait_for_event since:<next_seq> kinds:["play.started"] — or ["import.completed"], ["scene.saved"], ["op.applied","op.failed"] with match:{requestId}. During a playtest, wait on script.error to catch runtime script errors as they fire.timed_out: true means no matching event arrived — not that the thing did not happen. Verify with summer_is_running / diagnostics, and never claim an event you did not receive. Engines without the events channel return engine_lacks_events; fall back to the reads above.
failure_reason, terminalState) through verbatim — never soften them into "it didn't work".summer_call {"op":"docs.feedback"} (worked / worked with fixes / wrong / outdated / incomplete + a short note). Optional and fire-and-forget; if telemetry is off, move on.| Red flag | Reality |
|---|---|
| "The environment looks good" from one screenshot | Judge a shot sheet of the hero bookmarks against the beauty rubric, then debug-view the weakest. |
| "The scene is done" without a scene audit | Run summer_scene_audit, frame every error and look item up close, fix or accept each one, audit again. |
| Rotating a piece because an orientation look item said so | The audit never says which way to face. Measure the asset (summer_inspect_asset), read the kit's own notes, then decide. |
| Mutating twice in a row without a diff or screenshot between | You are compounding on an unverified base. Verify, then continue. |
| "The diff is probably fine, the script said ok" | ok:true scripts still drop unowned nodes on save. Read the diff. |
| Judging lighting from an iso/top framing | Flat substitute environment. Use framing:"camera", boot the game, or a probe. |
| Stopping the game to inspect a runtime bug | The stop resets the state. Use the runtime reads first. |
Sleeping a guessed delay after summer_play or a long op | Boot and import times vary. Wait for play.started / op.applied with summer_wait_for_event, or confirm with summer_is_running. |
| "Looks great!" with no capture in the transcript | Fabrication. Capture, look, then claim. |
Related skills: scene-scripting carries the mutation loop and ctx API this discipline wraps; playtesting-a-feature and verification-before-completion carry the broader done-claiming rules.
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 |
|---|---|
docs.feedback | summer docs feedback |
summer_debug_views | summer engine debug-views |
summer_frame_nodes | summer engine frame-nodes |
summer_frame_shot | summer engine frame-shot |
summer_get_runtime_tree | summer engine get-runtime-tree |
summer_get_scene_tree | summer engine get-scene-tree |
summer_inspect_asset | summer engine inspect-asset |
summer_inspect_runtime_node | summer engine inspect-runtime-node |
summer_instantiate_scene | summer engine instantiate-scene |
summer_is_running | summer engine is-running |
summer_camera_bookmark | summer engine list-camera-bookmarks, summer engine delete-camera-bookmark, summer engine save-camera-bookmark |
summer_play | summer engine play |
summer_recent_events | summer engine recent-events |
summer_scene_audit | summer engine scene-audit |
summer_screenshot | summer engine screenshot |
summer_shot_sheet | summer engine shot-sheet |
summer_snapshot_diff | summer engine snapshot-diff |
summer_wait_for_event | summer engine wait-for-event |
summer_world_snapshot | summer engine world-snapshot |
summer_zoom | summer engine zoom |
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