Logo Phaser Release

Phaser Release

Tổ chức
Yakoub-ai
phaser-release

This skill should be used when the user asks to "release my game", "ship it", "publish to itch.io", "prepare for launch", "is my game ready to release", "make a store page", "release checklist", "version my game", "what do I need before launching", "post-launch", "my game is live and I need to update it", or is preparing a Phaser game for players rather than for testing.

Tổng quan

Nhà phát hànhYakoub-ai
Kho mãphaser4-gamedev
Tên kỹ năngphaser-release
Sao
29
Bản fork
3
Tệp đi kèm
2
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Yakoub-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Phaser Release trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Yakoub-ai/phaser4-gamedev/tree/main/skills/phaser-release
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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-release .claude/skills/phaser-release
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Phaser Release trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Phaser Release ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Phaser Release với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Releasing a Phaser 4 Game

Getting the build onto a host is the easy part, and skills/phaser-build/ already covers it. This skill covers the rest: deciding whether the game is ready, presenting it so people play it, and running the loop after launch.

The most common release mistake is not a broken build. It is releasing something that works, presenting it badly, and concluding the game was the problem.


The readiness gate

Do not begin release preparation until all of these pass. Each one has ended a launch.

bash
# 1. Compiles
npx tsc --noEmit

# 2. Runs — as a production build, which is what players get
node "${CLAUDE_PLUGIN_ROOT}/skills/phaser-playtest/scripts/playtest.mjs" \
  --project . --mode build

# 3. Every scenario still passes
for f in playtest/*.mjs; do
  node "${CLAUDE_PLUGIN_ROOT}/skills/phaser-playtest/scripts/playtest.mjs" \
    --project . --scenario "$f" --mode build || echo "FAILED: $f"
done

# 4. Holds up on mobile if you claim mobile support
node "${CLAUDE_PLUGIN_ROOT}/skills/phaser-playtest/scripts/playtest.mjs" \
  --project . --mode build --device iphone

# 5. No leak across a long session
node "${CLAUDE_PLUGIN_ROOT}/skills/phaser-playtest/scripts/playtest.mjs" \
  --project . --scenario playtest/long-session.mjs --heap

--mode build is the one that matters. Dev mode hides exactly the failures that only players see: a wrong base path in vite.config.ts that 404s every asset on itch.io, assets referenced from src/ that never reached dist/, minification breaking code that depends on .name, and tree-shaking dropping a scene that is only referenced dynamically. A game that is perfect in dev and broken in build is the single most common launch-day failure.

Manual checks the harness cannot make

CheckWhy it matters
Play it start to finish yourselfYou will find something. You always do.
Someone else plays it without instructionsThe tutorial gap only appears with a real stranger
Audio balance on speakers and headphonesMixes made on one are usually wrong on the other
Every settings toggle actually worksBroken settings read as a broken game
Save survives a page reloadAnd a browser restart, and a version bump
It works on a real phoneEmulation is not Safari

The stranger test is the highest-value item on this list. Watch, and do not help — every moment you want to explain something is a design problem you can still fix.


Versioning

Set a version and put it in the game:

typescript
// Read from package.json at build time; never hand-maintain two copies.
const config: Phaser.Types.Core.GameConfig = {
  gameVersion: __APP_VERSION__,   // define in vite.config.ts
  // ...
};
typescript
// vite.config.ts
import pkg from './package.json';
export default defineConfig({
  define: { __APP_VERSION__: JSON.stringify(pkg.version) },
});

Display it somewhere unobtrusive — a corner of the title screen. When a bug report says "it happens on the latest version", you need to know what they were actually running, and a version they can read off the screen is the difference between a useful report and a guess.

Semantic-ish versioning for games:

BumpWhen
0.1.0 → 0.2.0New content or features
0.2.0 → 0.2.1Fixes
0.x → 1.0.0The game is complete as designed

Version your save format separately, and from the first release:

typescript
interface SaveData { version: number; /* ... */ }

Retrofitting this after players have saves is a migration you cannot test against data you do not have. See skills/phaser-saveload/.


The store page

For most web games the page does more for the play count than any single feature. It is not marketing fluff; it is where people decide.

The essentials, in order of impact

  1. A GIF or short video, above the fold. People watch before they read. It should show play, not a title screen — start on motion, keep it under 10 seconds, loop cleanly.
  2. One sentence that says what the game is. Your hook, from brainstorming. Not "an exciting adventure" — what the player does.
  3. Screenshots that show different things. Four images of the same room say the game has one room.
  4. Controls, stated plainly. Web-game players will not hunt. Put them on the page and on the title screen.
  5. Honest scope. "A 15-minute arcade game" sets the right expectation and gets better reception than an unlabelled short game does.

Making the GIF

bash
node "${CLAUDE_PLUGIN_ROOT}/skills/phaser-playtest/scripts/playtest.mjs" \
  --project . --scenario playtest/showcase.mjs --video --mode build

A scenario that plays the most visually interesting 10 seconds gives you a clean, repeatable capture with no cursor and no fumbled input — and it re-records itself in one command every time the art changes.

itch.io specifics

  • Zip the contents of dist/, not the folder. index.html must be at the zip root.
  • Set the viewport dimensions to match your game, and enable fullscreen.
  • base: './' in vite.config.ts — an absolute base 404s every asset.
  • Tag accurately. Tags are how itch surfaces the game, and wrong tags bring the wrong players, who leave the reviews.

Deployment mechanics for itch.io, GitHub Pages, Netlify/Vercel and Capacitor are in skills/phaser-build/SKILL.md.


Launch day

Set up the feedback path before you announce. A comment thread nobody is reading, or a Discord that does not exist yet, loses you the first day of reports — which are the most valuable ones you will get, because they come from the least invested players.

Add an in-game way to report:

typescript
if (this.input.keyboard) {
  this.input.keyboard.on('keydown-F8', () => {
    const state = { version: __APP_VERSION__, scene: this.scene.key, /* ... */ };
    navigator.clipboard?.writeText(JSON.stringify(state));
  });
}

A key that copies the current game state turns a paragraph of prose into something you can paste straight into a playtest eval step. It costs ten lines and it changes what your bug reports are worth.

Watch, in this order:

  1. Does it load at all, for other people, on other networks?
  2. Do people get past the first minute? A drop-off there is onboarding, not difficulty.
  3. What do they say in the first hour? Early reports skew toward real blockers.

Have a rollback ready. Keep the previous build. If launch day goes wrong, restoring in two minutes beats debugging under pressure in front of an audience.


After launch: the loop

Release is the start of the interesting part. Feedback arrives, and the loop that turns it into a better game is:

bash
/phaser-feedback   # triage, reproduce, fix, verify, reply

Each reproduced bug leaves behind a playtest/repro-*.mjs scenario, which becomes part of the gate for the next release. Over a few releases that suite encodes what real players actually did to your game — which no amount of unit testing produces. See skills/phaser-feedback/.

Patch releases

Ship fixes fast and visibly. A game that gets a fix within a day of a report reads as cared-for, and that reputation determines whether anyone bothers reporting the next one.

For each patch:

  1. Fix, with a repro scenario.
  2. Run the full readiness gate again — patches break things, especially under pressure.
  3. Bump the patch version.
  4. Write a player-facing changelog: what changed, in their words, not fixed null deref in ShopScene. See skills/phaser-feedback/references/response-templates.md.
  5. Tell the people who reported it. Individually, if the numbers allow.

Knowing when to stop

A game is finished when the remaining items are improvements rather than problems. There is always more polish available. Two useful signals:

  • Nobody has reported a blocker in a while, and the remaining list is preferences.
  • You are making changes you cannot justify to a player.

Stop, write the postmortem, and start the next one. An unfinished game teaches far less than a finished one, and a game polished past the point of complaints is a game not being made.


Additional Resources

Reference Files

  • references/release-checklist.md — The full gate as a checklist, per platform, plus the pre-launch, launch-day and post-launch sequences.
  • references/store-presence.md — Store page craft: capture, screenshots, descriptions, tags, and the platform-specific requirements for itch.io, Newgrounds, Poki, and mobile stores.

Related

  • skills/phaser-build/ — deployment mechanics and per-host configuration
  • skills/phaser-feedback/ — the post-launch loop
  • skills/phaser-playtest/ — the gate this skill depends on
  • skills/phaser-mobile/ — mobile and store packaging specifics
  • skills/phaser-saveload/ — save versioning, which must exist before the first release

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Phaser Release làm được gì?

This skill should be used when the user asks to "release my game", "ship it", "publish to itch.io", "prepare for launch", "is my game ready to release", "make a store page", "release checklist", "version my game", "what do I need before launching", "post-launch", "my game is live and I need to update it", or is preparing a Phaser game for players rather than for testing.

Vì sao nên dùng Phaser Release trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Phaser Release là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Phaser Release trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Yakoub-ai/phaser4-gamedev/tree/main/skills/phaser-release. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Phaser Release?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Phaser Release với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Phaser Release với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Phaser Release có miễn phí không?

Kỹ năng này được Yakoub-ai phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇