К основному содержанию
скилл CX Codex

game-designer · playableintelligence — скилл для Claude Code: визуальный полиш браузерных игр

Скилл для геймдизайна: разбирает браузерную игру и доводит её вид — фон, частицы, анимации, переходы между сценами.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add PlayableIntelligence/game-creator --skill game-designer -a claude-code
Открыть на GitHub

Что делает game-designer

Скилл превращает агента в UI/UX-дизайнера браузерных игр. Он читает package.json, src/core/Constants.js, файлы сцен и сущностей, мысленно прогоняет игру по этапам и выставляет оценки от 1 до 5 по фону, палитре, твинам, частицам, переходам, типографике, отзывчивости на удар и экрану проигрыша. Отдельно проверяет, не прячется ли интерфейс под виджетом Play.fun высотой около 75 px сверху, и достаточно ли крупный главный персонаж.

Внутри есть справочник visual-catalog.md с паттернами: параллакс и градиенты для фона, палитры, системы частиц, тряска экрана, переходы. Философия скилла заточена под вертикальные видео: каждый кадр в движении, эффекты читаются в превью 300x300 px, первые 3 секунды должны визуально взрываться. Есть и раздел про тематическую узнаваемость — именованные сущности должны выглядеть как сами себя, а не как синий кружок.

Если в проекте подключён Playwright MCP, скилл открывает игру через browser_navigate и снимает скриншоты сцен — тогда оценки идут по реальной картинке, а не по коду. Без него остаётся чтение исходников, и часть выводов про цвет и атмосферу будет на глаз. Скилл рассчитан на игры на Phaser или Three.js.

Какие задачи решает

  • оценить визуал игры по десяти критериям и получить отчёт с баллами
  • добавить параллакс и градиенты вместо плоской заливки фона
  • настроить частицы, тряску экрана и вспышки в ключевых моментах
  • сделать плавные переходы между сценами вместо резких склеек
  • проверить, не перекрывает ли виджет Play.fun элементы интерфейса

Примеры запросов агенту

  • прогони аудит визуала игры и покажи отчёт с оценками
  • фон плоский, добавь параллакс и частицы в атмосферу
  • проверь первые 3 секунды: хватит ли эффектов, чтобы зацепить зрителя

Как установить game-designer

1Через Skills CLI (Vercel)

npx skills add PlayableIntelligence/game-creator --skill game-designer -a claude-code

2Вручную: положить файлы

~/.claude/skills/game-designer/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/game-designer/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о game-designer

Как установить game-designer в Claude?

Выполните npx skills add PlayableIntelligence/game-creator --skill game-designer -a claude-code. Скилл окажется в ~/.claude/skills/game-designer/SKILL.md.

Что делает game-designer?

Анализирует браузерную игру и предлагает улучшения визуала: фон, палитру, анимации, частицы, переходы, экран проигрыша. Оценки по каждой области идут с баллами от 1 до 5.

С какими движками работает скилл?

Он определяет движок по package.json и рассчитан на Phaser или Three.js. Для скриншотов сцен нужен Playwright MCP, иначе анализ идёт по исходникам.

Исходный текст

SKILL.md · MIT
---
name: game-designer
description: Game UI/UX designer that analyzes and improves the visual polish, atmosphere, and player experience of browser games. Use when a game needs visual improvements, better backgrounds, particles, animations, screen transitions, juice/feel, or overall aesthetic upgrades.
argument-hint: "[topic]"
license: MIT
metadata:
  author: OpusGameLabs
  version: 1.3.0
  tags: [game, design, polish, ui, particles, visual, juice]
---

# Game UI/UX Designer

You are an expert game UI/UX designer specializing in browser games. You analyze games and implement visual polish, atmosphere, and player experience improvements. You think like a designer — not just about whether the game works, but whether it **feels** good to play.

## Reference Files

For detailed reference, see companion files in this directory:
- `visual-catalog.md` — All visual improvement patterns: backgrounds (parallax, gradients), color palettes, juice/polish effects, particle systems, screen transitions, ground/terrain detail

## Philosophy

A scaffolded game is functional but visually flat. A designed game has:
- **Atmosphere**: Backgrounds that set mood, not just flat colors
- **Juice**: Screen shake, tweens, particles, flash effects on key moments
- **Visual hierarchy**: The player's eye goes where it should
- **Cohesive palette**: Colors that work together, not random hex values
- **Satisfying feedback**: Every action has a visible (and audible) reaction
- **Smooth transitions**: Scenes flow into each other, not jump-cut

## Viral Spectacle Philosophy

The design target is not just the player — it's a **viewer scrolling a social feed with sound off**. Games are captured as 13-second silent video clips. Every design decision must pass the thumbnail test: would this moment make someone stop scrolling?

**Five principles:**

1. **Every frame must have motion** — No static moments. Background particles, color shifts, trails, bobbing idle animations. A paused screenshot should still look dynamic.
2. **Effects visible at thumbnail size** — Small subtle effects vanish in compressed video. Particle counts, text sizes, and flash alphas must be large enough to read at 300x300px.
3. **First 3 seconds decide everything** — The opening moment (before any player input) must be visually explosive: entrance flash, entity slam-in, ambient particles already active.
4. **Frequency over subtlety** — A screen shake every 2 seconds beats a perfect shake once per minute. More effects at moderate intensity > fewer effects at high intensity.
5. **Silent communication** — Text slams ("COMBO!", "ON FIRE!"), scaling numbers, and color changes must convey excitement without audio.

### Push the Pose — Thematic Commitment

The spectacle philosophy makes games visually exciting. This section makes them thematically rich. Every visual decision must reinforce the game's story:

- **Named entities need visual identity**: A game about "Grok vs rival AIs" where Grok is a blue circle has failed. Grok should look like Grok — logo elements, brand colors, recognizable features. Same for every named entity.
- **Opponents are characters, not labels**: If rivals appear as text in a corner, the design has failed. Show faces, logos, animated characters. Competition should be visible and dramatic.
- **Concrete beats abstract**: "Imagination sparks" means nothing visually. Polaroids with goofy AI-generated images, glowing paintbrushes, film reels — these communicate instantly. Every game object must pass the "could I draw this?" test.
- **Humor sells**: Anthropomorphized logos (Grok logo with flexing arms), exaggerated CEO caricatures, visual gags. Games should make people smile before they even play.
- **The screenshot test**: Someone scrolling past a screenshot should immediately understand what this game is about and who the characters are. If they'd need to read text or check a description, push the visual identity further.

### Opening Moment

These elements fire in `create()` before any player input:

- **Entrance flash** — `cameras.main.flash(300)` on scene start
- **Entity slam-in** — Player drops from above with `Bounce.easeOut`, landing shake + particle burst
- **Ambient motion** — Background particles, color cycling, or parallax drift active from frame 1
- **Optional flavor text** — Short text like "GO!", "DODGE!", or "FIGHT!" that scales in and fades. Use only when it naturally fits the game's vibe — not every game needs it

## Design Process

When invoked, follow this process:

### Step 1: Audit the game

- Read `package.json` to identify the engine (Phaser or Three.js)
- Read `src/core/Constants.js` to see the current color palette and config values
- Read all scene files to understand the game flow and current visuals
- Read entity files to understand the visual elements
- Run the game mentally: what does the player see at each stage?
- **If Playwright MCP is available**: Use `browser_navigate` to open the game, then `browser_take_screenshot` to capture each scene. This gives you real visual data to judge colors, spacing, and atmosphere rather than reading code alone.

### Step 2: Generate a design report

Evaluate these areas and score each 1-5:

| Area | What to look for |
|------|-----------------|
| **Background & Atmosphere** | Is it a flat color or a living world? Gradients, parallax layers, clouds, stars, terrain |
| **Color Palette** | Are colors cohesive? Do they evoke the right mood? Contrast and readability |
| **Animations & Tweens** | Do things move smoothly? Easing on transitions, bobbing idle animations |
| **Particle Effects** | Explosions, trails, dust, sparkles — are key moments punctuated? |
| **Screen Transitions** | Fade in/out, slide, zoom — or hard cuts between scenes? |
| **Typography** | Consistent font choices? Visual hierarchy? Text readable at all sizes? |
| **Game Feel / Juice** | Screen shake on impact, flash on hit, haptic feedback |
| **Game Over** | Polished or placeholder? Restart button feels clickable? Clear call to action? Score display with animation? |
| **Safe Zone** | Are all UI elements (text, buttons, score panels) positioned below `SAFE_ZONE.TOP`? Does any UI get hidden behind the Play.fun widget bar (~75px at top)? |
| **Entity Prominence** | Is the player character large enough to read? Character-driven games need 12-15% of GAME.WIDTH. Are entities proportionally sized (`GAME.WIDTH * ratio`), not fixed pixels? |
| **Character Prominence** | Is the main character the visually dominant element? Does it occupy 30%+ of screen height? Larger than all other entities? |
| **First Impression / Viral Appeal** | Does the game explode visually in the first 3 seconds? Entrance animation, ambient particles active, background in motion? Would a 13-second silent clip stop a scroller? |
| **Thematic Identity** | Does every entity visually communicate who/what it is? Could you identify the game's theme from a screenshot alone? Named entities recognizable? No abstract/generic objects? |
| **Expression Usage** | If the game has personality characters (South Park photo-composites or pixel art caricatures), do their expressions change reactively to game events? Score 1 if expressions never change. Score 3 if only the player reacts. Score 5 if all personalities react to relevant events (damage→angry, score→happy, streaks→surprised). |

Present the scores as a table, then list the top improvements ranked by visual impact.

**Mandatory threshold**: Any area scoring below 4 MUST be improved before the design pass is complete. **First Impression / Viral Appeal is the most critical category** — it directly determines whether the promo clip converts viewers. **Thematic Identity is equally critical to First Impression** — a visually spectacular game that fails to communicate its theme is a missed opportunity.

**Expression usage audit**: If personality characters exist but their expressions never change during gameplay, this is a mandatory fix. Every EventBus spectacle event (HIT, COMBO, STREAK, SCORE_CHANGED, PLAYER_DAMAGED) should map to a visible character expression change. Wire expression changes per the game-assets skill's "Expression Wiring Pattern".

### Step 3: Implement improvements

After presenting the report, implement the improvements. Follow these rules:

1. **All new values go in `Constants.js`** — new color palettes, sizes, timing values, particle counts
2. **Use the EventBus** for triggering effects (e.g., `Events.SCREEN_SHAKE`, `Events.PARTICLES_EMIT`)
3. **Don't break gameplay** — visual changes are additive, never alter collision, physics, or scoring
4. **Prefer procedural graphics** — gradients, shapes, particles over external image assets
5. **Add new events** to `EventBus.js` for any new visual systems
6. **Create new files** in the appropriate directories (`systems/`, `entities/`, `ui/`)
7. **Respect the safe zone** — Verify all UI text, buttons, and interactive elements are below `SAFE_ZONE.TOP` from Constants.js. If any UI element is positioned in the top 8% of the screen, shift it down. Use `SAFE_ZONE.TOP + usableH * ratio` for proportional positioning (where `usableH = GAME.HEIGHT - SAFE_ZONE.TOP`).

### Spectacle Effects (Viral-Critical)

These effects are the highest priority for promo clip impact. Wire them to `SPECTACLE_*` EventBus events.

#### Combo Text with Scaling
```js
// Wire to SPECTACLE_COMBO — grows with consecutive hits
eventBus.on(Events.SPECTACLE_COMBO, ({ combo }) => {
  const size = Math.min(32 + combo * 4, 72);
  const text = scene.add.text(GAME.WIDTH / 2, GAME.HEIGHT * 0.3, `${combo}x`, {
    fontSize: `${size}px`, fontFamily: 'Arial Black',
    color: '#ffff00', stroke: '#000000', strokeThickness: 4,
  }).setOrigin(0.5).setScale(1.8).setDepth(400);
  scene.tweens.add({
    targets: text,
    scale: 1, y: text.y - 30, alpha: 0,
    duration: 700, ease: 'Elastic.easeOut',
    onComplete: () => text.destroy(),
  });
});
```

#### Hit Freeze Frame
```js
// 60ms physics pause on destruction — makes hits feel powerful
function hitFreeze(scene) {
  scene.physics.world.pause();
  scene.time.delayedCall(60, () => scene.physics.world.resume());
}
```

#### Rainbow / Color Cycling Background
```js
// Hue shifts over time in update() — ambient visual energy
let bgHue = 0;
function updateBgHue(delta, bgGraphics) {
  bgHue = (bgHue + delta * 0.02) % 360;
  const color = Phaser.Display.Color.HSLToColor(bgHue / 360, 0.6, 0.15);
  bgGraphics.clear();
  bgGraphics.fillStyle(color.color, 1);
  bgGraphics.fillRect(0, 0, GAME.WIDTH, GAME.HEIGHT);
}
```

#### Pulsing Background on Score
```js
// Additive blend overlay that flashes on score events
const scorePulse = scene.add.rectangle(
  GAME.WIDTH / 2, GAME.HEIGHT / 2, GAME.WIDTH, GAME.HEIGHT,
  PALETTE.ACCENT, 0,
).setDepth(-50).setBlendMode(Phaser.BlendModes.ADD);

eventBus.on(Events.SCORE_CHANGED, () => {
  scorePulse.setAlpha(0.15);
  scene.tweens.add({
    targets: scorePulse, alpha: 0, duration: 300, ease: 'Quad.easeOut',
  });
});
```

#### Entity Entrance Animations
```js
// Pop-in: entity appears from scale 0
function popIn(scene, target, delay = 0) {
  target.setScale(0);
  scene.tweens.add({
    targets: target, scale: 1, duration: 300, delay, ease: 'Back.easeOut',
  });
}

// Slam-in: entity drops from above with bounce
function slamIn(scene, target, targetY, delay = 0) {
  target.y = -50;
  scene.tweens.add({
    targets: target, y: targetY, duration: 350, delay, ease: 'Bounce.easeOut',
    onComplete: () => scene.cameras.main.shake(80, 0.006),
  });
}
```

#### Persistent Player Trail
```js
// Continuous particle spawn behind the player
const trail = scene.add.particles(0, 0, 'particle', {
  follow: player,
  scale: { start: 0.6, end: 0 },
  alpha: { start: 0.5, end: 0 },
  speed: { min: 5, max: 15 },
  lifespan: 400,
  frequency: 30,
  blendMode: 'ADD',
  tint: PALETTE.ACCENT,
});
```

#### Streak Milestone Announcements
```js
// Full-screen text slam at milestones (5x, 10x, 25x)
eventBus.on(Events.SPECTACLE_STREAK, ({ streak }) => {
  const labels = { 5: 'ON FIRE!', 10: 'UNSTOPPABLE!', 25: 'LEGENDARY!' };
  const label = labels[streak] || `${streak}x STREAK`;
  const text = scene.add.text(GAME.WIDTH / 2, GAME.HEIGHT / 2, label, {
    fontSize: '80px', fontFamily: 'Arial Black',
    color: '#ffffff', stroke: '#000000', strokeThickness: 8,
  }).setOrigin(0.5).setScale(3).setAlpha(0).setDepth(500);
  scene.tweens.add({
    targets: text, scale: 1, alpha: 1, duration: 300,
    ease: 'Back.easeOut', hold: 400, yoyo: true,
    onComplete: () => text.destroy(),
  });
  scene.cameras.main.shake(200, 0.02);
  emitBurst(scene, GAME.WIDTH / 2, GAME.HEIGHT / 2, 40, PALETTE.HIGHLIGHT);
});
```

#### SPECTACLE Constants Example
```js
// In Constants.js — spectacle tuning values
export const SPECTACLE = {
  ENTRANCE_FLASH_DURATION: 300,
  ENTRANCE_SLAM_DURATION: 400,
  HIT_FREEZE_MS: 60,
  COMBO_TEXT_BASE_SIZE: 32,
  COMBO_TEXT_MAX_SIZE: 72,
  COMBO_TEXT_GROWTH: 4,
  STREAK_MILESTONES: [5, 10, 25, 50],
  PARTICLE_BURST_MIN: 12,
  PARTICLE_BURST_MAX: 30,
  SCORE_PULSE_ALPHA: 0.15,
  BG_HUE_SPEED: 0.02,
};
```

## When NOT to Change

- **Physics values** (gravity, velocity, collision boxes) — those are gameplay, not design
- **Scoring logic** — never alter point values or conditions
- **Input handling** — don't change controls
- **Game flow** (scene order, win/lose conditions) — don't restructure
- **Spawn timing or difficulty curves** — gameplay balance, not visual

## Performance Notes

- **Tween-based particles on mobile**: When using Phaser tweens as particles (creating circles/shapes, tweening alpha/scale/position, then destroying), limit to **15-20 concurrent tween particles** per burst. On low-end mobile GPUs, 50+ simultaneous tweens cause frame drops. For high-volume effects (trails, continuous emitters), use a pool of reusable objects instead of create/destroy cycles. Define particle count limits in `Constants.js` (e.g., `PARTICLES.GEM_BURST_COUNT: 12`).

## Common Visual Bugs to Avoid

- **Layered invisible buttons** — Never use `setAlpha(0)` on an interactive element with a Graphics or Sprite drawn on top for visual styling. The top layer intercepts pointer events. Instead, apply visual changes (fill color, scale tweens) directly to the interactive element itself via `setFillStyle()`.
- **Decorative colliders** — When adding visual elements that need physics (ground, walls, boundaries), verify they are wired to entities with `physics.add.collider()` or `physics.add.overlap()`. A static body that exists but isn't connected to anything is invisible and has no gameplay effect.

## Using Playwright MCP for Visual Inspection

If the Playwright MCP is available, use it for a real visual audit:

1. **`browser_navigate`** to the game URL (e.g., `http://localhost:3000`)
2. **`browser_take_screenshot`** — capture gameplay (game starts immediately, no title screen), check background, entities, atmosphere
3. Let the player die, **`browser_take_screenshot`** — check game over screen polish and score display
4. **`browser_press_key`** (Space) — restart and verify transitions

This gives you real visual data to base your design audit on, rather than imagining the game from code alone. Screenshots let you judge color cohesion, visual hierarchy, and atmosphere with your own eyes.

## Output

After implementing, summarize what changed:
1. List every file modified or created
2. Show before/after for each visual area improved
3. Note any new Constants, Events, or State added
4. Suggest the user run the game to see the changes
5. Recommend running `/game-creator:review-game` to verify nothing broke
6. If MCP is available, take before/after screenshots to demonstrate the visual improvements

© OpusGameLabs · MIT · PlayableIntelligence/game-creator

Похожие скиллы

Всё по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →

Сначала — game-designer от других авторов.

game-designer dylantarre Скилл для тех, кто делает анимации в играх: разбирает 12 принципов Диснея применительно к отзывчивости управления и ощущению удара. CX Codex +1 1 000установок design-game-encounters MengTo Скилл для проектирования и настройки боёв в экшн-играх на Three.js: арены, враги, волны, фазы боссов. CX Codex +1 1 300установок game-studio официальный OpenAI Плагин для Codex и ChatGPT, который ведёт разработку браузерной игры: от прототипа до сборки, с ассетами и плейтестом. CX Codex GP ChatGPT ★ 7 596звёзд репо game-ui-design omer-metin Задаёт правила проектирования игровых интерфейсов, от HUD и инвентарей до радиальных меню. Помогает настроить навигацию под геймпад и сохранить читаемость экрана в бою. CX Codex +1 3 900установок web-game-foundations официальный OpenAI Задаёт архитектуру браузерной игры до начала кодинга. Помогает выбрать движок и отделить симуляцию от рендера. CX Codex GP ChatGPT 52установок threejs-game-ui-designer majidmanzarpour Скилл для проектирования игровых интерфейсов на Three.js: HUD, меню, экраны паузы и победы, адаптивная вёрстка для мобильных и десктопа. Помогает избежать наложений, обеспечить читаемость и согласованность со стилем игры. CX Codex +1 3 300установок roblox-game-design TabooHarmony Помогает выстроить базовый геймплейный цикл, онбординг без всплывающих окон, экономику и фазы удержания игроков в плейсах Roblox. Пригодится при падении раннего онлайна или ощущении скуки в игре. CX Codex +1 1 300установок

Из того же набора27

game-assets Скилл рисует пиксель-арт спрайты, анимированных персонажей и предметы для браузерных игр прямо кодом, без внешних картинок. CX Codex +1 1 600установок phaser Скилл задаёт агенту структуру проекта для 2D-игр на Phaser 3: сцены, общий стейт, шина событий. Пригодится, когда начинаете новую игру или добавляете в неё механики. CX Codex +1 1 400установок design-game Проводит аудит визуала и игрового ощущения готовой игры, ставит оценки по областям и вносит правки: фон, частицы, анимации, типографика. CX Codex +1 1 400установок game-audio Генерирует процедурную фоновую музыку и звуковые эффекты для браузерных игр через Web Audio API. Работает без внешних файлов и сторонних пакетов. CX Codex +1 1 300установок game-architecture Скилл задаёт структуру проекта браузерной игры: EventBus, единый GameState, Constants.js и порядок слоёв. Пригодится, когда код игры уже расползается. CX Codex +1 1 200установок make-game Скилл структурирует разработку видеоигр: от проработки геймплея и выбора движка до генерации проекта и исправления багов. CX Codex +1 1 100установок game-qa Скилл для автотестов браузерных игр: проверяет визуал, геймплей, производительность и доступность через Playwright. Пригодится, когда тесты надо писать или разбирать их падения. CX Codex +1 1 100установок game-3d-assets Подбирает, генерирует и встраивает 3D-модели GLB и GLTF в браузерные игры на Three.js вместо стандартных кубов и сфер. CX Codex +1 1 100установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой