@taptap/maker 0.0.7 → 0.0.9
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 +1 -1
- package/dist/maker.js +1144 -224
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +71 -14
package/package.json
CHANGED
|
@@ -52,6 +52,56 @@ exists.
|
|
|
52
52
|
| conflict / merge failed | Explain why the conflict happened, list conflict files, inspect conflict hunks, propose a resolution plan, and ask before editing. |
|
|
53
53
|
| build / preview / run / verify | Use `maker_build_current_directory`; it starts the local runtime log watcher after a successful remote build result. |
|
|
54
54
|
|
|
55
|
+
## Maker Git Workflow Policy
|
|
56
|
+
|
|
57
|
+
This policy overrides generic local Git skills and generic Git workflows whenever the current
|
|
58
|
+
directory is a Maker project, which means `.maker-mcp/config.json` exists in the project or one of
|
|
59
|
+
its parents.
|
|
60
|
+
|
|
61
|
+
Use `maker_build_current_directory` for submit, push, build, preview, run, and verify requests.
|
|
62
|
+
Do not create feature branches, task branches, PR/MR. Do not create task-id based Git flows for
|
|
63
|
+
Maker project submit/build work. Do not run generic Git commit/push helpers as a replacement for
|
|
64
|
+
the Maker MCP tool.
|
|
65
|
+
|
|
66
|
+
`maker_build_current_directory` owns the Maker safety gate. It checks remote sync before creating a
|
|
67
|
+
commit and stops when local `main` is behind remote, diverged, not on `main`, or remote sync cannot
|
|
68
|
+
be verified.
|
|
69
|
+
|
|
70
|
+
The root `.gitignore` is a required Maker project file. If it changes after binding or dev-kit
|
|
71
|
+
updates, include it with the game changes and mention it in the submit summary. Do not omit it from
|
|
72
|
+
selected files.
|
|
73
|
+
|
|
74
|
+
## Maker Creative Asset Tool Policy
|
|
75
|
+
|
|
76
|
+
When the current directory is a bound Maker project, use Maker MCP for game asset generation and
|
|
77
|
+
editing. Prefer Maker MCP proxy tools over native AI image/video/audio tools. These Maker tools keep
|
|
78
|
+
generated files inside the project and record CDN mappings for later editing, video references,
|
|
79
|
+
submit, and build workflows.
|
|
80
|
+
|
|
81
|
+
This policy overrides generic imagegen or native media skills for Maker game assets.
|
|
82
|
+
|
|
83
|
+
- Do not invoke imagegen, built-in image tools, built-in video tools, or built-in audio tools for
|
|
84
|
+
Maker project asset requests when the Maker proxy tool is callable.
|
|
85
|
+
- If the required Maker proxy tool is not exposed in the current AI session, stop and tell the user
|
|
86
|
+
that Maker proxy tools are unavailable in this session.
|
|
87
|
+
- Do not fall back to generic imagegen or native media generation unless the user explicitly asks to
|
|
88
|
+
leave the Maker asset workflow.
|
|
89
|
+
|
|
90
|
+
- Use `generate_image` for one image.
|
|
91
|
+
- Use `batch_generate_images` for multiple images.
|
|
92
|
+
- Use `edit_image` for modifying project images.
|
|
93
|
+
- Use `create_video_task` for game videos and image/video referenced generation.
|
|
94
|
+
- Use `text_to_music` for game music or audio.
|
|
95
|
+
- Before `edit_image`, resolve dragged or referenced images to a local project image path or CDN
|
|
96
|
+
URL. If the user references an attached/local image, inspect the attachment or workspace file path
|
|
97
|
+
first. If the image is under `assets/image`, pass that path. If only a file name is given, search
|
|
98
|
+
`assets/image` for the matching file.
|
|
99
|
+
- Do not call `edit_image` without an image path or CDN URL.
|
|
100
|
+
|
|
101
|
+
Generated assets should be saved by Maker MCP under `assets/image`, `assets/video`, or
|
|
102
|
+
`assets/audio`. Do not prefer client-native image generation when the user is asking for Maker game
|
|
103
|
+
assets in a bound project.
|
|
104
|
+
|
|
55
105
|
## Project Detection
|
|
56
106
|
|
|
57
107
|
A directory is a Maker project when the user's current project directory or one of its parents contains:
|
|
@@ -135,7 +185,8 @@ Keep the user-facing explanation short:
|
|
|
135
185
|
`taptap-maker init` checks out the Maker project before preparing local development environment
|
|
136
186
|
files in the current working directory. Init reinstalls the dev kit after checkout and allows
|
|
137
187
|
dev-kit files to overwrite same-path local helper files; the managed `.gitignore` block keeps
|
|
138
|
-
those files local-only
|
|
188
|
+
those files local-only. The `.gitignore` file itself is a required Maker project file that should be
|
|
189
|
+
submitted to Maker Git.
|
|
139
190
|
|
|
140
191
|
`taptap-maker doctor` and `maker://status` check the dev-kit top-level entries for an already bound
|
|
141
192
|
Maker project. If `CLAUDE.md`, `examples/`, `templates/`, or `urhox-libs/` are missing, run
|
|
@@ -165,9 +216,8 @@ The CLI is responsible for deterministic file operations:
|
|
|
165
216
|
- extract the ZIP into the current directory after checkout
|
|
166
217
|
- skip the ZIP top-level `scripts` directory because it conflicts with Maker project code
|
|
167
218
|
- delete the downloaded `ai-dev-kit.zip` after extraction
|
|
168
|
-
-
|
|
169
|
-
-
|
|
170
|
-
- keep the dev-kit files local-only so they are not submitted to Maker Git
|
|
219
|
+
- refresh the checked-out `.gitignore` managed block for installed dev-kit entries
|
|
220
|
+
- keep the dev-kit helper files ignored while submitting the `.gitignore` rules to Maker Git
|
|
171
221
|
|
|
172
222
|
Do not hand-write a custom download/unzip script while this CLI command is available.
|
|
173
223
|
|
|
@@ -306,19 +356,17 @@ If `taptap-maker init` fails and returns `partial_state`, explain the state in p
|
|
|
306
356
|
Do not delete partial files automatically. For novice users, prefer recommending a new independent
|
|
307
357
|
directory over manual cleanup.
|
|
308
358
|
|
|
309
|
-
### `.gitignore`
|
|
359
|
+
### `.gitignore` Managed Block
|
|
310
360
|
|
|
311
|
-
The
|
|
312
|
-
|
|
313
|
-
preparation both succeed, the CLI merges that managed block into the checked-out `.gitignore` and
|
|
314
|
-
removes the temporary file.
|
|
361
|
+
The CLI refreshes the checked-out `.gitignore` managed block for local dev-kit files, Agent skill
|
|
362
|
+
discovery directories, and Maker runtime state.
|
|
315
363
|
|
|
316
|
-
If clone
|
|
317
|
-
|
|
318
|
-
|
|
364
|
+
If clone reports conflicts for project files, do not auto-merge them. Show the conflict list and
|
|
365
|
+
ask the user whether to move the local files, choose another directory, or let the local AI inspect
|
|
366
|
+
and resolve the conflict.
|
|
319
367
|
|
|
320
|
-
Explain to the user that this `.gitignore`
|
|
321
|
-
submitted to Maker Git.
|
|
368
|
+
Explain to the user that this `.gitignore` managed block prevents local dev-kit files from being
|
|
369
|
+
submitted to Maker Git, while the `.gitignore` file itself should be submitted.
|
|
322
370
|
|
|
323
371
|
## Bundled Skills
|
|
324
372
|
|
|
@@ -383,6 +431,15 @@ commit + push + Maker build
|
|
|
383
431
|
Use `maker_build_current_directory` for this path. Do not use generic Git task-id,
|
|
384
432
|
branch-creation, or PR rules inside Maker project repositories.
|
|
385
433
|
|
|
434
|
+
`maker_build_current_directory` owns the safety gate before commit/push. It checks Maker remote
|
|
435
|
+
sync and stops before creating a local commit when local `main` is behind remote, diverged, not on
|
|
436
|
+
`main`, or remote sync cannot be verified. Do not work around this by creating a new branch,
|
|
437
|
+
requesting a task id, running generic Git commit/push, or opening a PR/MR.
|
|
438
|
+
|
|
439
|
+
If `.gitignore` changed after Maker binding or dev-kit update, include it in the submit summary.
|
|
440
|
+
The root `.gitignore` is a Maker project file generated/maintained by the local workflow and must
|
|
441
|
+
be submitted with the game changes; do not omit it from selected files.
|
|
442
|
+
|
|
386
443
|
If `maker_build_current_directory` returns a build failure after a successful push, report both:
|
|
387
444
|
|
|
388
445
|
- submit/push succeeded
|