@babylonjs-toolkit/agent 1.1.12 → 1.1.14
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/README.md +30 -8
- package/package.json +1 -1
- package/skills/bt-gauntlet/SKILL.md +173 -220
- package/skills/bt-gauntlet/references/blender-model-pipeline.md +194 -0
- package/skills/bt-gauntlet/references/critic-rubrics.md +179 -0
- package/skills/bt-gauntlet/references/loop-templates.md +131 -0
- package/skills/bt-gauntlet/references/spec-composition.md +87 -0
- package/skills/bt-gauntlet/references/target-images.md +121 -0
- package/skills/bt-gauntlet/references/unity-level-pipeline.md +285 -0
- package/skills/bt-gauntlet/references/workspace.md +133 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Babylon Toolkit Agent Skills (1.1.
|
|
1
|
+
# Babylon Toolkit Agent Skills (1.1.14)
|
|
2
2
|
|
|
3
3
|
Universal [Agent Skills](https://agentskills.io) for the `Babylon Toolkit` web game development framework.
|
|
4
4
|
Each `SKILL.md` follows the open standard, so the **same file works unchanged** in Claude Code, Codex CLI, and GitHub Copilot.
|
|
@@ -129,7 +129,7 @@ happens to be named `bt-something` is safe.
|
|
|
129
129
|
| [`bt-convert`](skills/bt-convert/SKILL.md) | `/bt-convert` | Convert source code to Babylon Toolkit TypeScript. |
|
|
130
130
|
| [`bt-copycat`](skills/bt-copycat/SKILL.md) | `/bt-copycat` | Re-create the specified website adapted to specified genre. |
|
|
131
131
|
| [`bt-landing`](skills/bt-landing/SKILL.md) | `/bt-landing` | Re-design the landing page, splash screen, preloader and custom overlays. |
|
|
132
|
-
| [`bt-gauntlet`](skills/bt-gauntlet/SKILL.md) | `/bt-gauntlet` | Agent based gauntlet loop engineering. ([usage guide](
|
|
132
|
+
| [`bt-gauntlet`](skills/bt-gauntlet/SKILL.md) | `/bt-gauntlet` | Agent based gauntlet loop engineering — web games, Unity levels, or Blender models. ([usage guide](#babylon-toolkit-loop-engineering-gauntlet-loop)) |
|
|
133
133
|
| [`bt-prototype`](skills/bt-prototype/SKILL.md) | `/bt-prototype` | Create any number of award winning frontend prototypes. |
|
|
134
134
|
| [`bt-design`](skills/bt-design/SKILL.md) | `/bt-design` | Implement high quality frontend and in-game designs. |
|
|
135
135
|
| [`bt-hero`](skills/bt-hero/SKILL.md) | `/bt-hero` | Create smooth cinematic 3D scrolling hero sections. |
|
|
@@ -187,7 +187,28 @@ Where each tool looks for PROJECT-LOCAL skills (only when the user explicitly re
|
|
|
187
187
|
|
|
188
188
|
# Babylon Toolkit Loop Engineering (Gauntlet Loop)
|
|
189
189
|
|
|
190
|
-
**What it is in one line:** you give it a
|
|
190
|
+
**What it is in one line:** you give it a brief and a quality bar; it interviews you, locks a **target image** and the **cameras** every screenshot is taken from, writes a loop card, then runs rounds of *build → capture real evidence → fresh harsh critic scores a rubric and returns the full gap list → record* until the success condition passes or a boundary fires — building with **BabylonJS + the Babylon Toolkit, never Three.js**. All state lives in `_gauntlet/<name>/`, so you can stop any time and resume days or weeks later.
|
|
191
|
+
|
|
192
|
+
### Three deliverable kinds, one loop
|
|
193
|
+
|
|
194
|
+
The round protocol, critic contract, stall ladder and resume machinery are identical in every case. What changes is what the builder edits and how evidence is produced — settled in the interview and recorded in the loop card.
|
|
195
|
+
|
|
196
|
+
| Kind | The builder edits | Evidence is |
|
|
197
|
+
| --- | --- | --- |
|
|
198
|
+
| `web-game` | BabylonJS / Toolkit TypeScript, scene code, shaders, UI | the running game in a browser |
|
|
199
|
+
| `unity-level` | a Unity scene via the Unity CLI — terrain, light rig, reflection probes, bake settings, fog, tonemapping | the **exported** level served over the toolkit dev server, plus the exported scene metadata |
|
|
200
|
+
| `blender-model` | a `.blend`/FBX via headless Blender — geometry, UVs, PBR maps, LODs, skinning | the asset loaded in BabylonJS under a frozen lighting rig |
|
|
201
|
+
|
|
202
|
+
Each kind has its own prerequisite gate, part taxonomy and failure table in `skills/bt-gauntlet/references/`.
|
|
203
|
+
|
|
204
|
+
### How a part is judged
|
|
205
|
+
|
|
206
|
+
- **The bar is an image, and it is locked.** No prose bars. If you have no reference media it generates one (a real in-engine screenshot, never concept art), then freezes it for the run.
|
|
207
|
+
- **Evidence comes from locked cameras.** Three to five named cameras with exact transforms; a frame shot from anywhere else is inadmissible.
|
|
208
|
+
- **A scored rubric, not a vibe.** Composition / Lighting & Atmosphere / Materials / Detail / Motion, out of 10 (models get their own axes). Default pass mark 8.0.
|
|
209
|
+
- **The critic returns the whole gap list**, prioritised and actionable — not one gap per round — and it sees the previous round's score and screenshot so regressions are caught.
|
|
210
|
+
- **Hard gates are separate from the score**: perf budget, console clean, camera lock, component authority, and the pipeline's own gate (e.g. did the change actually cross the Unity export boundary).
|
|
211
|
+
- **A stall ladder forces adaptation.** No full-point gain in two rounds, or the same top gap named twice → incremental tweaks are forbidden and one architectural change is required. If that fails too → it stops and asks you.
|
|
191
212
|
|
|
192
213
|
---
|
|
193
214
|
|
|
@@ -202,7 +223,7 @@ could think of.
|
|
|
202
223
|
|
|
203
224
|
What happens:
|
|
204
225
|
|
|
205
|
-
1. It derives a job name from the brief (e.g. `cod-fps`) and runs the **interview** — deliverable, objective,
|
|
226
|
+
1. It derives a job name from the brief (e.g. `cod-fps`) and runs the **interview** — deliverable kind and deliverable, objective, the target image and locked cameras (attach screenshots, or let it generate the target), rubric and pass threshold, success condition, boundaries, kind-specific questions, loop mechanics.
|
|
206
227
|
2. It shows you the filled **loop card** and waits for your confirmation.
|
|
207
228
|
3. It runs up to **5 rounds** (the default session cap), then parks with a status report and the exact resume command.
|
|
208
229
|
|
|
@@ -212,13 +233,13 @@ Name it yourself and pick the template explicitly:
|
|
|
212
233
|
/bt-gauntlet --name:cod-fps --template:gauntlet I want you to build a first-person shooter ...
|
|
213
234
|
```
|
|
214
235
|
|
|
215
|
-
Attach reference screenshots/clips with the message — they become the
|
|
236
|
+
Attach reference screenshots/clips with the message — they become the locked target in `_gauntlet/cod-fps/reference/`. If you attach nothing, the interview generates the target instead and shows it to you before anything is built.
|
|
216
237
|
|
|
217
238
|
## 2. Choose a template
|
|
218
239
|
|
|
219
240
|
| | `--template:gauntlet` (default) | `--template:bounded` |
|
|
220
241
|
| --- | --- | --- |
|
|
221
|
-
| Style | Full Shumer-style: decompose into parts, fan out builders, fresh harsh critic per part,
|
|
242
|
+
| Style | Full Shumer-style: decompose into parts, fan out builders, fresh harsh critic per part, scored against the locked target | Single-track loop card: one coherent improvement per round against an objective/metric/boundary checklist |
|
|
222
243
|
| Best for | One ambitious visual artifact chasing a reference bar ("CoD-level FPS") | Reliability- and cost-sensitive work with objective verifiers ("60 FPS, zero console errors, all checks green") |
|
|
223
244
|
| Cost profile | Heavier (builder + critic subagents per part) | Lighter (one improvement, one verifier per round) |
|
|
224
245
|
|
|
@@ -387,8 +408,9 @@ This is an operator convenience you apply from the outside. The SKILL.md deliber
|
|
|
387
408
|
In order of precedence, a round's gate check ends things when:
|
|
388
409
|
|
|
389
410
|
1. **Success condition met** → one final fresh **integration critic** inspects the whole game for seams and consistency → report DONE with the evidence summary.
|
|
390
|
-
2. **
|
|
391
|
-
3. **
|
|
411
|
+
2. **The stall ladder reaches STALLED** — an architectural change was forced after two flat rounds (or the same top gap twice) and still did not move the score → park + escalate, rather than burn rounds guessing at another big swing.
|
|
412
|
+
3. **A loop-card boundary fires** (total rounds exhausted, attempts-per-part hit without a new strategy, repeated blocker, permission needed) → park + escalate to you with specifics.
|
|
413
|
+
4. **The `--rounds` session cap is reached** → park cleanly and print `/bt-gauntlet --resume <name>`.
|
|
392
414
|
|
|
393
415
|
Deploy, spending, credentials, deletion, and messaging are always behind your explicit approval, no matter what the brief says.
|
|
394
416
|
|
package/package.json
CHANGED