Playtesting A Feature 标志

Playtesting A Feature

组织
SummerEngine
playtesting-a-feature

Before calling a gameplay feature done, run the game and walk through it. Static checks do not count.

概览

发布者SummerEngine
代码仓库summer
技能名称playtesting-a-feature
星标数
91
复刻数
8
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/playtesting-a-feature .claude/skills/playtesting-a-feature
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Playtesting A Feature。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Playtesting A Feature

Overview

A game feature is not done because it compiles. It is not done because the tests pass. It is not done because summer_get_diagnostics is clean. It is done when someone has played it and the thing it promised actually happens.

Core principle: If you have not pressed play and walked the feature, you have not shipped it.

This skill governs the play-the-game layer of verification. It does not replace:

  • verification-before-completion — type checks, build output, test runs. Run that for the code layer.
  • debug — operational triage when a feature is actively broken or crashing.
  • investigating-bugs — root-cause analysis once a specific bug is reproducible.

Use those skills first if they apply. This skill runs after code-level verification, before telling the user the feature is done.

The Iron Law

NO "FEATURE SHIPPED" CLAIM WITHOUT A PLAYED WALKTHROUGH

If you have not, in this session, driven the feature and read back what happened, you cannot claim it works.

You walk the feature. Not the user. A RunVerification probe presses your game's real inputs, reads state back across frames, and saves real rendered frames. Handing the walkthrough to the user is a last resort for things a probe cannot judge — see What only a human can answer — not the default.

On an engine build with the runtime-control ops (summer_game_probe, summer_game_input, summer_game_control, summer_runtime_*), drive the LIVE game instead of a hidden probe: deterministic launch, frame-stamped probe before and after every action, exact frame steps. That doctrine is the agent-playtesting skill; this skill's probe loop below is the path when those tools answer engine_lacks_op.

The Loop

  Define golden path → Play → Walk it → Probe edges → Capture state → Decide

1. Define the golden path

Before pressing play, write down — in one or two sentences — what "feature works" means as a user-visible sequence. Be concrete.

Good: "Player walks to chest, presses E, chest opens, item drops, item enters inventory, inventory UI updates." Bad: "Inventory pickup works."

If you cannot describe the golden path in one sentence, you do not understand the feature well enough to verify it. Ask the user.

2. Walk the golden path with a probe

Write the golden path as a RunVerification probe and send it as a raw op through summer_batch. The engine spawns a hidden, disposable game instance positioned offscreen, runs your GDScript, writes results.json plus any frames you saved, and kills the instance. It never touches the user's open editor, and nothing appears on their screen.

summer_batch ops:[{
  "op": "RunVerification",
  "probe_source": "<your GDScript>",
  "max_seconds": 20
}]

A probe extends SummerProbeBase and has: report(key, value), save_frame(name), dump_tree(), press(action, hold_ms), key(keycode, hold_ms), finish().

gdscript
extends SummerProbeBase

func _ready() -> void:
    await super._ready()
    for i in 20:
        await get_tree().physics_frame          # let the scene settle

    var player := get_tree().current_scene.get_node("Player")
    var start: Vector2 = player.position
    save_frame("00_start")

    await press("move_right", 500)              # await, or the hold never elapses
    await get_tree().physics_frame
    report("walked_right", player.position.x > start.x + 50)
    save_frame("01_after_walk")

    var y_before: float = player.position.y
    await press("jump", 50)
    var apex := y_before
    for i in 25:
        await get_tree().physics_frame
        apex = min(apex, player.position.y)
    report("jumped", apex < y_before - 30)
    save_frame("02_after_jump")

    finish()

Four rules the probe API will punish you for breaking:

  • press() and key() are coroutines. await press("jump", 50) — calling them bare starts the press and never releases it. You also cannot store one in a variable and await it later; it returns void.
  • Assert on physics-frame-derived state. await get_tree().physics_frame N times, then read positions. That is reproducible run to run.
  • Assert inequalities, never exact values. press(hold_ms) waits on the wall clock, so the number of physics frames a key is held drifts between runs — the same walk lands on x=245 one run and x=250 the next. position.x > start.x + 50 is a real assertion; position.x == 250.0 is a flaky test you wrote yourself.
  • The global RNG is not seeded by default. Anything downstream of randf() differs every run. Assert ranges, seed it yourself in the probe, or pin the launch — see Deterministic runs.

If the probe cannot express the check — no SummerProbeBase in this build, or a genuinely out-of-process feature — fall back to summer_play + diagnostics reads:

  summer_clear_console
  summer_play
  summer_is_running  (confirm)

summer_clear_console first so the buffer is not polluted by a previous session's errors. If you skip this, you will chase ghost errors that have nothing to do with the current feature.

Boot time varies, so do not sleep a guessed delay after summer_play. On engines with the events channel: summer_recent_events (note next_seq) → summer_play → summer_wait_for_event since:<next_seq> kinds:["play.started"], then wait on script.error during the walkthrough to catch runtime script errors the moment they fire. engine_lacks_events means the build predates the channel — confirm with summer_is_running and read the console as above. A timed_out wait is not proof the game failed to start; check, do not assume.

3. Read back what actually happened

The probe's results.json is your primary evidence. Then read the editor's own view — in this order, because a played game's runtime errors are collected by the debugger and never reach the editor console:

  summer_get_diagnostics        (the verdict: console + debugger + script errors, complete counts)
  summer_get_debugger_errors    (the runtime errors themselves, with stacks)
  summer_get_console            (print() output and editor-side warnings — after the two above, never instead of them)

summer_get_console alone is never the verdict. Right after a play session that raised four runtime errors it honestly reports errors 0, because those errors live in the debugger; its result says so in _scope. A clean console proves only that nothing was printed to the editor log.

A probe also collects engine errors itself — results.json carries errors_seen. Read it. An empty reports block with finished: false means the probe hit its max_seconds ceiling before calling finish(), which is a failure, not a pass.

If anything is non-zero or unexpected, the feature is not done. Go to debug.

What only a human can answer

A probe reports facts. It cannot hold an opinion. Ask the user only when the question is experiential:

  • Does it feel right? Floaty jumps, sluggish input, mushy hit feedback — see debugging-game-feel.
  • Does it look good? Composition, colour, readability. A probe can prove a light exists and prove the frame is not black; it cannot tell you the scene is ugly.
  • Is this fun? Not a measurable property.

"I cannot simulate input" is not on that list: RunVerification presses real inputs. If you catch yourself asking the user to press a key, write the probe instead.

4. Probe the edges

The golden path proves the happy case. Most gameplay bugs live in the edges. Before claiming done, probe at least these four classes:

EdgeWhat to tryWhy
Input spamPress the action button 10x in a row, hold it, mash during a transitionRace conditions, state machines that swallow input, double-trigger bugs
Off-screen / out-of-rangeTrigger the feature when the actor is far from the camera, off the navmesh, in a different scene@onready paths that assume specific parent, signal connections that drop when nodes free
Paused / state-changeTrigger during pause, mid-cutscene, while another modal is openprocess_mode mistakes, get_tree().paused not respected
Multi-frameRepeat the feature 5 times in a row without restarting the sceneLeaked nodes, accumulating signals, growing arrays, sound stacking

You do not need to probe every edge for every feature. Pick the 2-3 that are most relevant to the feature's mechanics. Skip with a one-line note if you skip: "Did not probe pause-state — feature only runs in main menu."

5. Capture state, then decide

After the walkthrough and edge probes, capture one final snapshot:

  summer_get_diagnostics        (debugger.errors and console errors must both be 0)
  summer_get_debugger_errors    (if diagnostics shows any)
  summer_get_console            (if the printed output looked off)

State the result in plain language:

"Played the chest-open feature: golden path works (chest opens, item enters inventory, UI updates). Probed input spam (no double-pickup), probed pause (correctly disabled). Diagnostics clean. Feature done."

Or:

"Played the chest-open feature: golden path works, but pressing E twice in 100ms duplicates the pickup. Not done — going to debug."

Deterministic runs

When a bug only shows on some runs, or two runs must be compared, pin the launch (newer engines): summer_play seed:42 fixed_fps:60 (optionally time_scale). The pins ride on THIS launch's command line only — nothing is persisted, and omitting them is exactly the plain launch.

  • seed pins the GLOBAL RNG only — randi/randf/randi_range/randf_range/randfn, Array.shuffle, Array.pick_random, re-seeded after the scene tree initializes and before autoloads and the main scene. It does not pin RandomNumberGenerator instances (self-randomized on construction), scripts that call randomize() (re-randomizes the global RNG from the wall clock), rand_from_seed (caller-seeded), wall-clock reads, thread/IO timing, or audio-device timing. The result restates this as determinism.seed_scope; a feature that still diverges with a seed is using one of those.
  • fixed_fps decouples scene time from the wall clock — the game runs as fast as it renders, and frame-count-derived state lands on the same frame run to run. Assertions can become exact where they were ranges.
  • Read determinism.applied. applied:false carries a reason: already_running (stop first, the pins cannot reach a live process), editor_run_args_override (a user-configured run argument re-sets the same flag and wins — conflicting_flag names it), launch_not_started. A result with NO determinism block after you sent a pin means the engine predates the params — the tool says "not applied"; the run is NOT reproducible and you may not claim it is.
  • A RunVerification probe pins the same two flags on its own instance; summer_play pins are for the embedded game you then read through summer_get_runtime_tree / summer_inspect_runtime_node.

"Looks right" vs "is right"

A common failure mode: the feature visually looks correct on first try, you stop there, ship it, and a deeper bug surfaces later.

Looks right means the rendered frame matches expectations.

Is right means the rendered frame matches expectations AND the underlying state is consistent AND it survives repetition AND no errors are silently logged.

The debugger and the console catch "looks right but isn't right" cases — runtime errors that did not crash the game (debugger), deprecation warnings and signal misfires (console). Always read summer_get_diagnostics after a playthrough, even when the visuals looked fine — and never let a clean summer_get_console stand in for it: the console does not receive a played game's runtime errors.

When to record video vs when console+diagnostics is enough

Your probe already produces the visual record: save_frame() writes a real rendered JPEG at each step, and a sequence of them across a movement is a flipbook of the feature happening. You are not the only one who cannot see the game — until you save frames, nobody can. Save them at the interesting moments and read them back.

Ask the user for a video or a live look only when:

  • The feature feels wrong — see debugging-game-feel. Frame counts and console output cannot capture "the jump feels floaty."
  • The bug is non-deterministic and your probe cannot reproduce it after several attempts.
  • The judgement is aesthetic — see What only a human can answer.

Don't ask reflexively. A saved frame sequence answers most "did it visually work" questions without involving the user at all.

Red Flags — STOP

Red flagReality
"Compiles clean, shipping it"Compiling is not playing. Press play.
"Diagnostics returned 0 errors after boot"Boot is not play. The feature has not fired yet.
"User said make this — I'll move on once it builds"The user wants the feature to work, not to build.
"It would take too long to play"Playtest takes 60 seconds. Shipping a broken feature costs hours.
"The unit test passes"Unit tests cover code paths, not gameplay sequences.
"I already played it in a previous session"State changed. Verify in this session.
"I'll let the user catch any issues"Catching them is your job. Ship working features.
Skipping summer_clear_console before summer_playYou will chase last session's errors.
Sleeping a fixed delay after summer_playBoot time varies. Wait for play.started with summer_wait_for_event, or confirm with summer_is_running.
Skipping summer_get_console because diagnostics looked fineSilent warnings and signal misfires hide there.
Calling summer_get_console alone as the post-play checkIt never receives a played game's runtime errors; errors 0 there proves nothing. Read summer_get_diagnostics / summer_get_debugger_errors.
"The MCP can't simulate input, so the user has to test it"False. RunVerification presses actions and keys. Write the probe.
"I'll ask the user to press jump and tell me what happened"You can press jump. They should not have to QA your work.
Probe returned finished: false, you called it a passIt hit max_seconds before finish(). That is a failure.
Asserting position.x == 250.0 in a probeHold time is wall-clock. Assert > start.x + 50.
press("jump", 50) without awaitIt is a coroutine. The key is never released.
"I sent seed:42, so the run is reproducible"Only if determinism.applied is true. An older engine ignores the pin and the tool says "not applied"; seed never pins RandomNumberGenerator instances or randomize() calls.

Rationalization Prevention

ExcuseReality
"Static checks are enough for this feature"If it has any runtime behavior, no.
"The feature is too small to playtest"Two lines of code can break a state machine. Play it.
"I'll batch the playtest with the next feature"Bugs compound. Play each feature individually.
"User is in a hurry"Shipping broken features is the slowest path.
"The repro is hard to set up"That is a sign the feature has insufficient instrumentation. Add it, then play.

When the engine isn't running

RunVerification is dispatched by the editor, so it needs the editor running. The verify instance itself does not. You can spawn exactly the same probe runtime straight from your shell, with no editor at all:

bash
/Applications/Summer.app/Contents/MacOS/Summer \
  --path <project-dir> \
  --summer-verify <abs-path-to-probe.gd> \
  --summer-verify-out <abs-out-dir> \
  --summer-verify-max 30

Then read <out-dir>/results.json and the JPEGs beside it. The probe must extend the base class — copy summer_probe_base.gd into the project and extends "res://summer_probe_base.gd", or use the project's tests/autopilot/ scaffold if it has one. See headless-scripting for the full pattern and its traps.

So if summer_play returns "Summer Engine is not running":

  1. Run the probe directly from the shell as above. That is a real playtest.
  2. Only if that is also impossible: tell the user summer run to start the editor, and say plainly "code compiles and looks correct, but I have not played it" — do not claim verification from static analysis alone.
  3. When the engine comes back, run the loop.

The Bottom Line

Press play. Walk the path. Probe the edges. Read the diagnostics. Then claim done.

Related skills:

  • verification-before-completion — the code-layer verification this skill builds on.
  • debug — when the playtest surfaces a crash or error.
  • investigating-bugs — when the playtest surfaces a reproducible logical bug.
  • debugging-game-feel — when the feature works but feels wrong.

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
summer_batchsummer engine batch
summer_clear_consolesummer engine clear-console
summer_game_controlsummer engine game-control
summer_game_inputsummer engine game-input
summer_game_probesummer engine game-probe
summer_get_consolesummer engine get-console
summer_get_debugger_errorssummer engine get-debugger-errors
summer_get_diagnosticssummer engine get-diagnostics
summer_get_runtime_treesummer engine get-runtime-tree
summer_inspect_runtime_nodesummer engine inspect-runtime-node
summer_is_runningsummer engine is-running
summer_playsummer engine play
summer_recent_eventssummer engine recent-events
summer_wait_for_eventsummer engine wait-for-event

附带文件

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

常见问题

Playtesting A Feature AI 技能有什么作用?

Before calling a gameplay feature done, run the game and walk through it. Static checks do not count.

为什么在 TypingMind 中使用 Playtesting A Feature?

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

如何在 TypingMind 中安装 Playtesting A Feature?

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

哪些 AI 模型可以使用 Playtesting A Feature?

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

Playtesting A Feature 可以搭配多少个 AI 模型使用?

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

Playtesting A Feature AI 技能免费吗?

是的。SummerEngine 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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