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.
Files changed (48) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +58 -24
  3. package/dist/bin/summer.js +4 -0
  4. package/dist/commands/doctor.d.ts +26 -0
  5. package/dist/commands/doctor.js +248 -0
  6. package/dist/commands/doctor.test.d.ts +1 -0
  7. package/dist/commands/doctor.test.js +29 -0
  8. package/dist/commands/mcp.js +49 -0
  9. package/dist/commands/setup.d.ts +2 -0
  10. package/dist/commands/setup.js +128 -0
  11. package/dist/commands/skills.js +254 -109
  12. package/dist/lib/agent-config.d.ts +39 -0
  13. package/dist/lib/agent-config.js +284 -0
  14. package/dist/lib/agent-config.test.d.ts +1 -0
  15. package/dist/lib/agent-config.test.js +80 -0
  16. package/dist/lib/api-client.d.ts +19 -2
  17. package/dist/lib/api-client.js +129 -14
  18. package/dist/lib/skills-registry.d.ts +75 -0
  19. package/dist/lib/skills-registry.js +143 -0
  20. package/dist/mcp/tools/project-tools.js +100 -23
  21. package/dist/mcp/tools/with-engine.js +3 -53
  22. package/package.json +5 -2
  23. package/skills/README.md +96 -0
  24. package/skills/_meta/skill-create/SKILL.md +143 -0
  25. package/skills/_meta/skill-improve/SKILL.md +89 -0
  26. package/skills/_meta/skill-test/SKILL.md +86 -0
  27. package/skills/_shared/collaborative-protocol.md +50 -0
  28. package/skills/_shared/gd-style.md +121 -0
  29. package/skills/_shared/godot-version.md +32 -0
  30. package/skills/_shared/mcp-tools-reference.md +133 -0
  31. package/skills/_shared/template-registry.md +40 -0
  32. package/skills/_tests/runner.md +90 -0
  33. package/skills/_tests/specs/3d-lighting.md +19 -0
  34. package/skills/_tests/specs/asset-strategy.md +19 -0
  35. package/skills/_tests/specs/fps-controller.md +100 -0
  36. package/skills/_tests/specs/gdscript-patterns.md +19 -0
  37. package/skills/_tests/specs/make-game.md +19 -0
  38. package/skills/_tests/specs/scene-composition.md +19 -0
  39. package/skills/_tests/specs/ui-basics.md +19 -0
  40. package/skills/{asset-strategy → asset-pipeline/asset-strategy}/SKILL.md +4 -5
  41. package/skills/catalog.yaml +636 -0
  42. package/skills/{fps-controller → character-controllers/fps-controller}/SKILL.md +6 -5
  43. package/skills/{3d-lighting → rendering-and-lighting/3d-lighting}/SKILL.md +5 -5
  44. package/skills/{make-game → scene-and-project/make-game}/SKILL.md +8 -8
  45. package/skills/{scene-composition → scene-and-project/scene-composition}/SKILL.md +6 -6
  46. package/skills/{gdscript-patterns → scripting-patterns/gdscript-patterns}/SKILL.md +7 -7
  47. package/skills/{ui-basics → ui-and-ux/ui-basics}/SKILL.md +5 -5
  48. /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, and node hierarchy conventions. Use when building scenes, organizing nodes, or creating reusable prefabs.
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
- - Cursor
7
- - Claude Code
8
- - Windsurf
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")` — but note: SaveScene saves the *current* scene. To save a branch, you typically save the open scene first, then in the editor you'd use "Save Branch as Scene." MCP doesn't have a direct "save branch" op—so for now, create the sub-scene as its own file via `summer_write_file` or build it in a separate scene and save.
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, and type hints. Use when writing GDScript, attaching scripts to nodes, connecting signals, or defining exported variables.
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
- - Cursor
7
- - Claude Code
8
- - Windsurf
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
- ## MCP Integration
92
+ ## Scene Integration
93
93
 
94
- When the AI adds a script via `summer_add_node` 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—use `summer_write_file` to create it first.
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 responsive UI layout. Use when building menus, HUDs, health bars, or Control-based UI in Summer Engine.
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
- - Cursor
7
- - Claude Code
8
- - Windsurf
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