summer-engine 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +58 -24
- package/dist/bin/summer.js +4 -0
- package/dist/commands/doctor.d.ts +26 -0
- package/dist/commands/doctor.js +248 -0
- package/dist/commands/doctor.test.d.ts +1 -0
- package/dist/commands/doctor.test.js +29 -0
- package/dist/commands/mcp.js +49 -0
- package/dist/commands/setup.d.ts +2 -0
- package/dist/commands/setup.js +128 -0
- package/dist/commands/skills.js +254 -109
- package/dist/lib/agent-config.d.ts +39 -0
- package/dist/lib/agent-config.js +284 -0
- package/dist/lib/agent-config.test.d.ts +1 -0
- package/dist/lib/agent-config.test.js +80 -0
- package/dist/lib/api-client.d.ts +19 -2
- package/dist/lib/api-client.js +129 -14
- package/dist/lib/skills-registry.d.ts +75 -0
- package/dist/lib/skills-registry.js +143 -0
- package/dist/mcp/tools/project-tools.js +100 -23
- package/dist/mcp/tools/with-engine.js +3 -53
- package/package.json +5 -2
- package/skills/README.md +96 -0
- package/skills/_meta/skill-create/SKILL.md +143 -0
- package/skills/_meta/skill-improve/SKILL.md +89 -0
- package/skills/_meta/skill-test/SKILL.md +86 -0
- package/skills/_shared/collaborative-protocol.md +50 -0
- package/skills/_shared/gd-style.md +121 -0
- package/skills/_shared/godot-version.md +32 -0
- package/skills/_shared/mcp-tools-reference.md +133 -0
- package/skills/_shared/template-registry.md +40 -0
- package/skills/_tests/runner.md +90 -0
- package/skills/_tests/specs/3d-lighting.md +19 -0
- package/skills/_tests/specs/asset-strategy.md +19 -0
- package/skills/_tests/specs/fps-controller.md +100 -0
- package/skills/_tests/specs/gdscript-patterns.md +19 -0
- package/skills/_tests/specs/make-game.md +19 -0
- package/skills/_tests/specs/scene-composition.md +19 -0
- package/skills/_tests/specs/ui-basics.md +19 -0
- package/skills/{asset-strategy → asset-pipeline/asset-strategy}/SKILL.md +4 -5
- package/skills/catalog.yaml +636 -0
- package/skills/{fps-controller → character-controllers/fps-controller}/SKILL.md +6 -5
- package/skills/{3d-lighting → rendering-and-lighting/3d-lighting}/SKILL.md +5 -5
- package/skills/{make-game → scene-and-project/make-game}/SKILL.md +8 -8
- package/skills/{scene-composition → scene-and-project/scene-composition}/SKILL.md +6 -6
- package/skills/{gdscript-patterns → scripting-patterns/gdscript-patterns}/SKILL.md +7 -7
- package/skills/{ui-basics → ui-and-ux/ui-basics}/SKILL.md +5 -5
- /package/skills/{gdscript-patterns → scripting-patterns/gdscript-patterns}/reference.md +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scene-composition
|
|
3
|
-
description: How to structure scenes, when to use sub-scenes,
|
|
3
|
+
description: How to structure scenes, when to use sub-scenes, node hierarchy conventions, and reusable prefabs. Use when building scenes, organizing nodes, or creating instanced prefabs. Trigger on "scene", "sub-scene", "instance", "prefab", "node hierarchy".
|
|
4
4
|
license: MIT
|
|
5
|
-
compatibility:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
compatibility: [Cursor, Claude Code, Windsurf, Codex]
|
|
6
|
+
category: scene-and-project
|
|
7
|
+
allowed-tools: Read Grep summer_create_scene summer_open_scene summer_get_scene_tree summer_add_node summer_instantiate_scene summer_save_scene
|
|
8
|
+
paths: ["**/*.tscn"]
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Scene Composition for Summer Engine
|
|
@@ -79,7 +79,7 @@ Use `./` for paths relative to the scene root:
|
|
|
79
79
|
|
|
80
80
|
1. Build the hierarchy in the main scene
|
|
81
81
|
2. Select the root of what you want to extract
|
|
82
|
-
3. Save as scene: `summer_save_scene(path="res://scenes/player.tscn")
|
|
82
|
+
3. Save as scene: `summer_save_scene(path="res://scenes/player.tscn")`. SaveScene saves the current open scene, so build reusable scenes in their own open scene and save them there. Do not handwrite `.tscn` files as the preferred path.
|
|
83
83
|
4. In the main scene, add it with `summer_instantiate_scene(parent="./World", scene="res://scenes/player.tscn", name="Player")`
|
|
84
84
|
|
|
85
85
|
**Practical approach:** Create reusable scenes (player.tscn, enemy.tscn) as separate scene files, then instantiate them into levels.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gdscript-patterns
|
|
3
|
-
description: Common GDScript idioms, signals, exports,
|
|
3
|
+
description: Common GDScript idioms — type hints, signals, exports, onready, lifecycle methods, naming conventions. Use when writing GDScript, attaching scripts, or refactoring untyped code. Trigger on "GDScript", "script", "signals", "exports".
|
|
4
4
|
license: MIT
|
|
5
|
-
compatibility:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
compatibility: [Cursor, Claude Code, Windsurf, Codex]
|
|
6
|
+
category: scripting-patterns
|
|
7
|
+
allowed-tools: Read Grep summer_get_script_errors
|
|
8
|
+
paths: ["**/*.gd"]
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# GDScript Patterns for Summer Engine
|
|
@@ -89,8 +89,8 @@ var siblings = get_parent().get_children()
|
|
|
89
89
|
|
|
90
90
|
For health systems, input handling, and state machines, see [reference.md](reference.md).
|
|
91
91
|
|
|
92
|
-
##
|
|
92
|
+
## Scene Integration
|
|
93
93
|
|
|
94
|
-
When the AI adds a
|
|
94
|
+
When the AI adds a node with Summer MCP tools and attaches a script, the script path is set via `summer_set_prop(path, "script", "res://path/to/script.gd")`. The script file must exist first. Create or edit `.gd` files with the host agent's normal file-editing tools, then use Summer MCP only to attach the script and connect scene signals.
|
|
95
95
|
|
|
96
96
|
For signal connections, the receiver must have the handler method. Create the script with the method stub before calling `summer_connect_signal`.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ui-basics
|
|
3
|
-
description: HUD, menus, health bars, and
|
|
3
|
+
description: HUD, menus, health bars, progress bars, and Control-based UI layout. Use when building menus, HUDs, health bars, or any Control-tree UI. Trigger on "UI", "HUD", "menu", "health bar", "Control".
|
|
4
4
|
license: MIT
|
|
5
|
-
compatibility:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
compatibility: [Cursor, Claude Code, Windsurf, Codex]
|
|
6
|
+
category: ui-and-ux
|
|
7
|
+
allowed-tools: Read Grep summer_add_node summer_set_prop summer_connect_signal summer_save_scene
|
|
8
|
+
paths: ["**/*.tscn", "**/*.gd"]
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# UI Basics for Summer Engine
|
|
File without changes
|