Release Flow Skill
SkillCloud & infraAutomate the full application release flow for BrewMate, including committing local changes, bumping version, waiting for GitHub Actions release build, and pushing the in-repo cask update (Casks/brewmate.rb). Trigger this skill whenever the user mentions releasing a new version, deploying the application, publishing version, or running the cask release workflow.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Release Flow Skill skill
What this skill tells your AI
The instructions your AI receives, as published by romankurnovskii/brewmate in .agents/skills/release-flow/SKILL.md and read by ahel’s review.
This skill automates the end-to-end application release cycle for BrewMate. It guides the model through running local verifications, committing changes, bumping the version, pushing tags, tracking the release workflow run on GitHub, and merging the corresponding Cask update PR in the custom Homebrew tap.
Prerequisites
- Ensure the local workspace is clean (
git status). - Ensure the GitHub CLI (
gh) is authenticated on the user system. - Since the agent environment may contain a dummy
GITHUB_TOKENthat overrides your keyring, prefix GitHub CLI commands withenv -u GITHUB_TOKENto use the active keyring credentials.
Step-by-Step Instructions
1. Pre-Release Verification
Before making any release, ensure the codebase compiles and passes all checks.
- Run unit tests:
npm test - Run the build script to compile the TypeScript files:
npm run build
If any checks fail, stop and report the errors to the user. Do not proceed with the release until the code is fully verified.
2. Stage and Commit Outstanding Changes
Stage all modified files and commit them using Conventional Commits.
- Stage all local changes:
git add . - Identify the staged files to ensure only the expected files are staged:
git diff --cached --name-only - Commit using Conventional Commits:
(Modify the commit type and message dynamically based on the changes you are releasing).git commit -m "fix: resolve stuck loading state for categories donut chart"
3. Bump Version and Push Tag
Bump the package version and push the changes together with the tag to trigger the GitHub Actions release workflow.
- Bump the version (defaults to a patch release, e.g.,
npm version patch):
(If the user explicitly requests a minor or major release, runnpm version patchnpm version minorornpm version majorinstead). - Push the commit and its corresponding tag to the remote repository:
git push origin main --follow-tags
4. Monitor GitHub Actions Release Run
Query the workflow runs to track the progress of the release build.
- List the most recent workflow runs:
env -u GITHUB_TOKEN gh run list --limit 5 - Identify the run corresponding to the new version tag (e.g.
1.0.26under theReleaseworkflow). - If the run is
queuedorin_progress, wait and check periodically (e.g., using a background scheduler or timer) until the status changes tocompletedand the conclusion issuccess. - If the build fails, notify the user immediately.
5. Cask Updated In-Repo (No External PR Needed)
Once the GitHub Actions Release build completes successfully, the create-release.yml workflow automatically:
- Updates
Casks/brewmate.rbin this repo with the new version and SHA256. - Commits and pushes the change directly to
mainwith[skip ci].
No external PR to romankurnovskii/homebrew-awesome-brew is needed. The cask is now maintained in-repo — the release workflow pushes the updated cask directly to the BrewMate repository's main branch.
To verify the cask update:
git pull origin main
cat Casks/brewmate.rb
Success Criteria
The release flow is complete when:
- The new version tag is pushed.
- The GitHub Actions release build completes successfully.
- The
Casks/brewmate.rbfile is updated with the new version and SHA256 on themainbranch.
Signals
- GitHub stars
- 301
- Forks
- 36
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
release-flow- Source
- github.com/romankurnovskii/brewmate
github.com/romankurnovskii/brewmate