Skip to main content
command CX Codex

prepare-release — Claude Code command: what it does, how to install

The prepare-release command walks through release preparation, from checks and version updates to build validation and Git tagging. Use it when a release needs a defined checklist.

no license ★ 1,357 updated 2026-03-01

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/prepare-release.md
Open on GitHub

What prepare-release does

prepare-release gives Claude Code a staged release-preparation workflow. It covers semantic version selection, feature and issue checks, test and coverage review, security checks, performance validation, pending pull requests, changelog work, documentation, dependency audits, and artifact builds.

The instructions include examples for git, npm, Python version files, staging deployment, smoke tests, and release tags. They also describe release branches, production planning, rollback preparation, and the start of a GitHub Actions workflow. For a Python project, version changes belong in files such as setup.py, __init__.py, or pyproject.toml; the npm commands apply to the Node.js path.

The source ends during the GitHub Actions example, so the automation section should be treated as partial.

What it helps with

  • check whether features and issues are ready to ship
  • choose and update the next semantic version
  • run release tests and inspect build artifacts
  • refresh changelog, README, and migration notes
  • create a release branch and Git tag

Example prompts for the agent

  • Prepare release 1.2.3 and check every release criterion.
  • Run the pre-release review for tests, coverage, dependency audits, and the production build.
  • Update the changelog and documentation, then prepare the release tag.

How to install prepare-release

Manually: put the files in place

.claude/commands/prepare-release.md

Call it with /prepare-release. For all projects use ~/.claude/commands/

Questions about prepare-release

How do I install prepare-release in Claude Code?

Create .claude/commands/prepare-release.md and place the command contents in that file.

What does prepare-release do?

It guides Claude Code through release checks, version updates, documentation changes, builds, staging validation, and Git tagging.

Does prepare-release work with Node.js and Python projects?

The workflow includes separate examples for both. Node.js steps use package.json and npm, while Python version files include setup.py, __init__.py, and pyproject.toml.

Similar slash commands

All slash commands for DevOps and infrastructure →

From the same set112

The whole set →
ci-setup ci-setup — a Claude slash command that builds out a CI/CD pipeline: it reads your stack, picks a platform and writes the config for tests, Docker and deploys. CX Codex +1 ★ 1,357repo stars hotfix-deploy hotfix-deploy is a Claude Code command that guides critical fixes through incident triage, testing, release monitoring, and rollback. CX Codex +1 ★ 1,357repo stars sync-status The sync-status command for Claude Code checks GitHub–Linear sync health, queues, webhooks, failures, and data mismatches. It supports diagnosis of synchronization issues. CX Codex +1 ★ 1,357repo stars performance-auditor performance-auditor — a subagent that hunts bottlenecks: algorithm cost, N+1 queries, bundle size, wasted re-renders. You get a prioritized report. CX Codex ★ 1,357repo stars sync-linear-to-issues sync-linear-to-issues exports Linear tasks into GitHub issues while preserving issue descriptions, sprint milestones, and status mappings. CX Codex +1 ★ 1,357repo stars task-from-pr task-from-pr is a Claude Code command that transfers GitHub pull request details to a Linear task, linking PR work with project tasks. CX Codex +1 ★ 1,357repo stars memory-merge The memory-merge command consolidates multiple semantic tree nodes into one, removing duplicates and grouping related concepts under a single node. CX Codex +1 ★ 1,357repo stars sync-conflict-resolver The sync-conflict-resolver command for Claude Code identifies and resolves data conflicts between GitHub issues and Linear tasks, merging non-conflicting fields or applying a chosen strategy. CX Codex +1 ★ 1,357repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open