spawnpack 0.1.15 → 0.1.16
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/package.json +1 -1
- package/templates/AGENTS.md +11 -17
- package/templates/CLAUDE.md +11 -17
package/package.json
CHANGED
package/templates/AGENTS.md
CHANGED
|
@@ -12,27 +12,22 @@
|
|
|
12
12
|
- Ask a question only when repository evidence and documentation cannot resolve choices with meaningfully different outcomes.
|
|
13
13
|
- Do not add unrelated features, refactors, abstractions, dependencies, documentation, or cleanup.
|
|
14
14
|
- Reuse existing helpers and patterns first, then the standard library or platform, then already-installed dependencies.
|
|
15
|
-
-
|
|
15
|
+
- You may suggest a production dependency when it is the smallest suitable solution, but explain why and ask the user before adding it.
|
|
16
16
|
- Keep changes local and migrate every affected caller. Remove obsolete code introduced by the changed path; do not leave compatibility shims unless requested.
|
|
17
17
|
|
|
18
18
|
## Documentation lookup
|
|
19
19
|
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
20
|
+
- Before planning or implementing any Minecraft Bedrock change, verify the current relevant documentation. This includes Script API and BP/RP JSON formats, components, events, schemas, MoLang, manifests, commands, animations, and pack behavior.
|
|
21
|
+
- Prefer Exa MCP for documentation and web research. If Exa is unavailable, use built-in web search or browsing. Use Context7 only as a last resort because its indexed documentation may lag behind current releases.
|
|
22
|
+
- Prefer current Microsoft Creator documentation and versioned references on `bedrock.dev`. For Script API, also use `https://jaylydev.github.io/scriptapi-docs/latest/`. Use `wiki.bedrock.dev` for established concepts and proven implementation patterns. Confirm stable versus preview status and the target Minecraft version.
|
|
23
|
+
- For other external libraries, frameworks, SDKs, APIs, and CLI tools, verify current official documentation before relying on unfamiliar or version-sensitive behavior.
|
|
23
24
|
|
|
24
25
|
## Verification
|
|
25
26
|
|
|
26
|
-
-
|
|
27
|
-
- For
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
- Run the full test suite only when the user asks or an existing repository policy explicitly requires it.
|
|
31
|
-
- **Do not create new test files or test cases unless the user explicitly requests tests or an existing repository policy requires them.** Never invent `*.test.*` files, assertion scripts, demos, fixtures, snapshots, or a test framework solely to prove completion.
|
|
32
|
-
- If behavior intentionally changes, update existing assertions only as needed to match the requested contract; do not expand coverage by default.
|
|
33
|
-
- Do not install or configure testing, linting, or formatting tools just to complete a task.
|
|
34
|
-
- If no relevant check exists or the environment cannot run it, state that plainly. Do not manufacture a substitute or claim unrun checks passed.
|
|
35
|
-
- Report the exact verification command or observed smoke result. Distinguish new failures from pre-existing failures.
|
|
27
|
+
- After TypeScript changes, run `tsc --noEmit`.
|
|
28
|
+
- For JavaScript, run the project's configured `npm run typecheck` or `npm run check` script when present.
|
|
29
|
+
- Do not create or run tests unless the user asks or an existing repository policy explicitly requires them.
|
|
30
|
+
- If the relevant command is unavailable or fails for a pre-existing reason, state that plainly.
|
|
36
31
|
|
|
37
32
|
## Code rules
|
|
38
33
|
|
|
@@ -47,9 +42,8 @@
|
|
|
47
42
|
## Minecraft Bedrock conventions
|
|
48
43
|
|
|
49
44
|
- Check entity validity, optional components, and unloaded blocks with guards before use.
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
- Do not add either package solely to satisfy these preferences.
|
|
45
|
+
- Prefer `@minecraft/vanilla-data` typed identifiers over raw component, entity, block, item, and effect strings.
|
|
46
|
+
- Check `@minecraft/math` before writing vector, matrix, clamp, lerp, or similar math helpers.
|
|
53
47
|
- Validate changed BP/RP JSON against the project's configured Bedrock schemas when available.
|
|
54
48
|
- In Regolith projects, inspect compilation output through `.regolith/tmp` without resolving its symlinks.
|
|
55
49
|
|
package/templates/CLAUDE.md
CHANGED
|
@@ -12,27 +12,22 @@
|
|
|
12
12
|
- Ask a question only when repository evidence and documentation cannot resolve choices with meaningfully different outcomes.
|
|
13
13
|
- Do not add unrelated features, refactors, abstractions, dependencies, documentation, or cleanup.
|
|
14
14
|
- Reuse existing helpers and patterns first, then the standard library or platform, then already-installed dependencies.
|
|
15
|
-
-
|
|
15
|
+
- You may suggest a production dependency when it is the smallest suitable solution, but explain why and ask the user before adding it.
|
|
16
16
|
- Keep changes local and migrate every affected caller. Remove obsolete code introduced by the changed path; do not leave compatibility shims unless requested.
|
|
17
17
|
|
|
18
18
|
## Documentation lookup
|
|
19
19
|
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
20
|
+
- Before planning or implementing any Minecraft Bedrock change, verify the current relevant documentation. This includes Script API and BP/RP JSON formats, components, events, schemas, MoLang, manifests, commands, animations, and pack behavior.
|
|
21
|
+
- Prefer Exa MCP for documentation and web research. If Exa is unavailable, use built-in web search or browsing. Use Context7 only as a last resort because its indexed documentation may lag behind current releases.
|
|
22
|
+
- Prefer current Microsoft Creator documentation and versioned references on `bedrock.dev`. For Script API, also use `https://jaylydev.github.io/scriptapi-docs/latest/`. Use `wiki.bedrock.dev` for established concepts and proven implementation patterns. Confirm stable versus preview status and the target Minecraft version.
|
|
23
|
+
- For other external libraries, frameworks, SDKs, APIs, and CLI tools, verify current official documentation before relying on unfamiliar or version-sensitive behavior.
|
|
23
24
|
|
|
24
25
|
## Verification
|
|
25
26
|
|
|
26
|
-
-
|
|
27
|
-
- For
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
- Run the full test suite only when the user asks or an existing repository policy explicitly requires it.
|
|
31
|
-
- **Do not create new test files or test cases unless the user explicitly requests tests or an existing repository policy requires them.** Never invent `*.test.*` files, assertion scripts, demos, fixtures, snapshots, or a test framework solely to prove completion.
|
|
32
|
-
- If behavior intentionally changes, update existing assertions only as needed to match the requested contract; do not expand coverage by default.
|
|
33
|
-
- Do not install or configure testing, linting, or formatting tools just to complete a task.
|
|
34
|
-
- If no relevant check exists or the environment cannot run it, state that plainly. Do not manufacture a substitute or claim unrun checks passed.
|
|
35
|
-
- Report the exact verification command or observed smoke result. Distinguish new failures from pre-existing failures.
|
|
27
|
+
- After TypeScript changes, run `tsc --noEmit`.
|
|
28
|
+
- For JavaScript, run the project's configured `npm run typecheck` or `npm run check` script when present.
|
|
29
|
+
- Do not create or run tests unless the user asks or an existing repository policy explicitly requires them.
|
|
30
|
+
- If the relevant command is unavailable or fails for a pre-existing reason, state that plainly.
|
|
36
31
|
|
|
37
32
|
## Code rules
|
|
38
33
|
|
|
@@ -47,9 +42,8 @@
|
|
|
47
42
|
## Minecraft Bedrock conventions
|
|
48
43
|
|
|
49
44
|
- Check entity validity, optional components, and unloaded blocks with guards before use.
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
- Do not add either package solely to satisfy these preferences.
|
|
45
|
+
- Prefer `@minecraft/vanilla-data` typed identifiers over raw component, entity, block, item, and effect strings.
|
|
46
|
+
- Check `@minecraft/math` before writing vector, matrix, clamp, lerp, or similar math helpers.
|
|
53
47
|
- Validate changed BP/RP JSON against the project's configured Bedrock schemas when available.
|
|
54
48
|
- In Regolith projects, inspect compilation output through `.regolith/tmp` without resolving its symlinks.
|
|
55
49
|
|