trigger-release-build
Skill67 starsChanged 58 days agoMITView on GitHub
Safely dispatch an immutable source-owned Release verification or publication from the current origin/main SHA. Use only when explicitly asked to verify, publish, or rebuild a game version.
In this repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- cleanup-workspaceSkill
- convert-finder-skill-to-preprocessor-scriptsSkill
- create-agent-skill-fallbackSkill
- create-cpp-testsSkill
- create-preprocessor-scriptsSkill
- create-prSkill
- dump-vtablesSkill
- find-CBaseEntity_GetChangeAccessorPathInfo_1Skill
- find-CCSBotManager_AddBot_BotNavIgnoreSkill
- find-CCSGameRules__sm_mapGcBanInformationSkill
- find-CCSPlayer_MovementServices_CheckJumpButton_WaterPatchSkill
- find-CCSPlayer_MovementServices_FullWalkMove_SpeedClampSkill
- find-CEntitySystem_Init-decompilesSkill
- find-CEntitySystem_m_entityNamesSkill
- find-CNetworkGameServerBase_CheckTimeouts-decompilesSkill
- find-CNetworkGameServerBase_CreateFakeClientSkill
- find-CNetworkGameServerBase_GetChallengeTypeSkill
- find-CNetworkGameServer_GetFreeClientSkill
- find-CNetworkMessages_dtorSkill
- find-CNetworkMessages_GetIsForServerSkill
- find-CNetworkMessages_GetNetworkSerializationContextDataSkill
- find-CNetworkMessages_vtable-decompilesSkill
- find-CServerSideClientBase_GetUserIDStringSkill
- find-CSource2Server_Shutdown-decompilesSkill
- find-CSteam3ServerS1_InitGameServer-decompilesSkill
- find-INetworkServerService_GetServerSerializersCRCSkill
- find-INetworkServerService_IsActiveInGameSkill
- find-INetworkServerService_IsServerRunningSkill
- find-IVEngineServer2_GetClientSteamIDSkill
- find-OnServerVoiceData_IsPlayingDemo_CalleeSkill
- fix-cppheadersSkill
- generate-reference-yamlSkill
- generate-signature-for-functionSkill
- generate-signature-for-globalvarSkill
- generate-signature-for-patchSkill
- generate-signature-for-structoffsetSkill
- generate-signature-for-vfuncoffsetSkill
- get-func-from-yamlSkill
- get-vtable-addressSkill
- get-vtable-from-yamlSkill
- get-vtable-indexSkill
- init-gamebinSkill
- rename-preprocessor-scriptsSkill
- resolve-pr-conflictSkill
- run-validation-until-no-failureSkill
- run-vcall-finderSkill
- write-func-as-yamlSkill
- write-globalvar-as-yamlSkill
- write-patch-as-yamlSkill
- write-structoffset-as-yamlSkill
- write-vfunc-as-yamlSkill
- write-vtable-as-yamlSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use the bundled script as the only remote-operation entry point.
- Distinctive: line 35
Run from any directory with the confirmed mode stated explicitly:
- Very specific: line 43
If the script refuses the operation, surface its exact safety reason and stop.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Trigger Release Build
Use the bundled script as the only remote-operation entry point. Do not construct an ad-hoc gh workflow run
command, accept a user-supplied SHA, move a tag, edit a Release, cancel work, or bypass CI source-artifact preflight.
The local script checks repository/auth access, version selection, duplicate work, and the current origin/main SHA.
It does not create a temporary worktree or run full source-artifact preflight locally. All build paths retain their CI
source-artifact gates before building or publishing; artifact validation failures are reported in the Actions run.
Procedure
- Confirm both release choices with the user before any remote work. Ask two separate questions and do not
dispatch until both are answered explicitly — never choose on the user's behalf, never preselect an option, and never
infer an answer from a previous run.
- Build path: offer all three choices:
release: fresh-force_allrebuild, with automatic prior-version artifact/signature reuse when available.full-rebuild: fresh-force_all -oldgamever nonerebuild of every configured artifact into an empty external output root. Nooldgameverartifacts are used as references or old-signatures sources. The execution report must prove no prior GAMEVER and an isolated old-artifact root. Source-controlled preprocessor references remain available; tracked artifacts for the target GAMEVER remain the verification and publication truth.rebuild-free: manual emergency path that binds trackedbin_artifacts/<GAMEVER>without proving rebuildability.
- Publication:
verify-only(verify candidates without publishing),publish(publish without replacing existing content), orrepublish(replace an existing mutable Release in place, retaining its ID and tag name). In Claude Code, ask with theAskUserQuestiontool, offering the available choices on each question.
- Build path: offer all three choices:
- Extract the requested game version, or use
latestonly when the user explicitly asks for the latest version. - Map the confirmed answers onto the script flags:
--mode <verify-only-or-publish-or-republish>, plus--workflow full-rebuildor--workflow rebuild-freewhen the user chose that path. Omit--workflowforrelease.full-rebuilddispatches the standard build workflow withsource_artifact_mode=full-rebuild. Run from any directory with the confirmed mode stated explicitly:
uv run python .claude/skills/trigger-release-build/scripts/trigger_release_build.py <GAMEVER-or-latest> --mode <verify-only-or-publish-or-republish> [--workflow <release-or-full-rebuild-or-rebuild-free>]- Report the script's selected version, publication mode, workflow, full
SOURCE_SHA, commit subject, and Actions run URL. - If the script refuses the operation, surface its exact safety reason and stop. Do not bypass repository, auth,
version, duplicate-work, or
origin/mainchecks. Do not bypass a failed CI source-artifact gate.
publish preserves existing content and supports exact-byte retries. Select republish only when the user explicitly
requests replacement: it moves the tag to the selected source, updates metadata and assets, and temporarily makes the
Release a draft. Upload/verification failures leave a draft for a rerun to resume; do not silently switch modes or retry
with a different source. A fresh dispatch uses the then-current origin/main, so use the existing Actions run's rerun
when the same bundle is required. A missing target requires publish; GitHub immutable Releases cannot be republished.
Any requested generator/config change must already be merged into origin/main with its complete
bin_artifacts/<GAMEVER> tree.
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
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.

