/legend-release:release-trainfrom legend-release
Sequences a full Legend stack release across five repos (shared, pure, engine, sdlc, depot) in dependency order, bumping consumer version properties after each hop lands on Maven Central.
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.
Releasing the whole stack in dependency order. Each repo consumes the versions published by the ones before it, so the order is not negotiable and each hop waits for the previous one to be readable on Central — not merely "published".
legend-shared → legend-pure → legend-engine → legend-sdlc → legend-depot
This skill drives all five repos, so it needs a checkout of each — see
"Checkouts" in ../release-preflight/references/repo-matrix.md (relative to this
skill's directory). Read that file first: the five repos do not share a release
mechanism.
legend-stack-release.yml exists in every repo and is believed stale. The train
is sequenced by hand, one release.yml dispatch per repo. Do not trigger the
stack workflow without asking.
For each repo in order:
legend-engine: legend.pure.version, legend.shared.versionlegend-sdlc: legend.engine.version, legend.pure.version, legend.shared.versionlegend-depot: legend.shared.version, legend.engine.version, legend.sdlc.versionmvn versions:set-property -Dproperty=<prop> -DnewVersion=<v> -DgenerateBackupPoms=false
Commit and push this before dispatching — the release builds what is on
the branch. Confirm the push, as with any mutation.release-preflight for that repo and version.release-dispatch. Confirm each dispatch separately; do
not batch-approve the whole train up front.curl -s -o /dev/null -w '%{http_code}' \
"https://repo1.maven.org/maven2/<group path>/<artifact>/<version>/<artifact>-<version>.pom"
Poll until 200. Only then start the next hop.post-release-verify before moving on. A half-published repo
poisons every hop after it.Each repo has its own independent artifact version — engine 4.143.x, sdlc
0.232.x, depot 2.96.x, pure 5.97.x, shared 0.37.x. The release branch
name carries the Legend stack number (legend-release-<stack-version>), which
is unrelated to any of them. Never derive one from the other; read each repo's
root pom for its current version and increment the patch unless told otherwise.
Stop the train. A failed hop means every later repo would pin a version that does
not exist. Triage (release-triage), clean up if the release left a tag or
version commits (release-cleanup), fix, then resume from the failed repo — the
hops that already succeeded are published and immutable, so never re-run them
with the same version.
Keep a running summary: which repos are done and at what version, which is in flight, which are pending. A stack release spans many hours and the user will lose the thread otherwise.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
legend-stack, multi-repo-release, maven-central, release-train
7 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".npx claudepluginhub finos/legend-shared --plugin legend-releaseOther plugins' skills for the same job