summer-engine 2.0.0 → 2.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/{marketplace.json → .claude-plugin/marketplace.json} +3 -3
- package/.claude-plugin/plugin.json +37 -4
- package/.codex-plugin/plugin.json +38 -5
- package/.cursor-plugin/plugin.json +37 -4
- package/.factory-plugin/plugin.json +20 -0
- package/.opencode/INSTALL.md +9 -3
- package/.opencode/plugins/summer.js +0 -2
- package/AGENTS.md +51 -0
- package/CLAUDE.md +5 -0
- package/GEMINI.md +56 -0
- package/README.md +211 -61
- package/_persona/summer/SKILL.md +113 -0
- package/dist/commands/install.js +2 -2
- package/dist/commands/setup.js +4 -0
- package/dist/commands/skills.js +115 -2
- package/dist/lib/agent-config.d.ts +2 -2
- package/dist/lib/agent-config.js +171 -5
- package/dist/lib/skills-registry.d.ts +290 -26
- package/dist/lib/skills-registry.js +503 -1
- package/dist/mcp/tools/generate-tools.js +101 -0
- package/gemini-extension.json +2 -2
- package/package.json +9 -3
- package/skills/2d-assets/character-portrait/SKILL.md +196 -0
- package/skills/2d-assets/concept-art/SKILL.md +152 -0
- package/skills/2d-assets/pixel-art/SKILL.md +180 -0
- package/skills/2d-assets/skybox-panorama/SKILL.md +207 -0
- package/skills/2d-assets/sprite-sheet/SKILL.md +239 -0
- package/skills/2d-assets/tileable-texture/SKILL.md +205 -0
- package/skills/2d-assets/ui-graphics/SKILL.md +210 -0
- package/skills/3d-assets/character-model/SKILL.md +225 -0
- package/skills/3d-assets/environment-kit/SKILL.md +164 -0
- package/skills/3d-assets/organic-model/SKILL.md +192 -0
- package/skills/3d-assets/prop-model/SKILL.md +133 -0
- package/skills/3d-assets/vehicle-model/SKILL.md +202 -0
- package/skills/ai-and-npcs/design-npc/SKILL.md +3 -1
- package/skills/animation/animation-tree/SKILL.md +260 -0
- package/skills/animation/facial-and-lipsync/SKILL.md +282 -0
- package/skills/animation/generate-motion/SKILL.md +129 -0
- package/skills/animation/procedural-animation/SKILL.md +234 -0
- package/skills/animation/retarget/SKILL.md +172 -0
- package/skills/asset-pipeline/asset-strategy/SKILL.md +102 -212
- package/skills/audio/adaptive-music/SKILL.md +326 -0
- package/skills/audio/ambient-bed/SKILL.md +278 -0
- package/skills/audio/music-track/SKILL.md +268 -0
- package/skills/audio/sound-effect/SKILL.md +237 -0
- package/skills/audio/voice-line/SKILL.md +253 -0
- package/skills/catalog.yaml +249 -3
- package/skills/video/animated-loop/SKILL.md +200 -0
- package/skills/video/cinematic-cutscene/SKILL.md +204 -0
- package/skills/video/trailer-shot/SKILL.md +203 -0
- package/skills/visual-effects/_building-blocks/additive-billboard-particles.md +28 -0
- package/skills/visual-effects/_building-blocks/noise-3d-fbm.gdshaderinc +45 -0
- package/skills/visual-effects/_building-blocks/trauma-shake-snippet.md +51 -0
- package/skills/visual-effects/{vfx → game-feel}/SKILL.md +1 -1
- package/skills/visual-effects/recipes/dissolve/SKILL.md +349 -0
- package/skills/visual-effects/recipes/fire/SKILL.md +387 -0
- package/skills/visual-effects/recipes/hit-spark/SKILL.md +330 -0
- package/skills/visual-effects/recipes/lightning/SKILL.md +372 -0
- package/skills/visual-effects/recipes/magic-glow/SKILL.md +377 -0
- package/skills/visual-effects/recipes/muzzle-flash/SKILL.md +326 -0
- package/skills/visual-effects/recipes/smoke/SKILL.md +381 -0
- package/skills/visual-effects/recipes/water-ripple/SKILL.md +340 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/claude-code-marketplace.json",
|
|
3
|
-
"name": "summer",
|
|
3
|
+
"name": "summer-engine",
|
|
4
4
|
"description": "Summer Engine plugins for Claude Code",
|
|
5
5
|
"owner": { "name": "Summer Engine", "email": "founders@summerengine.com" },
|
|
6
6
|
"plugins": [
|
|
7
7
|
{
|
|
8
8
|
"name": "summer",
|
|
9
9
|
"source": "./",
|
|
10
|
-
"version": "2.
|
|
11
|
-
"description": "Superpowers for AI game dev.
|
|
10
|
+
"version": "2.3.0",
|
|
11
|
+
"description": "Superpowers for AI game dev. 60 auto-trigger skills under summer: namespace, MCP bridge to the local Summer Engine, session-start + pre-commit hooks.",
|
|
12
12
|
"author": { "name": "Summer Engine", "email": "founders@summerengine.com" },
|
|
13
13
|
"category": "game-development",
|
|
14
14
|
"tags": ["game-dev", "godot", "ai-game-engine"],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
|
|
3
3
|
"name": "summer",
|
|
4
|
-
"version": "2.
|
|
5
|
-
"description": "Superpowers for AI game dev.
|
|
4
|
+
"version": "2.3.0",
|
|
5
|
+
"description": "Superpowers for AI game dev. 60 auto-trigger skills + lifecycle hooks + MCP bridge to the local Summer Engine — the AI-native game engine.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Summer Engine",
|
|
8
8
|
"email": "founders@summerengine.com",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"./skills/rendering-and-lighting/art-direction/",
|
|
43
43
|
"./skills/rendering-and-lighting/3d-lighting/",
|
|
44
44
|
"./skills/audio/audio-direction/",
|
|
45
|
-
"./skills/visual-effects/
|
|
45
|
+
"./skills/visual-effects/game-feel/",
|
|
46
46
|
"./skills/performance/tune-performance/",
|
|
47
47
|
"./skills/ai-and-npcs/design-npc/",
|
|
48
48
|
"./skills/multiplayer-and-networking/setup-multiplayer/",
|
|
@@ -52,7 +52,40 @@
|
|
|
52
52
|
"./skills/character-controllers/fps-controller/",
|
|
53
53
|
"./skills/scripting-patterns/gdscript-patterns/",
|
|
54
54
|
"./skills/ui-and-ux/ui-basics/",
|
|
55
|
-
"./skills/asset-pipeline/asset-strategy/"
|
|
55
|
+
"./skills/asset-pipeline/asset-strategy/",
|
|
56
|
+
"./skills/2d-assets/concept-art/",
|
|
57
|
+
"./skills/2d-assets/character-portrait/",
|
|
58
|
+
"./skills/2d-assets/pixel-art/",
|
|
59
|
+
"./skills/2d-assets/ui-graphics/",
|
|
60
|
+
"./skills/2d-assets/tileable-texture/",
|
|
61
|
+
"./skills/2d-assets/sprite-sheet/",
|
|
62
|
+
"./skills/2d-assets/skybox-panorama/",
|
|
63
|
+
"./skills/3d-assets/prop-model/",
|
|
64
|
+
"./skills/3d-assets/character-model/",
|
|
65
|
+
"./skills/3d-assets/environment-kit/",
|
|
66
|
+
"./skills/3d-assets/vehicle-model/",
|
|
67
|
+
"./skills/3d-assets/organic-model/",
|
|
68
|
+
"./skills/animation/generate-motion/",
|
|
69
|
+
"./skills/animation/retarget/",
|
|
70
|
+
"./skills/animation/animation-tree/",
|
|
71
|
+
"./skills/animation/procedural-animation/",
|
|
72
|
+
"./skills/animation/facial-and-lipsync/",
|
|
73
|
+
"./skills/audio/sound-effect/",
|
|
74
|
+
"./skills/audio/music-track/",
|
|
75
|
+
"./skills/audio/ambient-bed/",
|
|
76
|
+
"./skills/audio/voice-line/",
|
|
77
|
+
"./skills/audio/adaptive-music/",
|
|
78
|
+
"./skills/video/cinematic-cutscene/",
|
|
79
|
+
"./skills/video/trailer-shot/",
|
|
80
|
+
"./skills/video/animated-loop/",
|
|
81
|
+
"./skills/visual-effects/recipes/fire/",
|
|
82
|
+
"./skills/visual-effects/recipes/muzzle-flash/",
|
|
83
|
+
"./skills/visual-effects/recipes/water-ripple/",
|
|
84
|
+
"./skills/visual-effects/recipes/lightning/",
|
|
85
|
+
"./skills/visual-effects/recipes/dissolve/",
|
|
86
|
+
"./skills/visual-effects/recipes/smoke/",
|
|
87
|
+
"./skills/visual-effects/recipes/hit-spark/",
|
|
88
|
+
"./skills/visual-effects/recipes/magic-glow/"
|
|
56
89
|
],
|
|
57
90
|
"hooks": "./hooks/hooks.json",
|
|
58
91
|
"mcpServers": "./.mcp.json",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "summer",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Superpowers for AI game dev.
|
|
3
|
+
"version": "2.3.0",
|
|
4
|
+
"description": "Superpowers for AI game dev. 60 auto-trigger skills, MCP bridge to the local Summer Engine, lifecycle hooks. Build games by talking.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Summer Engine",
|
|
7
7
|
"email": "founders@summerengine.com",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"./skills/rendering-and-lighting/art-direction/",
|
|
32
32
|
"./skills/rendering-and-lighting/3d-lighting/",
|
|
33
33
|
"./skills/audio/audio-direction/",
|
|
34
|
-
"./skills/visual-effects/
|
|
34
|
+
"./skills/visual-effects/game-feel/",
|
|
35
35
|
"./skills/performance/tune-performance/",
|
|
36
36
|
"./skills/ai-and-npcs/design-npc/",
|
|
37
37
|
"./skills/multiplayer-and-networking/setup-multiplayer/",
|
|
@@ -41,14 +41,47 @@
|
|
|
41
41
|
"./skills/character-controllers/fps-controller/",
|
|
42
42
|
"./skills/scripting-patterns/gdscript-patterns/",
|
|
43
43
|
"./skills/ui-and-ux/ui-basics/",
|
|
44
|
-
"./skills/asset-pipeline/asset-strategy/"
|
|
44
|
+
"./skills/asset-pipeline/asset-strategy/",
|
|
45
|
+
"./skills/2d-assets/concept-art/",
|
|
46
|
+
"./skills/2d-assets/character-portrait/",
|
|
47
|
+
"./skills/2d-assets/pixel-art/",
|
|
48
|
+
"./skills/2d-assets/ui-graphics/",
|
|
49
|
+
"./skills/2d-assets/tileable-texture/",
|
|
50
|
+
"./skills/2d-assets/sprite-sheet/",
|
|
51
|
+
"./skills/2d-assets/skybox-panorama/",
|
|
52
|
+
"./skills/3d-assets/prop-model/",
|
|
53
|
+
"./skills/3d-assets/character-model/",
|
|
54
|
+
"./skills/3d-assets/environment-kit/",
|
|
55
|
+
"./skills/3d-assets/vehicle-model/",
|
|
56
|
+
"./skills/3d-assets/organic-model/",
|
|
57
|
+
"./skills/animation/generate-motion/",
|
|
58
|
+
"./skills/animation/retarget/",
|
|
59
|
+
"./skills/animation/animation-tree/",
|
|
60
|
+
"./skills/animation/procedural-animation/",
|
|
61
|
+
"./skills/animation/facial-and-lipsync/",
|
|
62
|
+
"./skills/audio/sound-effect/",
|
|
63
|
+
"./skills/audio/music-track/",
|
|
64
|
+
"./skills/audio/ambient-bed/",
|
|
65
|
+
"./skills/audio/voice-line/",
|
|
66
|
+
"./skills/audio/adaptive-music/",
|
|
67
|
+
"./skills/video/cinematic-cutscene/",
|
|
68
|
+
"./skills/video/trailer-shot/",
|
|
69
|
+
"./skills/video/animated-loop/",
|
|
70
|
+
"./skills/visual-effects/recipes/fire/",
|
|
71
|
+
"./skills/visual-effects/recipes/muzzle-flash/",
|
|
72
|
+
"./skills/visual-effects/recipes/water-ripple/",
|
|
73
|
+
"./skills/visual-effects/recipes/lightning/",
|
|
74
|
+
"./skills/visual-effects/recipes/dissolve/",
|
|
75
|
+
"./skills/visual-effects/recipes/smoke/",
|
|
76
|
+
"./skills/visual-effects/recipes/hit-spark/",
|
|
77
|
+
"./skills/visual-effects/recipes/magic-glow/"
|
|
45
78
|
],
|
|
46
79
|
"mcpServers": "./.mcp.json",
|
|
47
80
|
"hooks": "./hooks/hooks.json",
|
|
48
81
|
"interface": {
|
|
49
82
|
"displayName": "Summer",
|
|
50
83
|
"shortDescription": "Superpowers for AI game dev. Build games by talking.",
|
|
51
|
-
"longDescription": "Summer turns Codex into a game-dev studio for Summer Engine — the AI-native game engine.
|
|
84
|
+
"longDescription": "Summer turns Codex into a game-dev studio for Summer Engine — the AI-native game engine. 60 auto-trigger skills covering brainstorm, design, build, play, debug, ship — plus a using-summer meta-skill that establishes workflow priority on session start. The MCP bridge talks to the local Summer Engine for scene mutation, asset import, render, play, and diagnostics — 38 focused tools across scene/debug/project/asset/generate, with file/git/shell/grep deferred to the host agent. Summer Engine is compatible with Godot 4.5 — write code in GDScript, drive the engine via MCP. Session-start orients the session. Pre-commit doctor (opt-in) blocks bad commits.",
|
|
52
85
|
"developerName": "Summer Engine",
|
|
53
86
|
"category": "Coding",
|
|
54
87
|
"capabilities": ["Interactive", "Read", "Write"],
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://cursor.com/schemas/cursor-plugin/plugin.json",
|
|
3
3
|
"name": "summer",
|
|
4
4
|
"displayName": "Summer",
|
|
5
|
-
"version": "2.
|
|
6
|
-
"description": "Superpowers for AI game dev.
|
|
5
|
+
"version": "2.3.0",
|
|
6
|
+
"description": "Superpowers for AI game dev. 60 auto-trigger skills + lifecycle hooks + MCP bridge to the local Summer Engine — the AI-native game engine.",
|
|
7
7
|
"author": { "name": "Summer Engine", "email": "founders@summerengine.com" },
|
|
8
8
|
"publisher": "summer-engine",
|
|
9
9
|
"homepage": "https://summerengine.com",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"./skills/rendering-and-lighting/art-direction/",
|
|
34
34
|
"./skills/rendering-and-lighting/3d-lighting/",
|
|
35
35
|
"./skills/audio/audio-direction/",
|
|
36
|
-
"./skills/visual-effects/
|
|
36
|
+
"./skills/visual-effects/game-feel/",
|
|
37
37
|
"./skills/performance/tune-performance/",
|
|
38
38
|
"./skills/ai-and-npcs/design-npc/",
|
|
39
39
|
"./skills/multiplayer-and-networking/setup-multiplayer/",
|
|
@@ -43,7 +43,40 @@
|
|
|
43
43
|
"./skills/character-controllers/fps-controller/",
|
|
44
44
|
"./skills/scripting-patterns/gdscript-patterns/",
|
|
45
45
|
"./skills/ui-and-ux/ui-basics/",
|
|
46
|
-
"./skills/asset-pipeline/asset-strategy/"
|
|
46
|
+
"./skills/asset-pipeline/asset-strategy/",
|
|
47
|
+
"./skills/2d-assets/concept-art/",
|
|
48
|
+
"./skills/2d-assets/character-portrait/",
|
|
49
|
+
"./skills/2d-assets/pixel-art/",
|
|
50
|
+
"./skills/2d-assets/ui-graphics/",
|
|
51
|
+
"./skills/2d-assets/tileable-texture/",
|
|
52
|
+
"./skills/2d-assets/sprite-sheet/",
|
|
53
|
+
"./skills/2d-assets/skybox-panorama/",
|
|
54
|
+
"./skills/3d-assets/prop-model/",
|
|
55
|
+
"./skills/3d-assets/character-model/",
|
|
56
|
+
"./skills/3d-assets/environment-kit/",
|
|
57
|
+
"./skills/3d-assets/vehicle-model/",
|
|
58
|
+
"./skills/3d-assets/organic-model/",
|
|
59
|
+
"./skills/animation/generate-motion/",
|
|
60
|
+
"./skills/animation/retarget/",
|
|
61
|
+
"./skills/animation/animation-tree/",
|
|
62
|
+
"./skills/animation/procedural-animation/",
|
|
63
|
+
"./skills/animation/facial-and-lipsync/",
|
|
64
|
+
"./skills/audio/sound-effect/",
|
|
65
|
+
"./skills/audio/music-track/",
|
|
66
|
+
"./skills/audio/ambient-bed/",
|
|
67
|
+
"./skills/audio/voice-line/",
|
|
68
|
+
"./skills/audio/adaptive-music/",
|
|
69
|
+
"./skills/video/cinematic-cutscene/",
|
|
70
|
+
"./skills/video/trailer-shot/",
|
|
71
|
+
"./skills/video/animated-loop/",
|
|
72
|
+
"./skills/visual-effects/recipes/fire/",
|
|
73
|
+
"./skills/visual-effects/recipes/muzzle-flash/",
|
|
74
|
+
"./skills/visual-effects/recipes/water-ripple/",
|
|
75
|
+
"./skills/visual-effects/recipes/lightning/",
|
|
76
|
+
"./skills/visual-effects/recipes/dissolve/",
|
|
77
|
+
"./skills/visual-effects/recipes/smoke/",
|
|
78
|
+
"./skills/visual-effects/recipes/hit-spark/",
|
|
79
|
+
"./skills/visual-effects/recipes/magic-glow/"
|
|
47
80
|
],
|
|
48
81
|
"hooks": "./hooks/hooks-cursor.json",
|
|
49
82
|
"mcpServers": "./.mcp.json"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "summer",
|
|
3
|
+
"description": "Superpowers for AI game dev. 24 auto-trigger skills + lifecycle hooks + MCP bridge to the local Summer Engine — the AI-native game engine.",
|
|
4
|
+
"version": "2.0.1",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Summer Engine",
|
|
7
|
+
"email": "founders@summerengine.com",
|
|
8
|
+
"url": "https://summerengine.com"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://summerengine.com",
|
|
11
|
+
"repository": "https://github.com/SummerEngine/summer",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"game-dev",
|
|
15
|
+
"godot",
|
|
16
|
+
"ai-game-engine",
|
|
17
|
+
"skills",
|
|
18
|
+
"mcp"
|
|
19
|
+
]
|
|
20
|
+
}
|
package/.opencode/INSTALL.md
CHANGED
|
@@ -14,9 +14,15 @@ Then add the plugin to your `opencode.json`:
|
|
|
14
14
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
|
-
"plugin": [
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
"plugin": ["summer-engine"]
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
OpenCode resolves `summer-engine` via the package's `main` field, which points to the Summer plugin entry. You can also pin to git for unreleased changes:
|
|
22
|
+
|
|
23
|
+
```json
|
|
24
|
+
{
|
|
25
|
+
"plugin": ["summer-engine@git+https://github.com/SummerEngine/summer.git"]
|
|
20
26
|
}
|
|
21
27
|
```
|
|
22
28
|
|
package/AGENTS.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Summer — Agent Context
|
|
2
|
+
|
|
3
|
+
This file is for any AI agent that loads context from `AGENTS.md` (Codex CLI, Factory Droid, etc). It mirrors the Summer onboarding rules — see `GEMINI.md` for the same content keyed for Gemini.
|
|
4
|
+
|
|
5
|
+
## What you're working with
|
|
6
|
+
|
|
7
|
+
**Summer Engine** is the AI-native game engine the user is building in. Editor, scene graph, asset pipeline, and runtime are all instrumented for programmatic control via the `summer-engine` MCP server. Summer Engine is compatible with Godot 4.5 — projects use GDScript (`.gd`), C# (`.cs`), scenes (`.tscn`/`.scn`), and resources (`.tres`/`.res`). Write code in those languages; talk to the engine through MCP tools.
|
|
8
|
+
|
|
9
|
+
## Critical rules
|
|
10
|
+
|
|
11
|
+
1. **Always check for a relevant Summer skill before responding.** Even a 1% chance a skill applies = invoke it. Start with `summer:using-summer` on every fresh Summer Engine session.
|
|
12
|
+
2. **The user owns fix decisions.** Diagnose first, propose, ask, then edit.
|
|
13
|
+
3. **Don't grep the whole project before reading the actual error.** Use `summer_get_script_errors` first.
|
|
14
|
+
4. **Don't edit `.tscn` files directly while the engine is running.** Use the `summer_*` MCP tools — direct edits get overwritten when the editor saves.
|
|
15
|
+
5. **Never call `summer_set_resource_property` against an inline `sub_resource`** — it silently drops the value. Instantiate via `summer_set_prop` with a class-name string first.
|
|
16
|
+
|
|
17
|
+
## Skill priority
|
|
18
|
+
|
|
19
|
+
- **Process** (`brainstorm-game`, `debug`, `play`) → how to approach.
|
|
20
|
+
- **Discipline** (`gdscript-patterns`, `scene-composition`, `art-direction`) → how to shape it.
|
|
21
|
+
- **Build** (`fps-controller`, `design-mechanic`, `design-level`, `setup-multiplayer`, `vfx`, `tune-performance`, `export-and-ship`) → produce the artifact.
|
|
22
|
+
|
|
23
|
+
## MCP tool palette (engine on `localhost:6550`)
|
|
24
|
+
|
|
25
|
+
37 tools total. Categories:
|
|
26
|
+
|
|
27
|
+
- Scene: `summer_add_node`, `summer_set_prop`, `summer_set_resource_property`, `summer_remove_node`, `summer_save_scene`, `summer_open_scene`, `summer_replace_node`, `summer_inspect_node`, `summer_inspect_resource`, `summer_get_scene_tree`, `summer_batch`, `summer_select_node`, `summer_instantiate_scene`, `summer_connect_signal`.
|
|
28
|
+
- Diagnostics: `summer_get_script_errors`, `summer_get_diagnostics`, `summer_get_console`, `summer_clear_console`, `summer_get_debugger_errors`.
|
|
29
|
+
- Runtime: `summer_play`, `summer_stop`, `summer_is_running`.
|
|
30
|
+
- Project: `summer_get_project_context`, `summer_open_main_scene`, `summer_project_setting`, `summer_input_map_bind`, `summer_get_agent_playbook`.
|
|
31
|
+
- Assets: `summer_search_assets`, `summer_import_asset`, `summer_import_from_url`, `summer_import_from_url_batch`, `summer_generate_image`, `summer_generate_3d`, `summer_generate_audio`, `summer_generate_video`, `summer_check_job`.
|
|
32
|
+
|
|
33
|
+
File ops, git, shell, and grep are NOT exposed — use the host's native tools.
|
|
34
|
+
|
|
35
|
+
## Type-system gotchas
|
|
36
|
+
|
|
37
|
+
`SetProp` values are engine-formatted strings (Godot type-system compatible), not JSON objects:
|
|
38
|
+
- `"Vector3(0, 10, 0)"`
|
|
39
|
+
- `"Color(1, 0.5, 0, 1)"` (RGBA, 4 components)
|
|
40
|
+
- `"Transform3D(1,0,0, 0,1,0, 0,0,1, 0,5,0)"`
|
|
41
|
+
|
|
42
|
+
Resources are class names: `"BoxMesh"`, `"StandardMaterial3D"`, `"CapsuleShape3D"`.
|
|
43
|
+
|
|
44
|
+
## When something is off
|
|
45
|
+
|
|
46
|
+
| Situation | Action |
|
|
47
|
+
|---|---|
|
|
48
|
+
| MCP tool returns "Summer Engine is not running" | Tell user `summer run`. Continue with non-MCP work. |
|
|
49
|
+
| Skill loads but seems wrong | Re-read it. Skills evolve. |
|
|
50
|
+
| Skill not found | Check `summer skills list`, then `summer setup <agent> --yes`. |
|
|
51
|
+
| Generic engine errors on launch | Run `summer doctor` first — usually reveals auth/port/path issues. |
|
package/CLAUDE.md
ADDED
package/GEMINI.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Summer — Context Primer for Gemini
|
|
2
|
+
|
|
3
|
+
Summer is the AI game-dev studio for **Summer Engine** — the AI-native game engine. When you see this file in a session, it means the user has installed the Summer Gemini extension and you have access to the `summer-engine` MCP server plus 24 skills under the `summer:` namespace.
|
|
4
|
+
|
|
5
|
+
## What Summer Engine is
|
|
6
|
+
|
|
7
|
+
A game engine designed for AI agents — editor, scene graph, asset pipeline, and runtime are all instrumented for programmatic control via MCP. Summer Engine is compatible with Godot 4.5: projects use GDScript (`.gd`), C# (`.cs`), scenes (`.tscn`/`.scn`), and resources (`.tres`/`.res`). Write code in those languages; talk to the engine through `summer_*` tools.
|
|
8
|
+
|
|
9
|
+
## How to behave
|
|
10
|
+
|
|
11
|
+
**Always check for a relevant Summer skill before writing code or running tools.** Skills encode discipline that matters — debug protocols, scene-composition rules, GDScript idioms Gemini regularly gets wrong. If a skill might apply, even at 1% probability, activate it via `activate_skill`.
|
|
12
|
+
|
|
13
|
+
The single most important skill to know is `summer:using-summer` — it explains the workflow, priority, and the red-flag table of rationalizations the model needs to resist. Activate it first thing in any Summer Engine session.
|
|
14
|
+
|
|
15
|
+
## Skill priority
|
|
16
|
+
|
|
17
|
+
1. **Process skills first**: `brainstorm-game`, `debug`, `play`. These determine HOW.
|
|
18
|
+
2. **Discipline skills second**: `gdscript-patterns`, `scene-composition`, `art-direction`, `audio-direction`. These shape content.
|
|
19
|
+
3. **Build skills third**: `fps-controller`, `design-mechanic`, `design-level`, `setup-multiplayer`, `vfx`, `tune-performance`, `export-and-ship`.
|
|
20
|
+
|
|
21
|
+
## MCP tools (when the engine is running on `localhost:6550`)
|
|
22
|
+
|
|
23
|
+
The `summer-engine` MCP server exposes 37 focused tools. The most important:
|
|
24
|
+
|
|
25
|
+
- **Scene mutation**: `summer_add_node`, `summer_set_prop`, `summer_set_resource_property`, `summer_remove_node`, `summer_save_scene`, `summer_replace_node`, `summer_batch`.
|
|
26
|
+
- **Scene inspection**: `summer_get_scene_tree`, `summer_inspect_node`, `summer_inspect_resource`.
|
|
27
|
+
- **Diagnostics**: `summer_get_script_errors` (cheapest), `summer_get_diagnostics`, `summer_get_console`, `summer_get_debugger_errors`.
|
|
28
|
+
- **Run game**: `summer_play`, `summer_stop`, `summer_is_running`.
|
|
29
|
+
- **Project**: `summer_get_project_context`, `summer_open_main_scene`, `summer_project_setting`, `summer_input_map_bind`.
|
|
30
|
+
- **Assets**: `summer_search_assets`, `summer_import_asset`, `summer_import_from_url`, `summer_generate_image`, `summer_generate_3d`, `summer_generate_audio`, `summer_generate_video`, `summer_check_job`.
|
|
31
|
+
|
|
32
|
+
File ops (Read/Write/Edit), git, shell, and grep are deliberately **not** exposed via MCP — Gemini already has those natively.
|
|
33
|
+
|
|
34
|
+
## Type-system traps
|
|
35
|
+
|
|
36
|
+
`SetProp` values are engine-formatted **strings** (Godot 4.5 type-system compatible):
|
|
37
|
+
|
|
38
|
+
- `"Vector3(0, 10, 0)"` — NOT `{x: 0, y: 10, z: 0}`.
|
|
39
|
+
- `"Color(1, 0.5, 0, 1)"` — RGBA, 4 components.
|
|
40
|
+
- `"Transform3D(1,0,0, 0,1,0, 0,0,1, 0,5,0)"`.
|
|
41
|
+
|
|
42
|
+
Resources are class names: `"BoxMesh"`, `"StandardMaterial3D"`, `"CapsuleShape3D"`.
|
|
43
|
+
|
|
44
|
+
**Trap**: never call `summer_set_resource_property` against an inline `sub_resource` — the value silently drops. Use `summer_set_prop` with a class-name string first to instantiate a standalone resource, then drill in.
|
|
45
|
+
|
|
46
|
+
## When the engine isn't running
|
|
47
|
+
|
|
48
|
+
Tools return "Summer Engine is not running." Tell the user to run `summer run` (or open the engine and load the project), then continue with non-MCP work in the meantime. Do NOT fall back to editing `.tscn` files directly — the editor holds in-memory state that diverges from disk.
|
|
49
|
+
|
|
50
|
+
## Setup help
|
|
51
|
+
|
|
52
|
+
If skills aren't loading or the MCP server fails:
|
|
53
|
+
|
|
54
|
+
- `npm install -g summer-engine` — global CLI.
|
|
55
|
+
- `summer setup gemini --yes` — writes the right MCP config.
|
|
56
|
+
- `summer doctor` — reports auth, engine, port, skill state.
|