# hotfix-deploy

hotfix-deploy is a Claude Code command that guides critical fixes through incident triage, testing, release monitoring, and rollback.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 1357 repo stars
- Author: qdhenry
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/commands/deploy/hotfix-deploy.md
- Updated: 2026-03-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/qdhenry-hotfix-deploy

## What it does

This command gives an agent a staged emergency-release workflow. It covers impact assessment, incident coordination, a hotfix branch, a narrowly scoped code change, focused tests, senior review, version tagging, and staging validation.

The instructions include blue-green and rolling production paths, health checks, deployment monitoring, security validation, rollback steps, and merging the hotfix back into `main`. The commands shown rely on project-specific tools such as `deploy-production.sh`, `npm`, `curl`, and `git`, so the release flow depends on those scripts and conventions being available in the repository.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/hotfix-deploy.md` — Call it with /hotfix-deploy. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/hotfix-deploy.md` — Call it with /prompts:hotfix-deploy. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/hotfix-deploy.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/hotfix-deploy.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/commands/deploy/hotfix-deploy.md

## When to use it
- triage a critical production issue
- create a focused hotfix branch
- run targeted and smoke tests
- validate a release in staging
- prepare rollback and post-release checks

## Example prompts
- Run `/hotfix-deploy` for a critical authentication issue and walk through the release process.
- Use `/hotfix-deploy` with the proposed fix to prepare staging validation before production.
- Run `/hotfix-deploy` and choose a blue-green rollout for the hotfix.

## Similar
- [hotfix](https://affpapa.org/en/nevibecode/commands/hotfix.md) — command · 1611 installs
- [google-agents-cli-deploy](https://affpapa.org/en/nevibecode/skills/google-agents-cli-deploy.md) — skill · 587400 installs
- [convex-deploy-guard](https://affpapa.org/en/nevibecode/skills/convex-deploy-guard.md) — skill · 44000 installs
- [vercel-deploy-optimize](https://affpapa.org/en/nevibecode/commands/vercel-deploy-optimize.md) — command · 506 installs
- [agent-platform-deploy](https://affpapa.org/en/nevibecode/skills/agent-platform-deploy.md) — skill · 8860 installs
- [mcp-deploy-manage-agents](https://affpapa.org/en/nevibecode/skills/mcp-deploy-manage-agents.md) — skill · 8800 installs

From the same set: [qdhenry/claude-command-suite](https://affpapa.org/en/nevibecode/by/qdhenry/claude-command-suite.md) — 112 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
