@taptap/maker 0.0.8 → 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 +1141 -221
- package/package.json +1 -1
- package/skills/taptap-maker-local/SKILL.md +59 -0
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:
|
|
@@ -381,6 +431,15 @@ commit + push + Maker build
|
|
|
381
431
|
Use `maker_build_current_directory` for this path. Do not use generic Git task-id,
|
|
382
432
|
branch-creation, or PR rules inside Maker project repositories.
|
|
383
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
|
+
|
|
384
443
|
If `maker_build_current_directory` returns a build failure after a successful push, report both:
|
|
385
444
|
|
|
386
445
|
- submit/push succeeded
|