Safe agent workflow
- Work inside the game source repo, not the Buncha Games platform repo.
- Ask the agent to create a production browser build folder, usually named dist, build, public, or a Unity/Godot web export folder.
- Ask it to inspect the ZIP and confirm index.html is at the root.
- Use the web upload first. Use a developer API token only when a technical upload flow is necessary.
- Store the token locally as BUNCHA_GAMES_API_TOKEN. Do not paste it into chat or commit it.
- Do not let the agent upload source projects, .env files, node_modules, API keys, or secrets.
Copy-paste starter prompt
You are preparing my browser game for upload to Buncha Games.
Read the project, then create a production browser build folder for my stack:
- Vite, Phaser, Three.js, or React: usually dist or build,
- Unity WebGL: the exported WebGL folder,
- Godot HTML5: the exported web folder,
- plain HTML: the folder containing index.html and runtime assets.
Create a ZIP from the contents of that exported build folder. The ZIP must meet these requirements:
- index.html at ZIP root,
- all required JS/CSS/WASM/data/assets included,
- no server runtime required,
- no source project folders,
- no node_modules,
- no .env files or secret API keys,
- no external ads or payment scripts,
- no crypto/NFT integrations,
- no malware/phishing/obfuscated scripts,
- browser-playable in an iframe,
- under 200 MB.
After building, inspect the ZIP and confirm:
- index.html is at the root,
- no unsupported files are included,
- the game loads from a local static server,
- controls/instructions are clear,
- external domains are listed for Buncha Games review if used.
Agent mistakes to avoid
- Do not ZIP the whole repository.
- Do not include source folders, editor projects, node_modules, or build caches.
- Do not add third-party ad, payment, crypto, analytics, or tracking scripts to make validation pass.
- Do not print or commit BUNCHA_GAMES_API_TOKEN.
- Do not claim the build is ready until index.html is confirmed at the ZIP root.
Validation-fix prompt
You are helping me fix a Buncha Games upload validation error.
I will paste the validation error below. Inspect the exported build and make the smallest safe change.
Keep:
- index.html at ZIP root,
- exported runtime files required by the game,
- no server dependencies,
- no secrets,
- no external ads, payments, crypto, or unsupported scripts.
Return:
1. what caused the validation error,
2. exact files changed,
3. how to rebuild the upload ZIP,
4. local static-server smoke test steps.