summer-engine 1.2.1 → 1.3.1
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 +7 -2
- package/dist/bin/summer.js +24 -1
- package/dist/commands/doctor.js +44 -20
- package/dist/commands/setup.js +77 -6
- package/dist/commands/skills.js +14 -6
- package/dist/lib/format.d.ts +23 -0
- package/dist/lib/format.js +60 -0
- package/dist/lib/format.test.d.ts +1 -0
- package/dist/lib/format.test.js +36 -0
- package/dist/lib/skills-registry.d.ts +33 -11
- package/dist/lib/skills-registry.js +71 -11
- package/package.json +1 -1
- 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/debug.md +94 -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/play.md +88 -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 +5 -5
- package/skills/catalog.yaml +646 -0
- package/skills/{fps-controller → character-controllers/fps-controller}/SKILL.md +7 -5
- package/skills/debugging/debug/SKILL.md +137 -0
- package/skills/{3d-lighting → rendering-and-lighting/3d-lighting}/SKILL.md +6 -5
- package/skills/{make-game → scene-and-project/make-game}/SKILL.md +6 -5
- package/skills/scene-and-project/play/SKILL.md +108 -0
- package/skills/{scene-composition → scene-and-project/scene-composition}/SKILL.md +6 -5
- package/skills/{gdscript-patterns → scripting-patterns/gdscript-patterns}/SKILL.md +6 -5
- package/skills/{ui-basics → ui-and-ux/ui-basics}/SKILL.md +6 -5
- /package/skills/{gdscript-patterns → scripting-patterns/gdscript-patterns}/reference.md +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Skill Spec: /make-game
|
|
2
|
+
|
|
3
|
+
> Stub spec. Expand with Happy / Failure / Edge cases. See `fps-controller.md` for the canonical format.
|
|
4
|
+
|
|
5
|
+
## Fixture
|
|
6
|
+
|
|
7
|
+
- TBD
|
|
8
|
+
|
|
9
|
+
## Case 1: Happy Path
|
|
10
|
+
|
|
11
|
+
**Input:** "<typical user prompt>"
|
|
12
|
+
|
|
13
|
+
**Expected MCP tool sequence (in order):**
|
|
14
|
+
|
|
15
|
+
1. TBD
|
|
16
|
+
|
|
17
|
+
**Assertions:**
|
|
18
|
+
|
|
19
|
+
- [ ] TBD
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Skill Spec: /play
|
|
2
|
+
|
|
3
|
+
## Fixture
|
|
4
|
+
|
|
5
|
+
- A Godot/Summer project with a main scene set in `project.godot`.
|
|
6
|
+
- Summer Engine running, MCP available.
|
|
7
|
+
|
|
8
|
+
## Case 1: Happy Path — clean run
|
|
9
|
+
|
|
10
|
+
**Fixture:** Project compiles cleanly. Game is not currently running.
|
|
11
|
+
|
|
12
|
+
**Input:** "Play."
|
|
13
|
+
|
|
14
|
+
**Expected MCP tool sequence (in order):**
|
|
15
|
+
|
|
16
|
+
1. `summer_is_running` — false
|
|
17
|
+
2. `summer_get_script_errors` — clean
|
|
18
|
+
3. `summer_clear_console`
|
|
19
|
+
4. `summer_play`
|
|
20
|
+
5. (~2 second wait)
|
|
21
|
+
6. `summer_get_diagnostics`
|
|
22
|
+
7. `summer_get_debugger_errors`
|
|
23
|
+
8. (Skill reports "Running. No errors or warnings.")
|
|
24
|
+
|
|
25
|
+
**Assertions:**
|
|
26
|
+
|
|
27
|
+
- [ ] First call is `summer_is_running` to avoid double-launch.
|
|
28
|
+
- [ ] `summer_get_script_errors` runs BEFORE `summer_play` (avoid noisy fail).
|
|
29
|
+
- [ ] `summer_clear_console` runs before `summer_play` (so post-run output is clean).
|
|
30
|
+
- [ ] Skill waits before reading post-play state (≥1 second).
|
|
31
|
+
- [ ] Skill does NOT call `summer_stop` on its own.
|
|
32
|
+
- [ ] Skill reports state in one short sentence, doesn't dump raw tool output.
|
|
33
|
+
|
|
34
|
+
## Case 2: Failure — game is already running
|
|
35
|
+
|
|
36
|
+
**Fixture:** Game already running.
|
|
37
|
+
|
|
38
|
+
**Input:** "Play."
|
|
39
|
+
|
|
40
|
+
**Expected behavior:**
|
|
41
|
+
|
|
42
|
+
- `summer_is_running` returns true.
|
|
43
|
+
- Skill asks: "It's already playing. Stop and restart, or leave it?"
|
|
44
|
+
- Waits for user.
|
|
45
|
+
- On "leave it": no further calls. On "stop and restart": `summer_stop`, then continues from step 2.
|
|
46
|
+
|
|
47
|
+
**Assertions:**
|
|
48
|
+
|
|
49
|
+
- [ ] Skill does not unilaterally restart.
|
|
50
|
+
- [ ] Skill does not unilaterally `summer_stop` without asking.
|
|
51
|
+
|
|
52
|
+
## Case 3: Compile error before play
|
|
53
|
+
|
|
54
|
+
**Fixture:** Script error in `scripts/player.gd:14` (typo). Game not running.
|
|
55
|
+
|
|
56
|
+
**Input:** "Play."
|
|
57
|
+
|
|
58
|
+
**Expected behavior:**
|
|
59
|
+
|
|
60
|
+
- `summer_is_running` → false.
|
|
61
|
+
- `summer_get_script_errors` → returns error.
|
|
62
|
+
- Skill stops, surfaces the error, suggests `/debug`.
|
|
63
|
+
- Does NOT call `summer_play` (would just produce more noise).
|
|
64
|
+
|
|
65
|
+
**Assertions:**
|
|
66
|
+
|
|
67
|
+
- [ ] No `summer_play` call when script errors are present.
|
|
68
|
+
- [ ] Error message is one line, not raw tool output.
|
|
69
|
+
- [ ] Skill explicitly mentions `/debug` as the next move.
|
|
70
|
+
|
|
71
|
+
## Case 4: Runtime crash
|
|
72
|
+
|
|
73
|
+
**Fixture:** Compiles fine. Game crashes on first frame (e.g. null pointer in `_ready`).
|
|
74
|
+
|
|
75
|
+
**Input:** "Play."
|
|
76
|
+
|
|
77
|
+
**Expected behavior:**
|
|
78
|
+
|
|
79
|
+
- Steps 1–5 run normally.
|
|
80
|
+
- `summer_get_debugger_errors` returns a stack trace.
|
|
81
|
+
- Skill reports the crash in one line and offers `/debug`.
|
|
82
|
+
- Does NOT auto-`summer_stop` — the user might want to inspect.
|
|
83
|
+
|
|
84
|
+
**Assertions:**
|
|
85
|
+
|
|
86
|
+
- [ ] Skill detects the crash via `summer_get_debugger_errors`, not by absence of output.
|
|
87
|
+
- [ ] Crash report is concise: error class, location, message.
|
|
88
|
+
- [ ] Skill explicitly mentions `/debug` as the next move.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Skill Spec: /scene-composition
|
|
2
|
+
|
|
3
|
+
> Stub spec. Expand with Happy / Failure / Edge cases. See `fps-controller.md` for the canonical format.
|
|
4
|
+
|
|
5
|
+
## Fixture
|
|
6
|
+
|
|
7
|
+
- TBD
|
|
8
|
+
|
|
9
|
+
## Case 1: Happy Path
|
|
10
|
+
|
|
11
|
+
**Input:** "<typical user prompt>"
|
|
12
|
+
|
|
13
|
+
**Expected MCP tool sequence (in order):**
|
|
14
|
+
|
|
15
|
+
1. TBD
|
|
16
|
+
|
|
17
|
+
**Assertions:**
|
|
18
|
+
|
|
19
|
+
- [ ] TBD
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Skill Spec: /ui-basics
|
|
2
|
+
|
|
3
|
+
> Stub spec. Expand with Happy / Failure / Edge cases. See `fps-controller.md` for the canonical format.
|
|
4
|
+
|
|
5
|
+
## Fixture
|
|
6
|
+
|
|
7
|
+
- TBD
|
|
8
|
+
|
|
9
|
+
## Case 1: Happy Path
|
|
10
|
+
|
|
11
|
+
**Input:** "<typical user prompt>"
|
|
12
|
+
|
|
13
|
+
**Expected MCP tool sequence (in order):**
|
|
14
|
+
|
|
15
|
+
1. TBD
|
|
16
|
+
|
|
17
|
+
**Assertions:**
|
|
18
|
+
|
|
19
|
+
- [ ] TBD
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: asset-strategy
|
|
3
|
-
description: Decision guide for how to create different game asset types
|
|
3
|
+
description: Decision guide for how to create different game asset types — generated 3D, library search, AI textures, or primitives. Use when planning asset creation, picking an asset pipeline, or writing image-to-3D prompts. Trigger on "assets", "3D models", "textures", "art pipeline".
|
|
4
4
|
license: MIT
|
|
5
|
-
compatibility:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
compatibility: [Cursor, Claude Code, Windsurf, Codex]
|
|
6
|
+
category: asset-pipeline
|
|
7
|
+
user-invocable: false
|
|
8
|
+
allowed-tools: Read Grep summer_search_assets summer_import_asset summer_generate_image summer_generate_3d summer_generate_audio summer_import_from_url
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Asset Strategy for Summer Engine
|