Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

release

БесплатноБез исполняемых скриптовНе проверен

Release a new version of BranchBox. Use when the user says "release", "new version", "cut a release", "publish release", or "tag version". Handles version…

branchboxот branchbox★ 90 звёзд на GitHub14 установок в других каталогах

Об этом скилле

Release Workflow for BranchBox

This skill guides you through releasing a new version of BranchBox with all necessary checks, documentation updates, and automation.

Pre-Release Checklist

Before starting, verify:

  • You are on the main branch
  • Working directory is clean (git status shows no changes)
  • You have push access to the repository
  • GitHub CLI is authenticated (gh auth status)

Release Process

Step 1: Run Quality Checks

Run all these checks in parallel:

# Format check
cargo fmt --all -- --check

# Linting (allow up to 5 minutes)
cargo clippy --all-targets --all-features -- -D warnings

# Tests (allow up to 5 minutes)
cargo test --all-features

# Documentation
cargo doc --no-deps --all-features

# Docs site (Docusaurus)
cd docs && npm install --silent && npm run build && cd ..

All checks must pass before proceeding.

Step 2: Determine Version Bump

Check the CHANGELOG.md [Unreleased] section to determine the appropriate version bump:

Change Type Version Bump Example
Breaking changes major 0.6.0 → 1.0.0
New features (backwards compatible) minor 0.5.0 → 0.6.0
Bug fixes only patch 0.5.1 → 0.5.2

Step 3: Update Documentation

3a. Update CHANGELOG.md

Change the [Unreleased] section header to include the new version and today's date:

## [Unreleased]

## [X.Y.Z] - YYYY-MM-DD

Keep an empty ## [Unreleased] section at the top for future changes.

3b. Update RELEASING.md Version History

Add a new row to the version history table:

| X.Y.Z | YYYY-MM-DD | Minor/Patch/Major | Brief description of release highlights |

3c. Prepare Changed-Feature Videos

Delegate a video producer using branchbox-release-videos alongside the documentation agent. The producer verifies current feature claims and capture provenance, shows the beat map and four proof stills, then renders the launch film and focused documentation clips. The documentation agent embeds reviewed media, posters, and text equivalents and checks the combined site. Keep valid unchanged media; record an unavailable capture or licensed audio as a limitation. Media preparation does not authorize tags, deployment, or announcements.

3d. Commit Documentation Updates

git add CHANGELOG.md RELEASING.md
git commit -m "chore(release): prepare vX.Y.Z

- Update CHANGELOG.md with vX.Y.Z release notes
- Update RELEASING.md version history table

Co-Authored-By: Claude Opus 4.5 <[email protected]>"

Step 4: Dry-Run Release

Always run a dry-run first to verify everything is correct:

cargo release --workspace <bump-level> --dry-run

Where <bump-level> is minor, major, or patch.

IMPORTANT: Do NOT use cargo release --workspace --execute without specifying the bump level. This will fail with "tag already exists" error.

Step 5: Execute Release

cargo release --workspace <bump-level> --execute --no-confirm

Key flags:

  • --workspace: Update all crates in the workspace
  • --execute: Actually perform the release (dry-run is default)
  • --no-confirm: Skip interactive confirmation (NOT -y)

This command will:

  1. Bump versions in all Cargo.toml files
  2. Run tests
  3. Create a commit
  4. Create and push the version tag
  5. Push to origin

Step 6: Monitor the Release Workflow

# List recent workflow runs
gh run list --limit 5

# Watch a specific workflow (get ID from list above)
gh run watch <run-id> --exit-status

# Or check status periodically
gh run view <run-id> --json status,conclusion,jobs | jq '{status, conclusion, jobs: [.jobs[] | {name, status, conclusion}]}'

The release workflow builds binaries for:

  • Linux (x86_64, aarch64)
  • macOS (x86_64, aarch64)
  • Windows (x86_64)

Expected duration: ~10-20 minutes.

Step 7: Verify the Release

# View the release
gh release view vX.Y.Z

# Verify all expected artifacts are present
gh release view vX.Y.Z --json assets | jq '.assets[].name'

Expected artifacts:

  • branchbox-X.Y.Z-x86_64-unknown-linux-gnu.tar.gz
  • branchbox-X.Y.Z-aarch64-unknown-linux-gnu.tar.gz
  • branchbox-X.Y.Z-x86_64-apple-darwin.tar.gz
  • branchbox-X.Y.Z-aarch64-apple-darwin.tar.gz
  • branchbox-X.Y.Z-x86_64-pc-windows-msvc.zip
  • checksums.txt
  • branchbox-local-vm-image-X.Y.Z-x86_64.tar.gz

Step 8: Verify Docs Deployment

gh run list --workflow "Deploy Site" --limit 1

Common Mistakes and How to Avoid Them

Mistake 1: Running cargo release without bump level

Wrong:

cargo release --workspace --execute
# Error: tag `vX.Y.Z` already exists

Correct:

cargo release --workspace minor --execute --no-confirm

Mistake 2: Using -y for confirmation skip

Wrong:

cargo release --workspace minor --execute -y
# Error: unexpected argument '-y' found

**Correct:

Полный SKILL.md на GitHub

Установить release в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл release?

Release a new version of BranchBox. Use when the user says "release", "new version", "cut a release", "publish release", or "tag version". Handles version bumping, changelog updates, quality checks, and GitHub release workflow.

Как установить скилл release?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл release запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить release с