tea-x-random/unity-game-skills/unity-qa-release

Claude Code and agent skill by tea-x-random/unity-game-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Verify and release casual iOS games built in Unity. Use for playtest QA, Play Mode tests, EditMode tests, Unity Test Framework, device resolution checks, safe-area UI checks, iOS build, Xcode project generation, IL2CPP, ASTC texture compression, App Store, TestFlight (TestFlight upload), privacy manifest (PrivacyInfo.xcprivacy), ATT prompt, app icon, launch screen, orientation lock, deployment target, managed stripping / link.xml, release readiness, ship it, and release risk reports. Also covers automating the manual macOS step with fastlane: App Store Connect API key auth, code signing, sigh, provisioning profiles, build number, CocoaPods, pod install, xcworkspace, EDM4U. Drives the Editor through unity-mcp-bridge (manage_build, run_tests, get_test_job).

Install

npx vskill@latest install tea-x-random/unity-game-skills/unity-qa-release

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as tea-x-random/unity-game-skills/unity-qa-release.

Unity QA Release

Prove the game works as a player encounters it, then generate a shippable iOS build with its risks named. The deliverable is an Xcode project plus a release risk report — not a signed .ipa, and never a "shipped" claim without evidence.

Doctrine (these override convenience)

  1. Verify with real evidence. Tests, screenshots, build output. Never say "done", "works", "passes", "built", "signed", or "shipped" without an artifact: green test results, a screenshot of the running scene, or actual build/status output. A clean read_console is not optional.
  2. Lean gates, but gate release. Don't stack a prompt at every micro-step, but release IS a gate. Do not produce a release report until QA + tests + a build-or-blocker exist.
  3. Edit/build through MCP, not files. All Editor work — running, testing, building — goes through unity-mcp-bridge (CoplayDev unity-mcp). Scenes/prefabs/.asset are GUID-linked YAML; never hand-edit.
  4. Unity 6 build pipeline differs from default knowledge. The model's built-in knowledge is ~Unity 2022.3. Build Profiles (the profile param on manage_build) need Unity 6+. If unsure about a manage_build action/property or a player setting API, verify via MCP (unity_reflect / unity_docs, docs group) before acting — don't write from memory.

Confirm the Editor is reachable first: read mcpforunity://editor/state and proceed only when ready_for_tools==true, is_compiling==false, is_domain_reload_pending==false. If MCP/Editor is down, say so and author the steps for manual run — do not claim QA/build happened.

QA gates before release

Load references/checklists/playtest-qa.md and walk it. Gate on:

  • Core loop reachable — input → objective → win/lose → restart, all by touch, no dead ends.
  • Console clean — read_console(types=["error","warning"]) shows no errors and no warnings of note.
  • Runs at target resolution(s) — playable and readable on the phone aspect ratios you ship (see Device/resolution QA).
  • Input/touch works — taps, drags, swipes register; no reliance on keyboard/mouse-only paths.
  • Win / lose / restart — each path reachable and recoverable.
  • No soft-locks — no state the player can enter and not leave (stuck menus, frozen input, dead win screen).
  • Performance acceptable — stable frame rate, no thermal/memory spikes. Profiling lives in unity-debug-profiler (profiling group, manage_profiler); link to it rather than re-deriving here.

A QA gate is "passed" only with a screenshot or test backing it.

Automated tests (Unity Test Framework)

Enable the group, then author and run. Load references/test-recipes.md for full recipes and an example test.

text
manage_tools(action="enable_group", group="testing") # exposes run_tests, get_test_job
  • Author EditMode tests (pure logic — fast, no scene) and PlayMode tests (scene/coroutine/physics behavior) using NUnit + the Unity Test Framework. Put them in asmdef-scoped Tests folders referencing the test framework.
  • Run async, then poll — run_tests returns a job:
text
run_tests(mode="PlayMode") # or mode="EditMode"
-> job_id
get_test_job(job_id, wait_timeout=120) # poll until status finished; re-call if still running

run_tests is not synchronous — always collect the job_id and poll get_test_job until it reports finished, then read pass/fail counts. Expect a domain reload (~5s drop) on first run after a compile.

Two run_tests gotchas: (1) it fails with "Cannot start a test run while the Editor is in or entering Play Mode" if a manual Play session is still live — always manage_editor(action="stop") before run_tests. (2) PlayMode init can flake with "tests did not start within timeout" — it's transient; just retry with a larger init_timeout, don't treat the first timeout as a real failure.

What to test in a casual game: scoring (points add/multiply, high-score persists), spawning (objects spawn at the right cadence/positions, pooling reuses), win/lose conditions (triggers fire at the right thresholds), save/load (PlayerPrefs/serialized state round-trips, survives a reload).

PlayMode test isolation (this bit hard — 4 tests passed singly but failed together). A runtime bootstrap that creates ROOT objects (Camera, Canvas, EventSystem) must parent them under its own GameObject — otherwise Object.Destroy(appGO) leaves the roots orphaned, they accumulate across tests, and FindAnyObjectByType<T>() returns a STALE instance from a prior test. Two more rules: if the app auto-resumes from PlayerPrefs in Awake, a previous test's save makes the next test resume the wrong board (its while(Board==null) wait exits instantly on the resumed board) — clear the save in both `[SetUp]` AND `[TearDown]`, and `DestroyImmediate` every app instance in `[TearDown]` (Destroy is deferred, so the next test starts before cleanup runs). Symptom signature: "expected 6 but was 7", "no conflict", cascading multi-test failures that vanish when each test is run alone.

Headless batchmode verification (no GUI, no MCP)

When an Editor is installed but you can't drive a live one (no MCP, headless/CI, or the user isn't at the keyboard), verify directly from the CLI — this gives a real compile + test gate without a human. The Editor must be CLOSED (it locks the project); check pgrep first.

bash
UNITY="/Applications/Unity/Hub/Editor/<version>/Unity.app/Contents/MacOS/Unity"
# Compile + run EditMode tests (do NOT add -quit with -runTests):
"$UNITY" -batchmode -nographics -projectPath <proj> \
-runTests -testPlatform EditMode -testResults results.xml -logFile verify.log
# Build the scene / run any editor entrypoint:
"$UNITY" -batchmode -nographics -quit -projectPath <proj> \
-executeMethod Namespace.Class.Method -logFile build.log

Read the results, don't guess: grep -cE ': error CS' verify.log must be 0; parse result="Passed" ... failed="0" from results.xml; a successful -executeMethod logs your own success line and no field '…' not found warnings (those mean a SerializedObject wire missed). Ignore benign [Licensing::…] Error: … handshake / Access token is unavailable / debugger-agent: Unable to listen lines — licensing reconnects and resolves right after. Batchmode needs a license: Personal/Team licenses activated via Hub login work headlessly. First run re-resolves + downloads packages (slow); background it and poll for the process to exit. Never report "compiles" or "tests pass" without the actual 0-error grep and the passed/failed counts.

Device / resolution QA

Casual iOS games run portrait on a range of phone aspect ratios. Test the spread, not one size:

  • Tall/notched (~19.5:9, modern iPhone), classic (~16:9), and a shorter one (older/SE).
  • manage_editor(action="play") → exercise the loop → manage_scene(action="screenshot", include_image=true) at each aspect → manage_editor(action="stop").
  • Verify safe area / notch: HUD and buttons inside the safe area, nothing clipped by the notch or home indicator, text fits, touch targets reachable. Compare screenshots across aspect ratios. UI fixes route to unity-ui-designer.

Editor throttling is not a device bug. An unfocused Unity Editor throttles Play Mode to a few FPS, so coroutine-driven animations look stuttery/slow in MCP screenshots and a short one-shot can be only partway through a cascade across several captures. This is Editor background-throttling, not a real frame-rate or device problem — note it as such; don't "fix" a non-bug (or, for proof, freeze it per the recipe below rather than chasing the FPS).

Capturing App Store screenshots at an EXACT pixel size. Register a Fixed Resolution Game View size (e.g. 1242×2688) and capture with UnityEngine.ScreenCapture.CaptureScreenshot(path) — it writes at the Game View's target render size. CRITICAL: do NOT use `manage_camera` screenshot with a camera specified — a camera render EXCLUDES Screen-Space-Overlay UI canvases (you get only the camera background). ScreenCapture.CaptureScreenshot captures the full framebuffer incl. Overlay UI. Verify output dimensions with sips -g pixelWidth -g pixelHeight <png>. Caveat (see Editor throttling above): an unfocused/throttled Editor doesn't repaint the Game View, so CaptureScreenshot can write a stale frame — on-device capture is often more reliable for store assets, and a leaderboard/score shot looks better with real data anyway.

Capturing transient VFX for proof. A one-shot effect shorter than the MCP round-trip (e.g. a <2.5s confetti burst) is gone before manage_camera/manage_scene screenshot fires. Reliable recipe: immediately after spawning the effect, set UnityEditor.EditorApplication.isPaused = true (via execute_code) — coroutine-driven animation freezes at its first-frame layout, so the screenshot captures it; restore isPaused = false afterward. The spawned objects' initial positions must already be on-screen (see the confetti pitfall in unity-gameplay-systems) or the frozen frame shows nothing.

iOS build pipeline (the centerpiece)

All via manage_build. Full ordered recipe + manual steps in references/ios-build-pipeline.md. Ordered sequence:

text
1. manage_build(action="platform", target="ios") # switch active platform
2. manage_build(action="settings", property="bundle_id", value="com.you.game")
manage_build(action="settings", property="product_name", value="My Game")
manage_build(action="settings", property="company_name", value="You")
manage_build(action="settings", property="version", value="1.0.0")
3. set scripting_backend="il2cpp" # iOS REQUIRES IL2CPP — Mono is not allowed
4. manage_build(action="scenes", ...) # add/order the scenes in the build (first = launch)
5. manage_build(action="build", target="ios", output_path="Builds/iOS/MyGame")
6. manage_build(action="status") # poll until the build finishes

Critical facts:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tea-x-random/unity-game-skills/unity-qa-release/badge)](https://verified-skill.com/skills/tea-x-random/unity-game-skills/unity-qa-release)

Something wrong with this skill or its page? Tell us.