snapshot-release
Snapshot Release
End-to-end orchestration of the snapshot-release flow for the PR connected to the current branch:
- (optionally) post a
/snapshotcomment if none exists, - wait for the
Continuous Releasesworkflow to finish, - report the tarball URLs from the resulting
π¦ Snapshot ReleasePR comment.
Supports kicking off a fresh snapshot or picking up one that's already in flight or already finished.
Bundling principle
The skill runs in two Bash invocations: discover (Step 1) and orchestrate (Step 3). Inside each, bundle every gh call into one shell pipeline β do not split a step into multiple Bash tool calls. Use gh ... --jq to extract fields, and shell for / if to chain gh pr view β optional gh pr comment β gh run list β gh run watch β gh pr view within Step 3.
The skill is re-entrant: if Step 3 dies mid-way (network drop, terminal close, etc.) after the /snapshot comment was posted, simply invoking the skill again routes through the fast path β Step 1 finds the existing comment, Step 3 picks up the in-flight run via gh run watch, and the report catches up. No cleanup needed.
Step 1: Discover
Run a single command that returns the PR info plus the local git state. Bundle the remote PR query with the local checks so it stays one Bash call: