Release Process logo

Release Process

CommunityPopular
bradygaster
release-process

Prepare, publish, recover, and verify Squad insider, preview, and stable releases

Overview

Publisherbradygaster
Repositorysquad
Skill namerelease-process
Stars
3.3K
Forks
506
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by bradygaster on GitHub. Read the source before you install it.

Installation

Install the Release Process AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bradygaster/squad/tree/dev/packages/squad-cli/templates/skills/release-process
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bradygaster/squad.git /tmp/squad
mkdir -p .claude/skills
cp -r /tmp/squad/packages/squad-cli/templates/skills/release-process .claude/skills/release-process
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Release Process in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Release Process on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Release Process is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Release Process

This is the canonical Squad release runbook. Squad has three release channels and two long-lived branches:

SourceVersionGitHubnpmStandaloneHomebrew/WinGet
Insider dispatch from devGenerated X.Y.Z-insider.NPrereleaseinsiderYesYes
Release dispatch from devX.Y.Z-preview.NPrereleasepreviewYesYes
Push to main by promotion workflowX.Y.ZStable/latestlatestYesYes

The repository does not use a staging preview branch. Preview is a release channel, not a branch.

Non-negotiable rules

  1. Never create release tags or GitHub Releases manually. squad-release.yml creates both.
  2. Never reuse a version. A preview such as 0.14.0-preview.1 and stable 0.14.0 are separate immutable releases.
  3. Keep the root, SDK, and CLI versions identical.
  4. Set the CLI's SDK dependency floor to >=VERSION; prerelease workspaces do not match an older stable range.
  5. Add an exact ## [VERSION] entry to CHANGELOG.md.
  6. Merge release preparation to dev and wait for CI before dispatching.
  7. Keep separate Homebrew casks and WinGet identifiers for each channel.

Required credentials

Configure these GitHub Actions secrets:

  • NPM_TOKEN: an automation-capable npm publish token that does not require an interactive OTP.
  • HOMEBREW_TAP_TOKEN: a classic GitHub PAT with public_repo, owned by an account that has write access to bradygaster/homebrew-squad.
  • WINGET_CREATE_GITHUB_TOKEN: a classic GitHub PAT with public_repo, owned by the account that maintains tamirdresher/winget-pkgs.

Human release-trigger boundary

Agents may prepare versions, run validation, and recommend exact commands, but agents must never execute or dispatch live publication, promotion, or recovery workflows. Only a human executes the real trigger for these live workflows: squad-release.yml, squad-agents-ai-release.yml, squad-insider-publish.yml, squad-promote.yml with dry_run=false, squad-version-promote.yml, squad-npm-publish.yml, or squad-standalone-release.yml. Treat squad-promote.yml --ref dev -f dry_run=true as human-only too: the workflow still has actions: write and contents: write, checks out dev with the workflow token, installs dependencies, and runs the release build and tests. Do not describe any GitHub Actions release workflow as agent-safe once it has write-capable credentials or a dispatch path. Stop with verified commands and evidence for a human to run; human approval alone does not authorize an agent to fire the trigger.

Prepare a release

Verify dev and main share ancestry before changing versions:

bash
git fetch origin dev main
git merge-base origin/dev origin/main

If that command returns no commit, stop and repair ancestry in a separate PR.

Choose a unique SemVer version and update all package manifests:

bash
VERSION=0.14.0-preview.1
npm version "$VERSION" --workspaces --include-workspace-root --no-git-tag-version
npm pkg set "dependencies.@bradygaster/squad-sdk=>=$VERSION" \
  --workspace @bradygaster/squad-cli
npm install --package-lock-only

This updates the root package, both workspaces, and the lockfile. Confirm:

bash
node -p "require('semver').valid('$VERSION')"
grep '"version"' package.json packages/squad-sdk/package.json packages/squad-cli/package.json
grep -F "## [$VERSION]" CHANGELOG.md
SKIP_BUILD_BUMP=1 npm run build
npx vitest run

The validation build must not mutate package versions or the lockfile; check git diff -- package.json packages/squad-sdk/package.json packages/squad-cli/package.json package-lock.json afterward and stop if any version-only change appears.

Release preparation lands through a normal PR to dev. Do not push directly to main.

Publish a preview release

Preview versions must contain a prerelease suffix, for example 0.14.0-preview.1.

After the release-preparation PR is merged and dev CI is green:

Human-only reference command: this live publish workflow must be run by a human. Agents must stop, hand off, and not execute it directly.

bash
VERSION=0.14.0-preview.1
gh workflow run squad-release.yml \
  --ref dev \
  -f confirm_tag="v$VERSION"
gh run watch

The workflow:

  1. Requires the dispatch ref to be dev.
  2. Rejects a stable X.Y.Z version.
  3. Creates v$VERSION and a GitHub prerelease.
  4. Publishes both npm packages with --tag preview.
  5. Uploads six standalone archives and SHA256SUMS.txt.
  6. Updates the squad-preview Homebrew cask and bradygaster.Squad.Preview WinGet package.

Install the resulting preview:

bash
npm install -g @bradygaster/squad-cli@preview

The same preview is available through brew install --cask squad-preview and winget install --id bradygaster.Squad.Preview --exact.

Publish an insider release

Start an on-demand snapshot from dev:

Human-only reference command: this live publish workflow must be run by a human. Agents must stop, hand off, and not execute it directly.

bash
gh workflow run squad-insider-publish.yml --ref dev -f dry_run=false
gh run watch

The workflow computes the next immutable X.Y.Z-insider.N version, publishes npm insider, creates a GitHub prerelease, uploads standalone bundles, updates the squad-insider Homebrew cask, and opens or reuses the bradygaster.Squad.Insider WinGet PR.

Publish a stable release

Stable versions must be exactly X.Y.Z. Prepare and merge the stable version to dev, then human-only validate the sanitized merge without changing main:

bash
gh workflow run squad-promote.yml --ref dev -f dry_run=true
gh run watch

Do not treat this as an agent-safe command. It still checks out dev with workflow credentials and runs repository build/test logic. Only a human should fire it. Start the real promotion:

Human-only reference command: this live publish workflow must be run by a human. Agents must stop, hand off, and not execute it directly.

bash
gh workflow run squad-promote.yml --ref dev -f dry_run=false
gh run watch

squad-promote.yml:

  1. Merges origin/dev directly into main.
  2. Removes .ai-team/, .squad/, .ai-team-templates/, team-docs/, and docs/proposals/ from the release tree.
  3. Rejects unresolved conflicts, prerelease versions, mismatched package versions, and missing changelog entries.
  4. Installs dependencies, builds, and runs release tests.
  5. Pushes main and explicitly dispatches squad-release.yml.

The explicit dispatch is required because GitHub suppresses push-triggered workflow runs for commits authenticated with GITHUB_TOKEN. The release workflow creates the stable tag and GitHub Release, publishes npm latest, uploads standalone archives, updates Homebrew, and opens or reuses the WinGet PR.

Verify publication

Use insider, preview, or latest for DIST_TAG:

bash
VERSION=0.14.0
DIST_TAG=latest

npm view @bradygaster/squad-sdk "dist-tags.$DIST_TAG"
npm view @bradygaster/squad-cli "dist-tags.$DIST_TAG"
gh release view "v$VERSION"

The npm values must equal VERSION. The GitHub Release must contain:

text
squad-linux-x64.tar.gz
squad-linux-arm64.tar.gz
squad-darwin-x64.tar.gz
squad-darwin-arm64.tar.gz
squad-win32-x64.zip
squad-win32-arm64.zip
SHA256SUMS.txt

For every release, also verify the channel's Homebrew cask (squad, squad-preview, or squad-insider) and WinGet identifier (bradygaster.Squad, .Preview, or .Insider) reference the new version.

Recovery

The top-level release workflow intentionally does not republish after its tag already exists. Rerun the failed child job, or dispatch the reusable workflow from the branch that owns that release channel while building from the immutable tag.

Stable recovery:

Human-only reference command: this live publish workflow must be run by a human. Agents must stop, hand off, and not execute it directly.

bash
VERSION=0.14.0
gh workflow run squad-npm-publish.yml --ref main \
  -f version="$VERSION" -f source_ref="v$VERSION"
gh workflow run squad-standalone-release.yml --ref main \
  -f upload=true -f release_tag="v$VERSION" -f source_ref="v$VERSION"

Preview recovery:

Human-only reference command: this live publish workflow must be run by a human. Agents must stop, hand off, and not execute it directly.

bash
VERSION=0.14.0-preview.1
gh workflow run squad-npm-publish.yml --ref dev \
  -f version="$VERSION" -f source_ref="v$VERSION"
gh workflow run squad-standalone-release.yml --ref dev \
  -f upload=true -f release_tag="v$VERSION" -f source_ref="v$VERSION"

Publication is idempotent. Existing package versions and release assets are verified rather than overwritten. npm publication fails instead of silently moving latest or preview away from an existing version.

After a stable release

Prepare the next development version in a normal PR to dev:

bash
NEXT_VERSION=0.15.0-preview.1
npm version "$NEXT_VERSION" --workspaces --include-workspace-root --no-git-tag-version
npm pkg set "dependencies.@bradygaster/squad-sdk=>=$NEXT_VERSION" \
  --workspace @bradygaster/squad-cli
npm install --package-lock-only

Do not merge main back into dev; the promotion commit already has dev as its parent, while the stripped internal state intentionally remains only on dev.

Frequently asked questions

What does the Release Process AI skill do?

Prepare, publish, recover, and verify Squad insider, preview, and stable releases

Why use Release Process on TypingMind?

Because you install it once and use it with any model. Release Process is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Release Process in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bradygaster/squad/tree/dev/packages/squad-cli/templates/skills/release-process. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Release Process?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Release Process?

As many as you like. As long as a model supports skills, you can use Release Process with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Release Process AI skill free?

Yes. It is published on GitHub by bradygaster under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇