One Sentence to Game (prompt, iterate, check)
/one-sentence-to-game
A GameSkill original for any model: a round-1 prompt that turns one sentence into a small finished browser game, a one-change-per-round loop with a creation log, a reusable spec template, and a headless checker that reports console errors, blank frames and dead controls as PASS or FAIL. It does not promise one-shot.
- License
- MIT
- By
- By GameSkill
Tested by GameSkill
26/26 checks passed on Node 20 + Chrome 156 headless (any model writes the game) (2026-10-28): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.
Test reportGameSkill's tested copy
Written and tested by GameSkill for gameskill.dev. The ZIP holds the whole skill: SKILL.md and its Chinese version, scripts, a runnable example, tests, the self-check list and our test report.
A GameSkill original, released under MIT. The ZIP keeps LICENSE and CREDITS.md, which lists the workflow inspiration, the CC0 test assets and the third-party libraries with their licenses.

Self-check
- 没有向用户承诺一次生成 / Did not promise the user a one-shot result
- 每一轮只改一处,并记录在 CREATION.md / One change per round, logged in CREATION.md
- 每一轮都在桌面和手机上运行 check-game / check-game run on desktop and --mobile every round
- 看过四张截图并亲自玩过 / Looked at the four screenshots and played it
- 完成后写了复用规格 / Wrote the reusable spec once the game was good
- npm test 和 npm run test:browser 都通过 / npm test and npm run test:browser pass
Install
Tell your AI
Install the skill from https://gameskill.dev/skills/one-sentence-to-game/install.md
GameSkill's tested copy
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/one-sentence-to-game.zip -o /tmp/gameskill-one-sentence-to-game.zip
unzip -oq /tmp/gameskill-one-sentence-to-game.zip -d .claude/skills
rm /tmp/gameskill-one-sentence-to-game.zipWhat you get
- templates/PROMPT.md: the round-1 prompt and the one-change-per-round prompt
- templates/CHECKLIST.md, CREATION.md (round log) and SPEC.md (reusable spec from a finished game)
- tools/check-game.mjs: headless open, console and network errors, blank-frame and input-response checks, four screenshots, report.json, PASS/FAIL exit code
- Good, broken and frozen fixture games the checker is tested against
- 6 unit tests and 6 fixture checks in headless Chrome
Good fit
- Turning a one-line game idea into a playable browser game
- Iterating on a generated game without breaking what already works
- Checking generated games automatically before a human plays them
Not for
- Large multi-file projects with build tools
- Judging whether a game is fun (PASS only means not obviously broken)
Try this prompt
Make me a small browser game where a moth collects lanterns at night, then check it actually runs.About this skill
A GameSkill original for any model. One sentence becomes a round-1 prompt; each later round changes one thing; a headless checker says PASS or FAIL after every round. It is honest that most good generated games take several rounds.
Agent steps
- Round 1 from
templates/PROMPT.md: classic core rules, one file, no assets, keyboard and touch, restart, no questions. - Check before looking:
check-gameon desktop and--mobile, then play for two minutes with the checklist. - One change per round, written as an observation plus the expected result.
- Re-check and log every round; revert when a round makes things worse.
- Three strikes: shrink the feature or spec that one system.
- Write the reusable spec from the finished game.
- Never promise one-shot; report rounds and hand edits.
Common errors it fixes
- Trusting "done" without opening the game.
- Multi-fix prompts that rewrite and break a working game.
- Missing assets, CDN links and dead controls that nobody noticed.
Credits
Ideas from the published prompts in gpt6-astra-one-shot-games by Ayi1337 (linked only) and THUNDERFALL's PROMPT.md (CC0) in the awesome-gpt-6-astra catalog. Templates, checker and text are ours.
Requirements
- Any coding model or agent
- Node.js 20+ and Chrome for tools/check-game.mjs
Topics
FAQ
Based on gpt6-astra-one-shot-games (published prompts, link only) by Ayi1337 (no licence, nothing copied). Ideas only: GameSkill wrote the code and text; CREDITS.md in the ZIP lists every source. · Based on THUNDERFALL PROMPT.md (reusable-spec structure) by awesome-gpt-6-astra catalog (CC0-1.0). Ideas only: GameSkill wrote the code and text; CREDITS.md in the ZIP lists every source.
Works well with
Skills the author points to as related or as the better fit for neighbouring tasks.
Game Feel & Juice
Add juice to actions: screen shake, hit-stop, eased motion, squash and stretch, knockback and layered audio-visual feedback.
Game Input Systems
Game input architecture: action mapping, rebinding with conflict checks, keyboard, gamepad and touch, deadzones, buffering and coyote time.
Similar skills
Novel to Game
Agent skills for source-grounded adaptation of novels into games: cited design docs, target-runtime builds and evidence-based QA.
open-game-skills
An MIT pack of about 190 SKILL.md agent skills for game design: combat feel, camera, traversal, world, validation, 2D/Spine and art pipeline, with a dispatcher and adapters for Three.js, PixiJS, Phaser, Cocos, Godot, Unity and Unreal.
Multi-view to Web-ready 3D Asset
A GameSkill original: front, side and back reference prompts, any image-to-3D provider or 3D MCP server, then a tested glTF Transform pass that simplifies, fixes orientation, resizes textures, applies Draco and builds LODs inside a triangle, file-size and shape-deviation budget. Tested on a real 277k-triangle TripoSR output.
Kart Drift Boost (tiers, windows, ramps)
A GameSkill original: arcade kart drift-boost rules that reward skill. Drifts charge three tiers, release opens a 0.85 s window you must press in, counter-steer adds a CUT bonus, ramps give one air and one landing boost, boosts take the maximum instead of stacking, and walls cancel everything pending.