agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/unity-batchmode-build-verification/SKILL.md

unity-batchmode-build-verification

Skill5 starsChanged 3 months agoMITView on GitHub

Use when a Unity batch or batchmode, BuildPipeline, Editor.log, PlayerSettings, or Unity CI job is involved.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify Unity batch builds by command, environment, log, exit code, and observable artifact rather than treating process success as a …

    line 32
  2. Distinctive:

    Use for Unity CI, local batchmode builds, platform player generation, build-script regressions, or missing output despite exit code zero.

    line 35
  3. Distinctive:

    Do not use to claim gameplay, visual, performance, store, or network correctness that the batch build did not exercise.

    line 38
  4. Distinctive:

    Verify Unity version, license availability, project lock state, and output ownership.

    line 49
  5. Distinctive:

    Run the narrowest batchmode build and capture complete output.

    line 51
  6. Distinctive:

    Do not retry with package upgrades as a diagnostic shortcut.

    line 67
  7. Very specific:

    Read references/commands.md before constructing a Unity command.

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Unity Batchmode Build Verification

Overview

Verify Unity batch builds by command, environment, log, exit code, and observable artifact rather than treating process success as a complete build verdict.

When to use

Use for Unity CI, local batchmode builds, platform player generation, build-script regressions, or missing output despite exit code zero.

When NOT to use

Do not use to claim gameplay, visual, performance, store, or network correctness that the batch build did not exercise.

Required inputs and context discovery

Collect Unity executable/version, project path, build method, target platform, output path, log path, timeout, package snapshot, expected artifact properties, and safe cache policy.

Safety and risk level

Build outputs and caches are low-risk file side effects. Do not upgrade packages, save scenes, modify project settings, or overwrite release artifacts without approved scope.

Workflow

  1. Define the build claim, command, target, and expected artifact before execution. Completion criterion: success and failure signals are explicit.
  2. Verify Unity version, license availability, project lock state, and output ownership. Completion criterion: unavailable prerequisites are BLOCKED.
  3. Run the narrowest batchmode build and capture complete output. Completion criterion: exit code, duration, stdout/stderr, and log path are recorded.
  4. Inspect the expected artifact and relevant log errors or warnings. Completion criterion: exit zero without the artifact is FAIL.
  5. Issue PASS, FAIL, or BLOCKED with limitations and cleanup information. Completion criterion: the verdict does not imply untested runtime behavior.

Evidence and output contract

Produce unity-build-verdict.json with command, Unity version, target, exit code, log, artifact path/properties, verdict, limitations, and generated side effects.

Handoff contract

Record the failing command, first actionable log error, Unity/package snapshot, output path, generated caches, and next verification action.

Pitfalls and anti-rationalization

  • Exit code zero without the expected player is FAIL.
  • A player artifact does not prove playmode behavior.
  • Do not retry with package upgrades as a diagnostic shortcut.
  • License or Unity runner absence is BLOCKED.

Verification checklist

  • Exact Unity command and version are recorded.
  • Exit code and full log are captured.
  • Expected artifact is inspected.
  • Generated side effects are known.
  • Limitations are explicit.

References and scripts

Read references/commands.md before constructing a Unity command. Use the bundled scripts/build_evidence.py to validate normalized build evidence and project-native Unity build methods for execution.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.