opengame-template-cover
Create, upgrade, or audit commercial box-art covers for OpenGame Game Studio templates (for both repository `templates/games/<id>/cover.webp` assets and standalone CMS/CDN cover uploads). Use when designing new game template covers, upgrading legacy screenshots or mismatched aspect crops, checking safe-zone clearance for GameMasonry badges, or batch-exporting WebP covers and QA contact sheets.
Try your first task
A source-grounded starter task has not been verified for this skill yet.
SKILL.md
name: opengame-template-coverdescription: >- Create, upgrade, or audit commercial box-art covers for OpenGame Game Studio templates (for both repository `templates/games/<id>/cover.webp` assets and standalone CMS/CDN cover uploads). Use when designing new game template covers, upgrading legacy screenshots or mismatched aspect crops, checking safe-zone clearance for GameMasonry badges, or batch-exporting WebP covers and QA contact sheets.OpenGame Template Cover Production (opengame-template-cover)
Standardize Game Studio template covers so every card in the Explore masonry grid reads like a published commercial game title rather than an unlabelled illustration or raw gameplay crop. Works identically for repository-committed templates (templates/games/<id>/cover.webp) and CMS-hosted template covers (standalone webp export ready for CDN/CMS upload).
1. Visual Standard & Anti-Patterns
- Eliminate two low-CTR failure modes:
- Title-less generic illustrations: Artwork with no embedded game title looks like stock AI art rather than a playable game.
- Zoomed-in flat UI screenshots / phone frames: Cropped gameplay canvas dumps or heavy HUD clutter obscure the core game loop and feel low-craft.
- Target craft benchmark (console / App Store / Steam storefront key art):
- Published box-art polish: Full environmental depth, cohesive cinematic lighting, tactile genre-appropriate materials (stylized 3D PBR, editorial illustration, neon cyberpunk, tactile matte-3D diorama, etc. — never one-size-fits-all glossy plastic).
- Instant gameplay readability: Depict the unmistakable core mechanic in mid-action directly below the title (unbolting acrylic screw plates, matching 3D farm props to catch the goose, dodging projectiles while firing, merging fruit inside a glass tank, etc.).
- Bespoke English Game Title Logo: Embed an art-directed, material-matched English-only game logo into the composition while keeping the card's bottom-left UI title localized via
i18n/ CMS metadata.
2. Native Aspect Ratios & Calibrated UI Safe Zones
GameMasonry.tsx renders each card according to its declared orientation (portrait → 3:4, landscape → 16:9). Never export a 16:9 cover for a portrait template.
orientation | Native Generation Aspect | Exported cover.webp Target | English Logo Safe Zone |
|---|---|---|---|
portrait | 3:4 vertical | 900 × 1200 (webp q=90) | Upper-center (15%–36% from top, centered horizontally with clean side margins) |
landscape | 16:9 widescreen | 1280 × 720 (webp q=90) | Mandatory 2-line compact stack, centered strictly within horizontal 28%–72% × vertical 12%–46% |
Pixel-Calibrated UI Overlays (Never Clip Letters or Hero Faces)
- Top-left badge (
TOP赚钱/ featured pill): Occupies0%–36% width × 0%–13% heighton3:4portrait cards and0%–27% width × 0%–24% heighton16:9landscape cards. Keep this corner clean background only. On16:9cards, never use a single ultra-wide horizontal title line — stack 2–4 word titles onto two compact centered lines. - Top-right hover controls (
Share/Remix): Occupies70%–100% width × 0%–13% heighton3:4portrait cards and73%–100% width × 0%–24% heighton16:9landscape cards. Keep text clear of this corner. - Bottom meta bar (
0%–20%from bottom): Overlaid with a dark scrim, mini-icon, localized title, andPlayCTA. Keep the bottom 20% shaded/uncluttered foreground with no logo text and no hero face.
3. English Logo Copy & IP Safety Rules
- Title derivation & shortening:
- Start from the template's English
title(templates/games/<id>/game.jsonor CMS brief). - Strip long subtitles after
:or?and condense to 2–4 punchy uppercase words (e.g.,Screw Jam: Unbolt Everything→SCREW JAM;Block Blast: Board Sweeper→BLOCK BLAST;Tile Stack: Can You Beat Lv.2?→TILE STACK). - English-only artwork: Zero Chinese/non-Latin characters, zero tiny gibberish subtitles, zero UI buttons (
PLAY,START,FREE,LV.1), zero score HUDs, and zero watermarks.
- Start from the template's English
- Theme-matched typography materials:
- Mechanical / screw puzzles → brushed steel & riveted 3D block letters
- Fantasy / RPG / tactics → forged gold & beveled emblem serif letters
- Casual merge / match → glossy translucent candy/ceramic 3D letters
- Racing / sports → slanted metallic chrome / neon speed-italic letters
- Horror / survival → cracked stone / moonlight-lit gothic letters
- Strict IP & trademark hygiene:
- Sanitize any trademarked titles before generating (e.g.,
Tetris→BLOCKS/SANDFALL BLOCKS,Plants vs Zombies→GARDEN VS ZOMBIES,Cut the Rope→SLICE THE ROPE,Zuma→MARBLE BLAST,Flappy Bird→PIXEL FLAPPER). - All characters, creatures, vehicles, and props must be 100% original designs — strictly no copyrighted characters or real-world brand logos (no Nintendo/Mario, Disney/Pixar/Baymax, Studio Ghibli/Totoro, PopCap Peashooter/Sunflower, Pokemon, or real car/sports trademarks).
- Sanitize any trademarked titles before generating (e.g.,
4. Workflow (Repository Templates & CMS Uploads)
Step 1: Audit targets and confirm metadata
Check templates/games/<id>/game.json (or CMS metadata) for title, orientation, genre, style, setting, and description. To scan all built-in templates for missing or aspect-mismatched covers:
node .agents/skills/opengame-template-cover/scripts/export-cover.mjs audit
Step 2: Generate native-ratio cover art
Generate each image at its exact native aspect ratio (3:4 for portrait, 16:9 for landscape) using your image-generation tool. Every prompt must explicitly specify:
- Exact aspect ratio (
3:4 portraitor16:9 widescreen); - Genre-matched commercial box-art style, lighting, and unmistakable mid-action gameplay scene;
- Exact quoted English logo (
"EXACT TITLE"), custom material finish, and explicit safe-zone placement (including 2-line stacked centering for16:9); - Strict negative rules: zero misspelled/duplicate letters, zero Chinese text, zero UI/HUD/phone bezels, zero copyrighted characters or logos.
Step 3: Mandatory visual QA (inspect every image before exporting)
Inspect every generated image visually and regenerate immediately if any item fails:
- 100% exact English spelling (no missing/duplicated letters, no stray gibberish subtitle)
- Instant gameplay readability & published box-art craft (not flat, not raw screenshot)
- Safe-zone clearance (top-left
TOP赚钱, top-right hover buttons, bottom 20% meta bar all clear) - Zero IP violations, zero Chinese text, zero fake UI buttons/HUD
- Cohesive genre variety when viewed side-by-side on a contact sheet
Step 4: Export WebP (Repo Mode or CMS Mode) & render QA sheet
Use the bundled helper script (requires the workspace sharp module installed via npm ci without --omit=optional; honors game.json.cover in repo mode and detects hosted URLs):
# Mode A — Write directly to the local cover path declared in game.json (defaults to cover.webp)
node .agents/skills/opengame-template-cover/scripts/export-cover.mjs export \
--input /path/to/generated.jpg \
--template catch-goose-3d
# Mode B — Export a standalone WebP ready for CMS / CDN upload (no repo files modified)
node .agents/skills/opengame-template-cover/scripts/export-cover.mjs export \
--input /path/to/generated.jpg \
--orientation landscape \
--out ./exports/garden-vs-zombies-cover.webp
# Render a labeled QA contact sheet across multiple exported covers
node .agents/skills/opengame-template-cover/scripts/export-cover.mjs sheet \
--out /tmp/cover-qa-sheet.jpg \
--templates catch-goose-3d,screw-puzzle,plants-vs-zombies
Step 5: Verify before committing or uploading
- For repository template PRs, run
npm run templates:checkandnpm run storage:check, and attach the QA contact sheet (or live Studio screenshot) to the PR for visual sign-off. - For CMS uploads, inspect the exported WebP dimensions (
900×1200or1280×720) and the QA contact sheet before uploading to CDN/CMS.