Agent skill

Release Process

by FritzAndFriends in FritzAndFriends/SharpSite

Step-by-step release checklist for Squad — prevents v0.8.22-style disasters

MITAuto-check passedDevOps & Cloud

Install Release Process

skills CLI
$ npx skills add FritzAndFriends/SharpSite --skill release-process -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install FritzAndFriends/SharpSite release-process --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/FritzAndFriends/SharpSite.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.copilot/skills/release-process .claude/skills/release-process && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
release-process
GitHub stars
145
Used in
1 other repo
Token cost
~3.3k tokens
SKILL.md length
1,173 words
Files
1
Skills in repo
18
Repo updated
First seen
Licence
MIT

At a glance

Step-by-step release checklist for Squad — prevents v0.8.22-style disasters

  • Works in 12 steps: Version Number Validation → NPM_TOKEN Verification → Branch and Tag State → …
  • Tasks that involve Deployment
  • SKILL.md covers Context, Pre-Release Validation, Release Workflow and Manual Publish (Fallback), plus 4 more sections
  • Calls git, npm and gh; needs NPM_TOKEN

What it does

Release Process is an agent skill from FritzAndFriends/SharpSite. Step-by-step release checklist for Squad — prevents v0.8.22-style disasters

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Deployment and Feature launches and release readiness. It works with npm. The repository describes itself as: A basic CMS built with .NET 9 and Blazor. The licence is MIT.

When your agent uses it

  • Tasks that involve Deployment
  • Tasks that involve Feature launches and release readiness

Example prompts

  • “/release-process”

Requirements

  • Node.js
  • A credential in NPM_TOKEN

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Version Number Validation
  2. NPM_TOKEN Verification
  3. Branch and Tag State
  4. Disable bump-build.mjs
  5. Version Bump
  6. Commit and Tag
  7. Create GitHub Release
  8. Monitor Workflow
  9. Verify npm Publication
  10. Test Installation
  11. Sync dev to Next Preview
  12. Unpublish from npm (Nuclear Option)

What it can do on your machine

Read from SKILL.md and the folder at commit c35e5e0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • npm
    • gh
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, npm and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • NPM_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Release Process loads about 3.3k tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 1,173 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from FritzAndFriends/SharpSite at commit c35e5e0, republished under its MIT licence (© FritzAndFriends). 1,173 words, ~3,300 tokens.

Download SKILL.mdSave it as .claude/skills/release-process/SKILL.md (or your agent's skills folder).
name
release-process
description
Step-by-step release checklist for Squad — prevents v0.8.22-style disasters
domain
release-management
confidence
high
source
team-decision

Context

This is the definitive release runbook for Squad. Born from the v0.8.22 release disaster (4-part semver mangled by npm, draft release never triggered publish, wrong NPM_TOKEN type, 6+ hours of broken latest dist-tag).

Rule: No agent releases Squad without following this checklist. No exceptions. No improvisation.


Pre-Release Validation

Before starting ANY release work, validate the following:

1. Version Number Validation

Rule: Only 3-part semver (major.minor.patch) or prerelease (major.minor.patch-tag.N) are valid. 4-part versions (0.8.21.4) are NOT valid semver and npm will mangle them.

bash
# Check version is valid semver
node -p "require('semver').valid('0.8.22')"
# Output: '0.8.22' = valid
# Output: null = INVALID, STOP

# For prerelease versions
node -p "require('semver').valid('0.8.23-preview.1')"
# Output: '0.8.23-preview.1' = valid

If semver.valid() returns null: STOP. Fix the version. Do NOT proceed.

2. NPM_TOKEN Verification

Rule: NPM_TOKEN must be an Automation token (no 2FA required). User tokens with 2FA will fail in CI with EOTP errors.

bash
# Check token type (requires npm CLI authenticated)
npm token list

Look for:

  • ✅ read-write tokens with NO 2FA requirement = Automation token (correct)
  • ❌ Tokens requiring OTP = User token (WRONG, will fail in CI)

How to create an Automation token:

  1. Go to npmjs.com → Settings → Access Tokens
  2. Click "Generate New Token"
  3. Select "Automation" (NOT "Publish")
  4. Copy token and save as GitHub secret: NPM_TOKEN

If using a User token: STOP. Create an Automation token first.

3. Branch and Tag State

Rule: Release from main branch. Ensure clean state, no uncommitted changes, latest from origin.

bash
# Ensure on main and clean
git checkout main
git pull origin main
git status  # Should show: "nothing to commit, working tree clean"

# Check tag doesn't already exist
git tag -l "v0.8.22"
# Output should be EMPTY. If tag exists, release already done or collision.

If tag exists: STOP. Either release was already done, or there's a collision. Investigate before proceeding.

4. Disable bump-build.mjs

Rule: bump-build.mjs is for dev builds ONLY. It must NOT run during release builds (it increments build numbers, creating 4-part versions).

bash
# Set env var to skip bump-build.mjs
export SKIP_BUILD_BUMP=1

# Verify it's set
echo $SKIP_BUILD_BUMP
# Output: 1

For Windows PowerShell:

powershell
$env:SKIP_BUILD_BUMP = "1"

If not set: bump-build.mjs will run and mutate versions. This causes disasters (see v0.8.22).


Release Workflow

Step 1: Version Bump

Update version in all 3 package.json files (root + both workspaces) in lockstep.

bash
# Set target version (no 'v' prefix)
VERSION="0.8.22"

# Validate it's valid semver BEFORE proceeding
node -p "require('semver').valid('$VERSION')"
# Must output the version string, NOT null

# Update all 3 package.json files
npm version $VERSION --workspaces --include-workspace-root --no-git-tag-version

# Verify all 3 match
grep '"version"' package.json packages/squad-sdk/package.json packages/squad-cli/package.json
# All 3 should show: "version": "0.8.22"

Checkpoint: All 3 package.json files have identical versions. Run semver.valid() one more time to be sure.

Step 2: Commit and Tag
bash
# Commit version bump
git add package.json packages/squad-sdk/package.json packages/squad-cli/package.json
git commit -m "chore: bump version to $VERSION

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>"

# Create tag (with 'v' prefix)
git tag -a "v$VERSION" -m "Release v$VERSION"

# Push commit and tag
git push origin main
git push origin "v$VERSION"

Checkpoint: Tag created and pushed. Verify with git tag -l "v$VERSION".

Step 3: Create GitHub Release

CRITICAL: Release must be published, NOT draft. Draft releases don't trigger publish.yml workflow.

bash
# Create GitHub Release (NOT draft)
gh release create "v$VERSION" \
  --title "v$VERSION" \
  --notes "Release notes go here" \
  --latest

# Verify release is PUBLISHED (not draft)
gh release view "v$VERSION"
# Output should NOT contain "(draft)"

If output contains (draft): STOP. Delete the release and recreate without --draft flag.

bash
# If you accidentally created a draft, fix it:
gh release edit "v$VERSION" --draft=false

Checkpoint: Release is published (NOT draft). The release: published event fired and triggered publish.yml.

Step 4: Monitor Workflow

The publish.yml workflow should start automatically within 10 seconds of release creation.

bash
# Watch workflow runs
gh run list --workflow=publish.yml --limit 1

# Get detailed status
gh run view --log

Expected flow:

  1. publish-sdk job runs → publishes @bradygaster/squad-sdk
  2. Verify step runs with retry loop (up to 5 attempts, 15s interval) to confirm SDK on npm registry
  3. publish-cli job runs → publishes @bradygaster/squad-cli
  4. Verify step runs with retry loop to confirm CLI on npm registry

If workflow fails: Check the logs. Common issues:

  • EOTP error = wrong NPM_TOKEN type (use Automation token)
  • Verify step timeout = npm propagation delay (retry loop should handle this, but propagation can take up to 2 minutes in rare cases)
  • Version mismatch = package.json version doesn't match tag

Checkpoint: Both jobs succeeded. Workflow shows green checkmarks.

Step 5: Verify npm Publication

Manually verify both packages are on npm with correct latest dist-tag.

bash
# Check SDK
npm view @bradygaster/squad-sdk version
# Output: 0.8.22

npm dist-tag ls @bradygaster/squad-sdk
# Output should show: latest: 0.8.22

# Check CLI
npm view @bradygaster/squad-cli version
# Output: 0.8.22

npm dist-tag ls @bradygaster/squad-cli
# Output should show: latest: 0.8.22

If versions don't match: Something went wrong. Check workflow logs. DO NOT proceed with GitHub Release announcement until npm is correct.

Checkpoint: Both packages show correct version. latest dist-tags point to the new version.

Step 6: Test Installation

Verify packages can be installed from npm (real-world smoke test).

bash
# Create temp directory
mkdir /tmp/squad-release-test && cd /tmp/squad-release-test

# Test SDK installation
npm init -y
npm install @bradygaster/squad-sdk
node -p "require('@bradygaster/squad-sdk/package.json').version"
# Output: 0.8.22

# Test CLI installation
npm install -g @bradygaster/squad-cli
squad --version
# Output: 0.8.22

# Cleanup
cd -
rm -rf /tmp/squad-release-test

If installation fails: npm registry issue or package metadata corruption. DO NOT announce release until this works.

Checkpoint: Both packages install cleanly. Versions match.

Step 7: Sync dev to Next Preview

After main release, sync dev to the next preview version.

bash
# Checkout dev
git checkout dev
git pull origin dev

# Bump to next preview version (e.g., 0.8.23-preview.1)
NEXT_VERSION="0.8.23-preview.1"

# Validate semver
node -p "require('semver').valid('$NEXT_VERSION')"
# Must output the version string, NOT null

# Update all 3 package.json files
npm version $NEXT_VERSION --workspaces --include-workspace-root --no-git-tag-version

# Commit
git add package.json packages/squad-sdk/package.json packages/squad-cli/package.json
git commit -m "chore: bump dev to $NEXT_VERSION

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>"

# Push
git push origin dev

Checkpoint: dev branch now shows next preview version. Future dev builds will publish to @preview dist-tag.


Manual Publish (Fallback)

If publish.yml workflow fails or needs to be bypassed, use workflow_dispatch to manually trigger publish.

bash
# Trigger manual publish
gh workflow run publish.yml -f version="0.8.22"

# Monitor the run
gh run watch

Rule: Only use this if automated publish failed. Always investigate why automation failed and fix it for next release.


Rollback Procedure

If a release is broken and needs to be rolled back:

1. Unpublish from npm (Nuclear Option)

WARNING: npm unpublish is time-limited (24 hours) and leaves the version slot burned. Only use if version is critically broken.

bash
# Unpublish (requires npm owner privileges)
npm unpublish @bradygaster/squad-sdk@0.8.22
npm unpublish @bradygaster/squad-cli@0.8.22
2. Deprecate on npm (Preferred)

Preferred approach: Mark version as deprecated, publish a hotfix.

bash
# Deprecate broken version
npm deprecate @bradygaster/squad-sdk@0.8.22 "Broken release, use 0.8.22.1 instead"
npm deprecate @bradygaster/squad-cli@0.8.22 "Broken release, use 0.8.22.1 instead"

# Publish hotfix version
# (Follow this runbook with version 0.8.22.1)
3. Delete GitHub Release and Tag
bash
# Delete GitHub Release
gh release delete "v0.8.22" --yes

# Delete tag locally and remotely
git tag -d "v0.8.22"
git push origin --delete "v0.8.22"
4. Revert Commit on main
bash
# Revert version bump commit
git checkout main
git revert HEAD
git push origin main

Checkpoint: Tag and release deleted. main branch reverted. npm packages deprecated or unpublished.


Show full SKILL.md (470 more words)Show less

Common Failure Modes

EOTP Error (npm OTP Required)

Symptom: Workflow fails with EOTP error.
Root cause: NPM_TOKEN is a User token with 2FA enabled. CI can't provide OTP.
Fix: Replace NPM_TOKEN with an Automation token (no 2FA). See "NPM_TOKEN Verification" above.

Verify Step 404 (npm Propagation Delay)

Symptom: Verify step fails with 404 even though publish succeeded.
Root cause: npm registry propagation delay (5-30 seconds).
Fix: Verify step now has retry loop (5 attempts, 15s interval). Should auto-resolve. If not, wait 2 minutes and re-run workflow.

Version Mismatch (package.json ≠ tag)

Symptom: Verify step fails with "Package version (X) does not match target version (Y)".
Root cause: package.json version doesn't match the tag version.
Fix: Ensure all 3 package.json files were updated in Step 1. Re-run npm version if needed.

4-Part Version Mangled by npm

Symptom: Published version on npm doesn't match package.json (e.g., 0.8.21.4 became 0.8.2-1.4).
Root cause: 4-part versions are NOT valid semver. npm's parser misinterprets them.
Fix: NEVER use 4-part versions. Only 3-part (0.8.22) or prerelease (0.8.23-preview.1). Run semver.valid() before ANY commit.

Draft Release Didn't Trigger Workflow

Symptom: Release created but publish.yml never ran.
Root cause: Release was created as a draft. Draft releases don't emit release: published event.
Fix: Edit release and change to published: gh release edit "v$VERSION" --draft=false. Workflow should trigger immediately.


Validation Checklist

Before starting ANY release, confirm:

  • Version is valid semver: node -p "require('semver').valid('VERSION')" returns the version string (NOT null)
  • NPM_TOKEN is an Automation token (no 2FA): npm token list shows read-write without OTP requirement
  • Branch is clean: git status shows "nothing to commit, working tree clean"
  • Tag doesn't exist: git tag -l "vVERSION" returns empty
  • SKIP_BUILD_BUMP=1 is set: echo $SKIP_BUILD_BUMP returns 1

Before creating GitHub Release:

  • All 3 package.json files have matching versions: grep '"version"' package.json packages/*/package.json
  • Commit is pushed: git log origin/main..main returns empty
  • Tag is pushed: git ls-remote --tags origin vVERSION returns the tag SHA

After GitHub Release:

  • Release is published (NOT draft): gh release view "vVERSION" output doesn't contain "(draft)"
  • Workflow is running: gh run list --workflow=publish.yml --limit 1 shows "in_progress"

After workflow completes:

  • Both jobs succeeded: Workflow shows green checkmarks
  • SDK on npm: npm view @bradygaster/squad-sdk version returns correct version
  • CLI on npm: npm view @bradygaster/squad-cli version returns correct version
  • latest tags correct: npm dist-tag ls @bradygaster/squad-sdk shows latest: VERSION
  • Packages install: npm install @bradygaster/squad-cli succeeds

After dev sync:

  • dev branch has next preview version: git show dev:package.json | grep version shows next preview

Post-Mortem Reference

This skill was created after the v0.8.22 release disaster. Full retrospective: .squad/decisions/inbox/keaton-v0822-retrospective.md

Key learnings:

  1. No release without a runbook = improvisation = disaster
  2. Semver validation is mandatory — 4-part versions break npm
  3. NPM_TOKEN type matters — User tokens with 2FA fail in CI
  4. Draft releases are a footgun — they don't trigger automation
  5. Retry logic is essential — npm propagation takes time

Never again.

© FritzAndFriends, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .copilot/skills/release-process of FritzAndFriends/SharpSite.

Open the folder on GitHubat commit c35e5e0

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in FritzAndFriends/SharpSite, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Release Process next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Release Process compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Release Process this skillFritzAndFriends/SharpSite1451 repos~3.3kAutomated safety check: PassMIT
Frontmcp Production Readinessagentfront/frontmcp146—~6.5kAutomated safety check: PassApache-2.0
Release MaintainerUndertone0809/rudder292—~2.1kAutomated safety check: PassApache-2.0
Devops Rollout Plangithub/awesome-copilot40k1 repos~999Automated safety check: PassMIT
Release Engineeringmajiayu000/spellbook286—~511Automated safety check: PassMIT
Release Readinesspetrkindlmann/qa-skills165—~6.7kAutomated safety check: PassMIT

Similar skills

  • Pre-production audit, hardening, and go-live checklists for FrontMCP servers.

    146 GitHub stars~6.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Release Maintainer

    Undertone0809/rudder

    A skill your agent uses when inspecting, preparing, executing, recovering, or verifying Rudder releases across npm, GitHub Releases, Desktop assets, tags, dist-tags, changelogs, Discord…

    292 GitHub stars~2.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Devops Rollout Plan

    github/awesome-copilot

    Official

    Generate comprehensive rollout plans with preflight checks, step-by-step deployment, verification signals, rollback procedures, and communication plans for infrastructure and application changes

    40k GitHub starsUsed in 1 repo~999 tokens
    DevOps & CloudAuto-check passed
  • Release Engineering

    majiayu000/spellbook

    Plan and verify software releases with versioning, changelogs, release branches, feature flags, canaries, migration gates, rollback, deployment checks, and release readiness.

    286 GitHub stars~511 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Release Readiness

    petrkindlmann/qa-skills

    Validate release readiness with evidence-based go/no-go decisions.

    165 GitHub stars~6.7k tokensUpdated 3 mo ago
    DevOps & CloudAuto-check passed
  • Reflexo Release

    Myriad-Dreamin/typst.ts

    Guide Reflexo/typst.ts release preparation and operator handoffs.

    1.2k GitHub stars~1.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from FritzAndFriends/SharpSite

All 18 skills in this repo
  • Architectural Proposals

    FritzAndFriends/SharpSite

    How to write comprehensive architectural proposals that drive alignment before code is written

    145 GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed
  • Client Compatibility

    FritzAndFriends/SharpSite

    Platform detection and adaptive spawning for CLI vs VS Code vs other surfaces

    145 GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • Distributed Mesh

    FritzAndFriends/SharpSite

    How to coordinate with squads on different machines using git as transport

    145 GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed
  • Docs Standards

    FritzAndFriends/SharpSite

    Microsoft Style Guide + Squad-specific documentation patterns

    145 GitHub starsUsed in 2 repos~567 tokens
    Auto-check passed
  • Economy Mode

    FritzAndFriends/SharpSite

    Shifts Layer 3 model selection to cost-optimized alternatives when economy mode is active.

    145 GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • External Comms

    FritzAndFriends/SharpSite

    PAO workflow for scanning, drafting, and presenting community responses with human review gate

    145 GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed

Works with

Questions about Release Process

What does Release Process do?

Step-by-step release checklist for Squad — prevents v0.8.22-style disasters. Release Process is an agent skill from FritzAndFriends/SharpSite.

When should I use Release Process?

Release Process fits situations like: tasks that involve Deployment; tasks that involve Feature launches and release readiness.

How do I install Release Process in Claude Code?

Run `npx skills add FritzAndFriends/SharpSite --skill release-process -a claude-code`. Or copy the skill folder (.copilot/skills/release-process in FritzAndFriends/SharpSite) into .claude/skills/release-process in your project. Claude Code loads it when a task matches its description.

How do I install Release Process in Codex?

Run `npx skills add FritzAndFriends/SharpSite --skill release-process -a codex`. Or copy the skill folder (.copilot/skills/release-process in FritzAndFriends/SharpSite) into .agents/skills/release-process in your project. Codex loads it when a task matches its description.

Can I use Release Process in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FritzAndFriends/SharpSite --skill release-process -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/release-process, .gemini/skills/release-process, .github/skills/release-process and .opencode/skills/release-process in your project.

What does Release Process need to run?

Going by SKILL.md and its folder, Release Process needs the command-line tools its instructions call (git, npm, gh and node) and credentials named NPM_TOKEN. Our summary lists: Node.js; A credential in NPM_TOKEN.

Does Release Process access the network?

SKILL.md contains no URLs. Its commands use git, npm and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Release Process safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Release Process use?

Release Process is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Release Process use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Release Process?

Skills that share tags, products or a category with Release Process: Frontmcp Production Readiness (agentfront/frontmcp, 146 stars), Release Maintainer (Undertone0809/rudder, 292 stars), Devops Rollout Plan (github/awesome-copilot, 40k stars) and Release Engineering (majiayu000/spellbook, 286 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Release Process?

FritzAndFriends (a GitHub organization) maintains it in FritzAndFriends/SharpSite, which has 145 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on April 30, 2026.

Source: FritzAndFriends/SharpSite on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.