Skip to main content
command CX Codex

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

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

What 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-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.

How to install hotfix-deploy

Manually: put the files in place

.claude/commands/hotfix-deploy.md

Call it with /hotfix-deploy. For all projects use ~/.claude/commands/

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.

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 prepare-release 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. 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

Project sponsors

Companies that keep this analytics open