game-studio

bởi openai

Định tuyến công việc game trình duyệt giai đoạn đầu. Sử dụng khi người dùng cần lựa chọn stack và lập kế hoạch quy trình làm việc qua thiết kế, triển khai, tài nguyên và thử nghiệm chơi trước khi…

npx skills add https://github.com/openai/plugins --skill game-studio

Game Studio

Overview

Use this skill as the umbrella entrypoint for browser-game work. Default to a 2D Phaser path unless the user explicitly asks for 3D, Three.js, React Three Fiber, shader-heavy rendering, or another WebGL-first direction.

This plugin is intentionally asymmetric:

  • 2D is the strongest execution path in v1.
  • 3D has one opinionated default ecosystem: vanilla Three.js for plain TypeScript or Vite apps, React Three Fiber for React-hosted 3D apps, and GLB or glTF 2.0 as the default shipping asset format.
  • Shared architecture, UI, and playtest practices apply to both.

Use This Skill When

  • the user is still choosing a stack
  • the request spans multiple domains such as runtime, UI, asset pipeline, and QA
  • the user says "help me build a game" without naming the implementation path

Do Not Stay Here When

  • the runtime is clearly plain Three.js
  • the runtime is clearly React Three Fiber
  • the task is clearly a shipped-asset problem
  • the task is clearly frontend-only or QA-only

Once the intent is clear, route to the most specific specialist skill and continue from there.

Routing Rules

  1. Classify the request before designing or coding:
    • 2D default: Phaser, sprites, tilemaps, top-down, side-view, grid tactics, action platformers.
    • 3D + plain TS/Vite: imperative scene control, engine-like loops, non-React apps, direct Three.js work.
    • 3D + React: React-hosted product surfaces, declarative scene composition, shared React state, UI-heavy 3D apps.
    • 3D asset pipeline: GLB, glTF, texture packaging, compression, LOD, runtime asset size.
    • Alternative engine: Babylon.js or PlayCanvas requests, usually as comparison or ecosystem fit questions.
    • Shared: core loop design, frontend direction, save/debug/perf boundaries, browser QA.
  2. Route to the specialist skills immediately after classification:
    • Shared architecture and engine choice: ../web-game-foundations/SKILL.md
    • Deep 2D implementation: ../phaser-2d-game/SKILL.md
    • Vanilla Three.js implementation: ../three-webgl-game/SKILL.md
    • React-hosted 3D implementation: ../react-three-fiber-game/SKILL.md
    • 3D asset shipping and optimization: ../web-3d-asset-pipeline/SKILL.md
    • HUD and menu direction: ../game-ui-frontend/SKILL.md
    • 2D sprite generation and normalization: ../sprite-pipeline/SKILL.md
    • Browser QA and visual review: ../game-playtest/SKILL.md
  3. Keep one coherent plan across the routed skills. Do not let engine, UI, asset, and QA decisions drift apart.

Default Workflow

  1. Lock the game fantasy and player verbs.
  2. Define the core loop, failure states, progression, and target play session length.
  3. Choose the implementation track:
    • Default to Phaser for 2D browser games.
    • Choose vanilla Three.js when the project is explicitly 3D and wants direct render-loop control in a plain TypeScript or Vite app.
    • Choose React Three Fiber when the project already lives in React or wants declarative scene composition with shared React state.
    • Choose raw WebGL only when the user explicitly wants a custom renderer or shader-first surface.
  4. Define the UI surface early. Browser games usually need a DOM HUD and menu layer even when the playfield is canvas or WebGL.
    • For 3D starter scaffolds, default to a low-chrome HUD that preserves the playfield and keeps secondary panels collapsed.
  5. Decide the asset workflow:
    • 2D characters and effects: use sprite-pipeline.
    • 3D models, textures, and shipping format: use web-3d-asset-pipeline.
  6. Close with a playtest loop before calling the work production-ready.

Output Expectations

  • For planning requests, return a game-specific plan with stack choice, gameplay loop, UI surface, asset workflow, and test approach.
  • For implementation requests, keep the chosen stack obvious in the file structure and code boundaries.
  • For mixed requests, preserve the plugin default: 2D Phaser first unless the user asks for something else.
  • When the user asks about Babylon.js or PlayCanvas, compare them honestly but keep Three.js and R3F as the primary code-generation defaults unless the user explicitly chooses another engine.

References

  • Engine selection: ../../references/engine-selection.md
  • Three.js stack: ../../references/threejs-stack.md
  • React Three Fiber stack: ../../references/react-three-fiber-stack.md
  • 3D asset pipeline: ../../references/web-3d-asset-pipeline.md
  • Vanilla Three.js starter: ../../references/threejs-vanilla-starter.md
  • React Three Fiber starter: ../../references/react-three-fiber-starter.md
  • Frontend prompting patterns: ../../references/frontend-prompts.md
  • Playtest checklist: ../../references/playtest-checklist.md

Examples

  • "Help me prototype a browser tactics game."
  • "I need a Phaser-based action game loop with a HUD and menus."
  • "I want a Three.js exploration demo with WebGL lighting and browser-safe UI."
  • "I want a React-based 3D configurator with React Three Fiber."
  • "Optimize my GLB assets for the web and keep the file sizes under control."
  • "Set up the asset workflow for consistent 2D sprite animations."

Thêm skills từ openai

user-context
openai
Tải hoặc quản lý các tùy chọn định tuyến nguồn bền vững, logic giới thiệu, tiến trình thiết lập và sổ đăng ký lớp ngữ nghĩa của plugin Phân tích Dữ liệu.
official
notion-research-documentation
openai
Nghiên cứu nội dung Notion và tổng hợp thành các bản tóm tắt có cấu trúc, báo cáo hoặc so sánh kèm trích dẫn. Tìm kiếm và truy xuất các trang Notion bằng truy vấn mục tiêu, sau đó sắp xếp kết quả theo chủ đề với trích dẫn nguồn trong văn bản và phần tài liệu tham khảo. Chọn từ bốn định dạng đầu ra (tóm tắt nhanh, tổng hợp nghiên cứu, so sánh, báo cáo toàn diện) dựa trên phạm vi và mục tiêu của người dùng. Tạo và cập nhật các trang Notion bằng mẫu có sẵn; liên kết trực tiếp nguồn và theo dõi thay đổi khi
official
rcsb-pdb-skill
openai
Gửi yêu cầu RCSB PDB nhỏ gọn để lấy siêu dữ liệu cốt lõi, truy vấn API Tìm kiếm và tải xuống FASTA. Sử dụng khi người dùng muốn tóm tắt RCSB ngắn gọn; lưu JSON thô hoặc…
official
pdf
openai
Đọc, tạo và xác thực PDF với kết xuất trực quan và tạo theo chương trình. Kết xuất các trang PDF sang PNG để kiểm tra trực quan bố cục, khoảng cách và kiểu chữ trước khi bàn giao bằng Poppler (pdftoppm). Tạo PDF theo chương trình với reportlab để định dạng đáng tin cậy; trích xuất văn bản và siêu dữ liệu bằng pdfplumber hoặc pypdf. Thực thi các tiêu chuẩn chất lượng: không có văn bản bị cắt, phần tử chồng lấn, bảng bị hỏng hoặc hiện vật kết xuất; chỉ sử dụng dấu gạch nối ASCII, trích dẫn dễ đọc cho con người. Sử dụng...
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
Tự động hóa trình duyệt qua terminal với ảnh chụp nhanh phần tử và quy trình UI tương tác. Hoạt động thông qua script wrapper playwright-cli (yêu cầu npx); hỗ trợ chế độ headless và headed để gỡ lỗi trực quan. Quy trình cốt lõi: mở trang, chụp nhanh để tham chiếu phần tử ổn định, tương tác bằng refs, chụp lại sau khi điều hướng hoặc thay đổi DOM. Bao gồm điền biểu mẫu, nhấp chuột, gõ văn bản, quản lý nhiều tab, chụp ảnh màn hình/PDF và ghi lại trace để gỡ lỗi luồng. Tham chiếu phần tử (ví dụ: e3, e15)...
official
ukb-topmed-phewas-skill
openai
Lấy các bản tóm tắt PheWAS UKB-TOPMed nhỏ gọn cho các biến thể đơn lẻ bằng cách chấp nhận đầu vào rsID, GRCh37 hoặc GRCh38 và phân giải thành truy vấn GRCh38 cần thiết. Sử dụng khi một…
official
code-review-context
openai
Ngữ cảnh hiển thị của mô hình
official