game-universe-studio
Use when building a browser game prototype (Canvas, WebGL, Three.js, PixiJS, Babylon) and its character turnaround sheet, sprite set, procedural Web Audio sound effects or showcase card. Checks the game's asset manifest with game_manifest_validator.py before you ship it.
Install
npx skills add https://github.com/beginwithu/agent-skills/tree/main/skills/game-universe-studio
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install beginwithu-agent-skills@llmmart
git clone https://github.com/beginwithu/agent-skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole beginwithu/agent-skills collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Game Universe Studio
Plan the assets of a small browser game as one JSON manifest, then check that manifest before any art is generated or any code is wired up. The manifest holds the viewport, the main character's turnaround sheet and palette, the sprite animations, the procedural sound cues and the showcase card. A mismatch found here costs a JSON edit; found after the sprites are drawn, it costs a redraw.
Camera moves and shot language are out of scope; use cinematic-shot-prompting for those.
Workflow
- Write the manifest. Start from
examples/indie-game-showcase-manifest.json. Field rules are inreferences/game-manifest-schema.md. - Lock the character. Fill
characterwith all four turnaround views, the sheet size and 3 to 6 palette colors, and write the image prompt fromreferences/character-ortho-spec.md(head-unit proportions, HEX palette, invariant features, no perspective change between views). - Define the sounds. Each
audio_cuesentry is one oscillator sweep. Build them with the recipes inreferences/web-audio-synth-primitives.md, resume theAudioContexton the first user gesture, and keep peak gain at or below 0.4. - Validate. Fix every BLOCKER; read each WARN and fix it or keep it on purpose:
Exit 0 means valid, 1 means BLOCKERs (or WARNs underpython3 scripts/game_manifest_validator.py --manifest game-manifest.json python3 scripts/game_manifest_validator.py --manifest game-manifest.json --strict --format json--strict), 2 means the file is missing or not a JSON object. Run--sampleto see a passing report. - Only then generate. Generate the turnaround sheet first, then sprites from it, so every frame inherits the locked palette and proportions.
What the validator checks
| Area | BLOCKER | WARN |
|---|---|---|
| Meta | missing title, unknown engine |
game_id not kebab-case |
| Viewport | width or height missing or not positive | aspect_ratio disagrees with width:height |
| Character | missing turnaround view, palette outside 3 to 6 colors, invalid HEX | |
| Sprites | frames, fps or tile_size not positive, no action |
no sprites defined |
| Audio | gain outside (0, 1], frequency outside 20 Hz to 20 kHz, duration not positive | unknown oscillator type, gain above 0.4 |
| Showcase card | contrast_ratio below 4.5 (WCAG 2.2 AA body text) |
invalid theme_accent HEX |
The validator checks numbers it is given. It does not measure contrast from colors or listen to audio; contrast_ratio is the value you measured.
Files (agent-skills)
-
examples
-
indie-game-showcase-manifest.json 1.6 KB
Loading…
-
-
references
-
character-ortho-spec.md 1.9 KB
Loading… -
game-manifest-schema.md 2.6 KB
Loading… -
web-audio-synth-primitives.md 2.2 KB
Loading…
-
-
scripts
-
game_manifest_validator.py 9.9 KB
Loading…
-
-
LICENSE 1 KB · in bundle
-
SKILL.md 2.8 KB
--- name: game-universe-studio description: "Use when building a browser game prototype (Canvas, WebGL, Three.js, PixiJS, Babylon) and its character turnaround sheet, sprite set, procedural Web Audio sound effects or showcase card. Checks the game's asset manifest with game_manifest_validator.py before you ship it." --- # Game Universe Studio Plan the assets of a small browser game as one JSON manifest, then check that manifest before any art is generated or any code is wired up. The manifest holds the viewport, the main character's turnaround sheet and palette, the sprite animations, the procedural sound cues and the showcase card. A mismatch found here costs a JSON edit; found after the sprites are drawn, it costs a redraw. Camera moves and shot language are out of scope; use `cinematic-shot-prompting` for those. ## Workflow 1. **Write the manifest.** Start from `examples/indie-game-showcase-manifest.json`. Field rules are in `references/game-manifest-schema.md`. 2. **Lock the character.** Fill `character` with all four turnaround views, the sheet size and 3 to 6 palette colors, and write the image prompt from `references/character-ortho-spec.md` (head-unit proportions, HEX palette, invariant features, no perspective change between views). 3. **Define the sounds.** Each `audio_cues` entry is one oscillator sweep. Build them with the recipes in `references/web-audio-synth-primitives.md`, resume the `AudioContext` on the first user gesture, and keep peak gain at or below 0.4. 4. **Validate.** Fix every BLOCKER; read each WARN and fix it or keep it on purpose: ```bash python3 scripts/game_manifest_validator.py --manifest game-manifest.json python3 scripts/game_manifest_validator.py --manifest game-manifest.json --strict --format json ``` Exit 0 means valid, 1 means BLOCKERs (or WARNs under `--strict`), 2 means the file is missing or not a JSON object. Run `--sample` to see a passing report. 5. **Only then generate.** Generate the turnaround sheet first, then sprites from it, so every frame inherits the locked palette and proportions. ## What the validator checks | Area | BLOCKER | WARN | |---|---|---| | Meta | missing `title`, unknown `engine` | `game_id` not kebab-case | | Viewport | width or height missing or not positive | `aspect_ratio` disagrees with width:height | | Character | | missing turnaround view, palette outside 3 to 6 colors, invalid HEX | | Sprites | frames, fps or `tile_size` not positive, no `action` | no sprites defined | | Audio | gain outside (0, 1], frequency outside 20 Hz to 20 kHz, duration not positive | unknown oscillator type, gain above 0.4 | | Showcase card | `contrast_ratio` below 4.5 (WCAG 2.2 AA body text) | invalid `theme_accent` HEX | The validator checks numbers it is given. It does not measure contrast from colors or listen to audio; `contrast_ratio` is the value you measured.
Reviews (0)
No reviews yet.
Comments
Sign in to join the conversation.
No comments yet. Start the conversation.