H5 试玩
vite build 后打开产物页,收集 Phaser 运行时错误
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- H5 试玩
- x-runner
- { "budget": { "max_rounds": 3, "max_tokens": 20000, "max_seconds": 200 }, "outputs": { "root": "artifacts/{req_short}/{ticket_short}/playtest_log", "globs": [ "playtest_log.json" ] }, "version": 1, "builtin_tools": [ "h5_playtest", "read_file" ] }
- x-workflow
- { "version": 1, "consumes": [ { "kind": "typecheck_log", "mode": "path", "required": false }, { "kind": "code", "mode": "path", "required": false } ], "priority": 86, "produces": [ { "glob": "playtest_log.json", "kind": "playtest_log" } ], "stage_id": "h5_playtest", "stage_name": "H5 试玩", "required_traits": { "any_of": [ "framework:phaser" ] }, "pipeline_view_contrib": { "group": "testing", "create_if_missing": { "icon": "?", "name": "测试验证", "insert_after": "development" } } }
- description
- vite build 后打开产物页,收集 Phaser 运行时错误
03 SKILL.md 正文
H5 试玩
用插件 Action h5_playtest 对当前 git 仓库做一次运行时门禁。
不是 GameBox 那套独立 Vite 沙箱:不另开 DATA_DIR,不常驻 Dev Server。
和 SOP fragment 的关系
sop/fragments/h5_playtest.yaml 负责插在 development 之后(priority 低于 tsc)、reject_goto: development。本 skill 与 fragment 同 stage_id,组装器跳过插入。
执行步骤
- 确认
repo_path有package.json/index.html。 - 调用一次
h5_playtest。不要自己起 Vite、不要自己拼 http.server。 status=success结束;playtest_failed把errors交回,不要在本阶段重试。- 缺 Playwright / Chromium 时 action 会先
pip install+playwright install chromium,装完再试玩。只有安装失败才runtime_skipped。
04 同仓库更多 Skills
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
algorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.