Imported from glebis/claude-skills (
cull-release-publish/SKILL.md). Install upstream withnpx skills add glebis/claude-skills --skill cull-release-publish. Copyright stays with the author.
Cull Release Publish
Authority
An explicit “Release Cull patch|minor|major” or direct “Publish prepared Cull release X.Y.Z” request authorizes publication. Do not ask for another confirmation after gates pass. That authority does not waive or bypass any gate.
Implicit invocation is disabled. Without that explicit authority, stop before any tag, push, workflow dispatch, release, or tap mutation.
Publish
- Resolve the Cull checkout and parse one JSON envelope from
npm run release:cull -- state show --version "$VERSION" --json. - Require state
prepared, exact metadata, a clean release commit already pushed onmain, green required checks, active branch/tag protection, publication enablement, and no conflicting tag. - Create one annotated tag for the prepared commit and push that tag normally. Never move, replace, or force-push a tag.
- Watch the tag-bound GitHub release workflow. Never substitute a local build.
- Require the secret-free verifier's exact artifact inventory, signatures, notarization, checksums, and provenance before automatic publication.
- Wait for checksum-pinned Homebrew promotion and its audit/install/launch proof.
- Record evidence transitions through
publishedandhomebrew-promotedusing the repository CLI's state commands.
Tag-time anchor and race rules (required)
- The release workflow gate requires the tagged SHA to be at-or-ahead of
origin/main and to carry the bumped version files. Only the release PR's
merge commit satisfies both. The record's
releaseCommit(written by prepare as the pre-prepare tip) does not — re-anchor the record'sreleaseCommitto the merge commit (external-evidence cache repair) after the release PR merges, then pass that SHA to--expected-source. - Immediately before tagging:
git fetch origin mainand verify the tip still equals the merge commit and no auto-merge PR is mid-flight. A single dependabot commit landing after the tag push burns the tag (STALE_RELEASE_SOURCE; tags are immutable) — recovery is a deeper version, not a tag move. - Watch the run's gate step first; only then do the longer build/notarize steps matter. If the gate fails, stop and route through cull-release-recover.
On failure, use cull-release-recover. Never delete or rewrite a tag, delete a release, replace published assets, bypass verification, or force workflow state.
