hotfix-deploy — Claude Code command: hotfix deployment
hotfix-deploy is a Claude Code command that guides critical fixes through incident triage, testing, release monitoring, and rollback.
no license ★ 1,357 updated 2026-03-01
.claude/commands/hotfix-deploy.mdWhat hotfix-deploy 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.
What it helps with
- 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 for the agent
- Run
/hotfix-deployfor a critical authentication issue and walk through the release process. - Use
/hotfix-deploywith the proposed fix to prepare staging validation before production. - Run
/hotfix-deployand choose a blue-green rollout for the hotfix.
How to install hotfix-deploy
Manually: put the files in place
.claude/commands/hotfix-deploy.mdCall it with /hotfix-deploy. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/hotfix-deploy.mdCall it with /prompts:hotfix-deploy. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/hotfix-deploy.prompt.mdManually: put the files in place
.gemini/commands/hotfix-deploy.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about hotfix-deploy
How do I install hotfix-deploy in Claude Code?
Create the command file at .claude/commands/hotfix-deploy.md.
What does hotfix-deploy do?
It guides the agent through an emergency hotfix workflow covering triage, branching, tests, review, release, monitoring, and rollback.
Which production rollout methods does it cover?
The command describes blue-green and rolling deployments, with health checks, traffic switching, batch monitoring, and validation.