Skip to content

Add release Skill and corresponding sub-skills together with the prepare script#3218

Open
x3c41a wants to merge 2 commits into
masterfrom
release-skills-split
Open

Add release Skill and corresponding sub-skills together with the prepare script#3218
x3c41a wants to merge 2 commits into
masterfrom
release-skills-split

Conversation

@x3c41a
Copy link
Copy Markdown
Contributor

@x3c41a x3c41a commented Feb 17, 2026

Summary

Split the monolithic /release skill into composable sub-skills backed by a standalone prepare-bridge-hub-release.sh script. Enables the automated release flow from mobile or CI:

/release-prepare β†’ /release-pr β†’ human merge β†’ /release-finalize

Related: Rohit's release workflow in #3215.

Skills

Skill Description
/release Orchestrate the full release lifecycle, chaining sub-skills
/release-prepare Update chain spec_version, regenerate codegen, bump relay version
/release-pr Create release branch, commit, and PR with A-release label
/release-finalize Create annotated git tag, wait for Docker build, publish GitHub Release

New files

  • scripts/runtime-matrix.json β€” chain metadata for BridgeHub WASM downloads
  • scripts/prepare-bridge-hub-release.sh β€” automates spec_version update, codegen regeneration, BlakeTwo256 fix, and relay version bump
  • .claude/skills/release-prepare/skill.md
  • .claude/skills/release-pr/skill.md
  • .claude/skills/release-finalize/skill.md
  • .claude/skills/release/skill.md (updated)

Follow-up PRs

Test plan

  • Script argument validation tested (no args, invalid chain, bad version all error correctly)
  • Version parsing verified: v1.1.6 β†’ 1_001_006, v2.0.6 β†’ 2_000_006
  • JSON validated with jq
  • All skill frontmatter matches existing patterns
  • macOS compatibility: portable sed/grep (no grep -oP, sed -i'' -e form)
  • End-to-end test with a real BridgeHub runtime upgrade

Extract the monolithic /release skill into three composable skills
(/release-prepare, /release-pr, /release-finalize) backed by a
standalone prepare-bridge-hub-release.sh script. This enables the
automated agent flow: /investigate β†’ /release-prepare β†’ /release-pr
β†’ human merge β†’ /release-finalize β†’ /check-health.

New files:
- scripts/runtime-matrix.json: chain metadata for BridgeHub downloads
- scripts/prepare-bridge-hub-release.sh: automates spec_version update,
  codegen regeneration, BlakeTwo256 fix, and relay version bump
- .claude/skills/release-prepare: wraps script + cargo check
- .claude/skills/release-pr: creates branch, commit, and PR
- .claude/skills/release-finalize: post-merge tag, Docker, GH release
@x3c41a x3c41a requested review from bkontur and rosarp February 17, 2026 09:24
@cla-bot-2021
Copy link
Copy Markdown

cla-bot-2021 Bot commented Feb 17, 2026

User @claude, please sign the CLA here.

@x3c41a x3c41a changed the title Split release skill into composable sub-skills + shared script Add deploy, rollback, and release skills Feb 17, 2026
@x3c41a x3c41a changed the title Add deploy, rollback, and release skills Add release, deploy, CI, and pipeline skills Feb 17, 2026
@x3c41a x3c41a force-pushed the release-skills-split branch from 2d044dd to f850b53 Compare February 17, 2026 11:01
@x3c41a x3c41a changed the title Add release, deploy, CI, and pipeline skills Add release sub-skills and prepare script Feb 17, 2026
@bkontur
Copy link
Copy Markdown
Collaborator

bkontur commented Feb 18, 2026

@x3c41a I passed e2e kind of :), where is /check-health all ?

@x3c41a x3c41a changed the title Add release sub-skills and prepare script Add release Skill and corresponding sub-skills together with the prepare script Feb 24, 2026
@x3c41a
Copy link
Copy Markdown
Contributor Author

x3c41a commented Feb 26, 2026

@x3c41a I passed e2e kind of :), where is /check-health all ?

#3226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants