prepare-release

A command that prepares a software release by checking its version, changes, tests, documentation, security, and performance requirements.

In plain words
What is it for?
Use it before publishing a new version of a project that uses semantic versioning and automated or manual release checks.
Why use it?
It turns release work into a reviewable checklist and helps catch unfinished changes, failing tests, security issues, or missing release requirements.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/nicepkg/vsync/prepare-release
Clone the repo
git clone --depth 1 https://github.com/nicepkg/vsync

Made for: Claude Code.

Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00013 $0.02284
Opus 5 $0.00006 $0.01142
Sonnet 5 $0.00003 $0.00457
Haiku 4.5 $0.00001 $0.00228

Measured 2d ago against content hash 9b36ddd9b553, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

prepare-release scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf dist/ build/
.claude/commands/prepare-release.md · 373 lines

How it starts

The opening of the file, as written. The whole thing — 373 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Release Preparation

Prepare and validate release: $ARGUMENTS

Current Release Context

  • Current version: !git describe --tags --abbrev=0 2>/dev/null || echo "No previous releases"
  • Package version: @package.json or @setup.py or @pyproject.toml or @go.mod (if exists)
  • Unreleased changes: !git log $(git describe --tags --abbrev=0)..HEAD --oneline 2>/dev/null | wc -l || echo "All commits"
  • Branch status: !git status --porcelain | wc -l || echo "0" uncommitted changes
  • Build status: !pnpm test 2>/dev/null || python -m pytest 2>/dev/null || go test ./... 2>/dev/null || echo "Test framework detection needed"

Task

Systematic release preparation: $ARGUMENTS

  1. Release Planning and Validation

    • Determine release version number (semantic versioning)
    • Review and validate all features included in release
    • Check that all planned issues and features are complete
    • Verify release criteria and acceptance requirements
  2. Pre-Release Checklist

    • Ensure all tests are passing (unit, integration, E2E)
    • Verify code coverage meets project standards
    • Complete security vulnerability scanning
    • Perform performance testing and validation
    • Review and approve all pending pull requests
  3. Version Management

    # Check current version
    git describe --tags --abbrev=0
    
    # Determine next version (semantic versioning)
    # MAJOR.MINOR.PATCH
    # MAJOR: Breaking changes
    # MINOR: New features (backward compatible)
    # PATCH: Bug fixes (backward compatible)
    
    # Example version updates
    # 1.2.3 -> 1.2.4 (patch)
    # 1.2.3 -> 1.3.0 (minor)
    # 1.2.3 -> 2.0.0 (major)
    
  4. Code Freeze and Branch Management

    # Create release branch from main
    git checkout main
    git pull origin main
    git checkout -b release/v1.2.3
    
    # Alternative: Use main branch directly for smaller releases
    # Ensure no new features are merged during release process
    
  5. Version Number Updates

    • Update package.json, setup.py, or equivalent version files
    • Update version in application configuration
    • Update version in documentation and README
    • Update API version if applicable

Read the full file on GitHub · 373 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 373 lines · 0 tokens per session scan C 9b36ddd9b553

Subscribe to this mod's changes

prepare-release is a command published in the GitHub repository nicepkg/vsync (57 stars, last pushed 7mo ago), licensed MIT. It adds 13 tokens to every session and 2,284 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories