/unreal-dev:unreal-packagingfrom unreal-dev
Packages an Unreal Engine game using RunUAT BuildCookRun. Covers build, cook, stage, and package stages, plus CI integration with timeout and log-based verdicts.
Ships in unreal-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Packaging is one Automation Tool command, BuildCookRun, whose switches pick its stages: build,
cook, stage, package, run. Run from a terminal under a timeout, its exit code, its log and the
output it was meant to write say together whether a build exists; none of the three is enough
alone.
| The situation | Read |
|---|---|
| "Package the game", a first build from the command line | The method below, reference/buildcookrun.md |
Which flags, which stages, what -Help is for | reference/buildcookrun.md §1–3 |
| Run it in CI under a clock and judge it | reference/buildcookrun.md §4, scripts/uat_run.py |
| Check a command line someone wrote | scripts/uat_run.py lint |
| A cook on its own; what gets cooked; works in the editor, missing packaged | reference/cooking.md |
| Development, Test or Shipping; the default map; the crash reporter; paks | reference/packaging-settings.md |
| An installed build of a source engine | reference/packaging-settings.md §5 |
| The build stage fails: a compile or link error | unreal-compile-loop |
| The ini stack, the crash folders of a packaged game | unreal-config-logs |
Read the project first (unreal-project): the .uproject, its target files, the engine it
associates with. A project with no game target cannot package a game.
Set what the package needs, once, in the project's ini files (reference/packaging-settings.md):
the map the game opens (GameDefaultMap), every map to cook (MapsToCook),
IncludeCrashReporter=True. Commit them.
Compose and lint the command:
python3 scripts/uat_run.py compose --project /work/CourierRun/CourierRun.uproject \
--platform Linux --config Development --stages build,cook,stage,package
It prints the RunUAT ... BuildCookRun -project=... -platform=... -clientconfig=... -Build -Cook -Stage -Package line and lints it. Any flag beyond those comes from
RunUAT BuildCookRun -Help and goes in --extra, where it is passed on and reported as unchecked.
Run it under a clock, keeping the log and naming the output that must exist:
python3 scripts/uat_run.py run --engine "$UE_ROOT" --project /work/CourierRun/CourierRun.uproject \
--platform Linux --config Development --stages build,cook,stage,package \
--log-out build/uat.log --expect build/CourierRun-Linux --timeout 7200
Read the verdict, then start the build once on the target before calling it done: a package that exists can still fail at its first map.
| Exit | Verdict | When |
|---|---|---|
| 0 | PASS | RunUAT exited 0, no Error or Fatal line in the log, every --expect output present |
| 2 | FAIL | the line failed lint (nothing ran); a non-zero exit; an Error or Fatal line (the first one is named, with its category); an --expect output missing |
| 3 | UNVERIFIED | no RunUAT under --engine or $UE_ROOT and no --uat; a timeout; an empty or missing log |
| 1 | usage | a bad flag, an unknown stage |
lint alone: 0 no problem, 2 a problem (an unknown configuration, a cook commandlet argument in a
UAT line, no -project=, a project file that is not there, a flag given twice with two values).
-platform= for BuildCookRun, -targetplatform= for the cook commandlet. -run=cook belongs
to the editor binary (reference/cooking.md), never to a UAT line.Development, Test or Shipping (or Debug, DebugGame), passed as
-clientconfig=; "Release" is not one.--expect passes on the exit code and the log alone; a stage
left out of the line leaves no output, with exit 0.-Stage -Package without -Cook stages whatever an
earlier cook left.reference/cooking.md §2).unreal-project → reference/engine-discovery.md: the descriptor, the targets and the engine, read before a buildunreal-compile-loop → reference/reading-errors.md: when the build stage fails, the compile on its ownunreal-config-logs → reference/ini-stack.md: the ini stack; log categories and crash folders beside itunreal-automation-tests → reference/running-tests.md: the tests to pass before packagingWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub tipoli5890/game-studio --plugin unreal-dev17 skills in this plugin
/unreal-animationUnreal animation: Animation Blueprint or C++ UAnimInstance, NativeUpdateAnimation, montages, slots, sections, notifies and notify states, root motion./unreal-asset-importImport meshes, textures and animation into Unreal by script: AssetImportTask, Interchange pipelines, glTF and FBX options, static or skeletal mesh, budget check./unreal-automation-testsUnreal automation tests: IMPLEMENT_SIMPLE_AUTOMATION_TEST, Automation Spec, latent commands, Automation RunTest on the command line, the JSON report as verdict./unreal-blueprint-boundarySplit Unreal work between C++ and Blueprint: BlueprintCallable, BlueprintNativeEvent, BlueprintImplementableEvent, exposed properties, data assets, soft references./unreal-compile-loopCompile Unreal C++ from a terminal: target, platform and configuration, UnrealBuildTool and compiler errors, Live Coding or a closed-editor rebuild./unreal-config-logsUnreal config and logs: Default*.ini layering, [/Script/...] sections, console variables, UE_LOG categories and verbosity, Saved/Logs, Saved/Crashes.