Phaser Gdd 标志

Phaser Gdd

组织
Yakoub-ai
phaser-gdd

This skill should be used when the user asks to "write a game design document", "create a GDD", "design my game", "document game mechanics", "plan game progression", "define core loop", "art direction", "audio design plan", "monetization strategy", "game concept document", "plan my game before coding", or wants to produce a structured design document for a Phaser 4 game before writing any code.

概览

发布者Yakoub-ai
代码仓库phaser4-gamedev
技能名称phaser-gdd
星标数
29
复刻数
3
附带文件
1
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Yakoub-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Phaser Gdd AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Yakoub-ai/phaser4-gamedev/tree/main/skills/phaser-gdd
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Yakoub-ai/phaser4-gamedev.git /tmp/phaser4-gamedev
mkdir -p .claude/skills
cp -r /tmp/phaser4-gamedev/skills/phaser-gdd .claude/skills/phaser-gdd
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Phaser Gdd,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Phaser Gdd。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Phaser Gdd 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Phaser 4 Game Design Document Generator

Generate a comprehensive Game Design Document (GDD) for a Phaser 4 game. The GDD captures every design decision — mechanics, art, audio, progression, technical constraints — in a single Markdown file so the entire team (or solo dev) has a shared reference before any code is written.

GDD Structure (13 Sections)

Every generated GDD must include all 13 sections below. If the user has not specified details for a section, provide sensible defaults based on the genre and scope, and mark assumptions with <!-- ASSUMPTION --> so they are easy to find and revise.


Section 1 — Game Overview

Establish the identity of the game at a glance.

Include:

  • Title — Working title (can be placeholder).
  • Tagline — One punchy sentence that sells the hook.
  • Genre — Primary genre and any sub-genres (e.g., "roguelike platformer").
  • Target Audience — Age range, player profile, casual vs. hardcore.
  • Elevator Pitch — Exactly 2 sentences: what the player does and why it is fun.
  • Unique Selling Points (USPs) — 3-5 bullet points that differentiate the game.
  • Comparable Titles — 2-3 existing games the user or audience would recognize, with a brief note on what is borrowed and what is different.

Section 2 — Core Game Loop

Define the repeatable cycle that keeps the player engaged.

Include:

  • 30-Second Loop — The smallest atomic action cycle (e.g., jump-land-collect).
  • 5-Minute Loop — A medium arc such as completing a level or a wave.
  • Session Loop — What a full play session looks like (15-30 min for casual, 60+ for hardcore).

Present each loop as an ASCII flow diagram:

[Action] --> [Feedback] --> [Reward] --> [Decision] --+
   ^                                                  |
   +--------------------------------------------------+
  • Win Condition — What the player must achieve to "beat" the game or level.
  • Lose Condition — What causes failure and what happens next (restart level, lose life, game over).

Section 3 — Mechanics Deep Dive

Detail every interactive system the player touches.

Include:

  • Primary Mechanics — The 1-3 core verbs (e.g., jump, shoot, match). For each: input, physics behavior, edge cases.
  • Secondary Mechanics — Supporting systems (e.g., inventory, crafting, dialogue). Describe how they feed back into the core loop.
  • Control Scheme — Map inputs per platform:
ActionKeyboardTouchGamepad
MoveWASD / ArrowsVirtual joystickLeft stick
JumpSpaceTap right sideA button

Section 4 — Progression System

Describe how difficulty, content, and rewards evolve over time.

Include:

  • Difficulty Curve — Describe the intended ramp (linear, exponential, sawtooth). Reference specific milestones.
  • Unlock Sequence — What new abilities, levels, or items the player earns and when.
  • Scoring System — How score is calculated, combo multipliers, leaderboards if any.
  • Replayability Hooks — What brings the player back (new game+, daily challenges, procedural generation).
  • Estimated Play Time — Time to first completion and time to 100% completion.

Section 5 — Level / World Design

Plan the spatial structure of the game.

Include:

  • Level Count — Total number of levels, worlds, or zones.
  • Themes — Visual and mechanical theme per world (e.g., "World 2 — Ice Caves: slippery surfaces, breakable walls").
  • Flow Maps — ASCII diagram showing level progression and branching:
[Level 1] --> [Level 2] --> [Level 3]
                  |
                  +--> [Bonus Level A]
  • Difficulty Scaling — How enemy count, speed, puzzle complexity, or time pressure increases per level.

Section 6 — Characters & Entities

Catalog every game object with gameplay-relevant detail.

Include:

  • Player Character — Base stats (speed, health, jump height), abilities, state machine (idle, run, jump, hurt, dead).
  • Enemy Types — Table format:
EnemyHPSpeedBehaviorAttackDrop
Slime140px/sPatrol left-rightContact damageCoin (50%)
  • NPCs — Role, dialogue triggers, quest associations.
  • Collectibles & Power-ups — Effect, duration, rarity, visual indicator.

Section 7 — UI/UX Wireframes

Define every screen the player sees.

Include:

  • HUD Layout — ASCII wireframe of the in-game overlay:
+---------------------------------------+
| [Lives: x3]          [Score: 00000]   |
|                                       |
|                                       |
|              GAME AREA                |
|                                       |
|                                       |
| [Item1] [Item2] [Item3]    [Pause]   |
+---------------------------------------+
  • Menu Flow Diagram — ASCII showing navigation between screens:
[Title Screen] --> [Main Menu] --> [Play] --> [Level Select] --> [Game]
                       |                                           |
                       +--> [Settings]                     [Pause Menu]
                       +--> [Credits]                          |
                                                         [Game Over] --> [Main Menu]
  • Screen Mockups — Brief description of each unique screen (title, main menu, settings, game over, win).
  • Accessibility Considerations — Color-blind modes, font size options, remappable controls, screen reader hints.

Section 8 — Art Direction

Establish the visual identity and asset pipeline.

Include:

  • Visual Style — Describe in 1-2 sentences (e.g., "16-bit pixel art with modern lighting effects").
  • Color Palette — 5-8 hex codes with role labels:
RoleHexUsage
Primary#3A86FFPlayer, UI highlights
Secondary#FF006EEnemies, danger
Background#1B1B2FSky, menus
  • Resolution & Scaling — Game resolution (e.g., 800x600), scale mode (Phaser FIT, RESIZE, etc.), pixel-perfect flag.
  • Animation Guidelines — Frame counts, FPS per animation type (idle: 4 frames @ 8fps, run: 6 frames @ 12fps).
  • Asset List with Specs — Table of every required asset:
AssetTypeSizeFramesFormat
player_idleSpritesheet32x324PNG
background_forestStatic800x6001PNG

Section 9 — Audio Design Plan

Define the soundscape.

Include:

  • Music Mood per Scene — Table mapping each scene/level to a musical mood and tempo:
SceneMoodTempoLoop?
Main MenuMysterious, inviting90 BPMYes
Level 1Upbeat, adventurous120 BPMYes
Boss FightIntense, urgent150 BPMYes
Game OverSomber, reflective70 BPMNo
  • SFX List — Action-to-sound mapping:
ActionSound DescriptionPriority
Player jumpShort airy whooshHigh
Coin collectBright chime ascendingHigh
Enemy hitSoft thud + squishMedium
  • Format Requirements — All audio must be provided in both MP3 and OGG for cross-browser compatibility. Phaser will select the best format at runtime.
  • Volume Hierarchy — Define relative volume levels: Music (0.4), SFX (0.7), UI sounds (0.5). Describe how they interact (SFX duck music briefly on major events).

Section 10 — Technical Requirements

Pin down the Phaser-specific technical decisions.

Include:

  • Phaser Version — phaser (v4.2.1 stable) unless the user specifies otherwise.
  • Physics Engine — Choose one and justify:
    • Arcade — Simple AABB, best for platformers and shooters. Low CPU cost.
    • Matter.js — Full rigid-body physics. Use for games needing rotation, joints, or complex collision shapes.
    • None — For puzzle or card games with no physics simulation.
  • Performance Budgets — Target frame rate (60 FPS), max draw calls per frame, max simultaneous particles, texture atlas size limits.
  • Browser/Device Targets — Minimum browser versions, mobile device tier (e.g., "must run at 30+ FPS on 2020-era mid-range Android").

Section 11 — Platform Targets & Device Profiles

Specify where the game will run and how input differs.

Include:

  • Primary Platforms — Desktop browser, mobile browser, PWA, Electron, Capacitor/Cordova.
  • Input per Platform:
PlatformPrimary InputSecondary Input
DesktopKeyboard + MouseGamepad
MobileTouchGyroscope (optional)
TabletTouchBluetooth gamepad
  • Deployment Method — How the game is built and distributed (static hosting, itch.io, app store via Capacitor, etc.).

Section 12 — Monetization & Release Plan (Optional)

Include this section only if the user wants to discuss business aspects. Mark it optional in the output.

Include:

  • Business Model — Free, premium, freemium, ad-supported, or donation-ware.
  • Milestones — Key dates or phases:
MilestoneTarget DateDeliverable
PrototypeWeek 2Core loop playable
AlphaWeek 6All levels blocked out
BetaWeek 10Feature-complete, playtesting
LaunchWeek 14Polished, deployed
  • Distribution — Where the game will be published (itch.io, GitHub Pages, Steam, app stores).

Section 13 — Acceptance Criteria

Every other section describes intent. This one is the only part a machine can check, and it is what turns the GDD from a document into a specification.

Write each criterion so that it is observable, numeric, and false when the game is wrong. "The player should feel powerful" is not a criterion. "A charged attack deals 3× base damage" is.

Derive criteria directly from Sections 3 (Mechanics), 4 (Progression), and 6 (Entities) — anywhere the design commits to a number, that number is a criterion.

CriterionObservable statePlaytest assertion
Player jumps 3 tiles (96px) highplayer.y at apexplayer.y, atMost: spawnY - 96
Basic enemy dies in 3 hitsenemy.activepress attack ×3, then enemy.active, equals: false
Score persists into GameOverregistry.get('score')transition, then atLeast: 10
Coyote time is 100msjump succeeds after leaving ledgewalk off, wait 80ms, jump → body.velocity.y < 0
Wave 5 spawns 12 enemiesactive enemy countset wave, then enemies.countActive(true), equals: 12
Holds 60fps with 50 entitiesgame.loop.actualFpsspawn 50, then atLeast: 55
Boot reaches menu in under 3sscene key at t=3sgame.scene.isActive('MainMenuScene'), equals: true

Group criteria under the milestone that must satisfy them:

markdown
### Vertical Slice
- [ ] Player spawns at level start and responds to left/right/jump within 1 frame
- [ ] Falling off the map triggers respawn at the last checkpoint within 500ms
- [ ] Collecting a coin increments score by 10 and plays the pickup sound

### Alpha
- [ ] All 8 levels load without console errors
- [ ] Enemy AI pathfinds around static geometry (no wall-clipping over 30s)

Mark anything genuinely subjective as such rather than inventing a fake metric:

markdown
### Human review required (not automatable)
- Difficulty curve across levels 1-8 feels fair to a first-time player
- Art reads clearly against every background
- Audio mix is balanced at 50% volume

Save these to docs/acceptance-criteria.md alongside the GDD. The phaser-playtest skill turns each automatable criterion into a scenario assertion, which is how the design gets verified rather than merely stated.


Post-GDD Workflow

Once the GDD is finalized, guide the user to the next steps:

  1. Scaffold the project — Use /phaser-new to generate the base project structure matching the GDD's technical requirements.
  2. Design the architecture — Use the phaser-architect skill/agent to translate the GDD into a technical architecture: scene graph, class hierarchy, data flow, and system decomposition.
  3. Start implementing — Use the phaser-coder skill/agent to begin coding scenes, mechanics, and entities as specified in the GDD.
  4. Verify it runs — /phaser-playtest after each vertical slice. Section 13's automatable acceptance criteria become playtest assertions, which is how the design gets checked rather than merely stated.
  5. Ship it — /phaser-release runs the readiness gate and prepares the store presence.
  6. Iterate on what players say — /phaser-feedback turns their reports into failing playtest scenarios, then fixes, then regression tests.

If the user arrived here without a sharpened concept — a genre rather than a hook, or a scope that has not been sized against their available time — send them to /phaser-brainstorm first. A GDD written around an unscoped idea documents a project that will not finish.

Remind the user: the GDD is a living document. Update it as the game evolves during development.


Output Format

The generated GDD must be a single Markdown document with:

  • A top-level # Game Design Document: [Title] heading.
  • Each of the 13 sections as ## Section N — Name headings.
  • ASCII diagrams for all flow charts, wireframes, and level maps (no external image dependencies).
  • Tables for structured data (enemies, assets, audio, controls).
  • <!-- ASSUMPTION --> comments next to any detail the generator inferred rather than received from the user.

Save the document to docs/GDD.md in the project root. If no project directory exists, print the full GDD inline in the chat.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Phaser Gdd AI 技能有什么作用?

This skill should be used when the user asks to "write a game design document", "create a GDD", "design my game", "document game mechanics", "plan game progression", "define core loop", "art direction", "audio design plan", "monetization strategy", "game concept document", "plan my game before coding", or wants to produce a structured design document for a Phaser 4 game before writing any code.

为什么在 TypingMind 中使用 Phaser Gdd?

因为您只需安装一次,就能搭配任何模型使用。Phaser Gdd 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Phaser Gdd?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Yakoub-ai/phaser4-gamedev/tree/main/skills/phaser-gdd。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Phaser Gdd?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Phaser Gdd 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Phaser Gdd 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Phaser Gdd AI 技能免费吗?

Yakoub-ai 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇