/legend-release:release-dispatchfrom legend-release
Dispatches a Legend release workflow and monitors it to completion, handling preflight checks, confirmation, triggering, and failure triage.
Ships in legend-release. 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.
None: SKILL.md is the whole skill.
Dispatches a release and stays with it. The point is that the user does not have to watch a 1–3 hour pipeline or discover a failure an hour after it happened.
Read ../release-preflight/references/repo-matrix.md (relative to this skill's directory) before anything.
Repo from git remote get-url origin, branch and version from the user. If they
gave a version but no branch, use the current branch and say which one you are using.
Pick the workflow from the matrix, not from the file listing. release.yml
is correct for all five repos. Do not use release-large-runner.yml (dead since
February 2026) or legend-stack-release.yml (stale, repository_dispatch-driven).
Verify with actual history rather than assumption:
gh run list --workflow=release.yml -L 5
Run the release-preflight skill's checks in full. If anything blocks, stop and
report — do not dispatch "to see what happens", because a failed release after
release:prepare leaves a pushed tag and version commits to clean up.
Dispatching publishes to Maven Central, which is immutable. Always confirm, stating plainly:
The dry-run trap (legend-pure and legend-engine only): dryRun: true
skips only the publish steps. release:prepare still runs, so it still pushes
the tag and the version-bump commits. A dry run followed by a real run therefore
needs a full release-cleanup in between. Say this whenever the user asks for a
dry run — most people expect it to be side-effect free, and it is not.
gh workflow run release.yml --ref <branch> -f releaseVersion=<version>
Add -f dryRun=true only where the input exists and the user asked for it.
gh workflow run prints nothing on success, so confirm it actually started:
gh run list --workflow=release.yml -L 3
Report the run ID and URL.
Poll rather than blocking on gh run watch, which holds the terminal for hours:
gh run view <run-id>
Sensible cadence is every few minutes early on, then spaced out — the build job
alone is over an hour on legend-engine. For a long unattended watch, the loop
skill fits well.
Report meaningful transitions only: the build job finishing (this is the point the tag has been pushed and the branch bumped), the test matrix starting, the publish job starting. Do not narrate every poll.
Hand straight to release-triage. Do not guess at a cause from the job name —
a single failed job routinely mixes a real failure with an environmental one.
Report the verdict and the recommended action; do not rerun or "fix" anything
without asking.
Hand to post-release-verify.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub finos/legend-shared --plugin legend-release7 skills in this plugin
/post-release-verifyVerify a Legend release actually completed — artifacts readable on Central, tag correct, branch left at the right next SNAPSHOT, docker images pushed. Use after a release run goes green, or for "did the release work", "check the release landed", "verify 4.143.1"./release-backportBackport a fix to a Legend release branch safely, without dragging maven-release-plugin commits along with it. Use for "backport this to 4.100", "cherry-pick that fix onto the release branch", "get this fix into the release"./release-cleanupUndo a failed or partial Legend release — inspect what the release actually did, then surgically remove the tag and version-bump commits so the version can be cut again. Use for "the release failed, clean it up", "undo the release commits", "delete the tag so I can re-release", "the version bump was unintentional"./release-preflightVerify a Legend repo is actually releasable before dispatching a release — tag free, version unpublished on Central, branch clean and pushed, pom version correct, no stray release-plugin commits. Use before any release dispatch, or when asked "can I release X", "is the branch ready", "check before I cut 4.143.1"./release-trainSequence a full Legend stack release across repos — shared, pure, engine, sdlc, depot — in dependency order, bumping each consumer's version properties as the previous one lands on Central. Use for "release the stack", "do the full release train", "release everything for 4.101", "what's next in the train"./release-triageDiagnose a failed Legend release or CI run — pull the failed jobs, separate real code failures from known environmental/flaky ones, and recommend an action. Use for "why did the release fail", "what broke", "triage this run", or any failed release/build run.Other plugins' skills for the same job