hotfix

Apply minimal emergency fixes to critical production issues with quality gates.

18|1|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/nexus-substrate/nexus-agents --skill hotfix-nexus-substrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hotfix
Source: https://github.com/nexus-substrate/nexus-agents/tree/main/skills/hotfix
Command: npx skills add https://github.com/nexus-substrate/nexus-agents --skill hotfix-nexus-substrate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The hotfix skill helps you quickly and safely resolve critical production issues that block core functionality, so users aren’t stuck waiting for the next release.

Core Features & Use Cases

  • Fast, production-safe remediation: Enforces criteria that the issue is in production, impacts core functionality, and cannot wait for the normal release cycle.
  • Minimal-change implementation: Guides you to apply the smallest fix possible without refactoring or drive-by changes.
  • Risk-managed release and rollback: Requires quality gates, expedited review, and provides an unpublish-and-tag removal rollback approach when applicable.

Quick Start

Use the hotfix skill to create a hotfix branch from the latest release tag, apply the minimal fix with tests, and prepare a patch version release to main with the required quality and review gates.

Frequently Asked Questions about hotfix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I patch a critical production bug without waiting for the next release cycle?

To patch a critical production bug, you create a hotfix branch from the latest release tag, apply the minimal fix with tests, and prepare a patch version release to main with required quality and review gates.

What is the best way to handle an emergency security vulnerability fix in production?

The best way to handle an emergency security vulnerability fix is applying a minimal-change hotfix that targets the vulnerability, enforces quality gates via lint, typecheck, and tests, then patches the release and cherry-picks to release branches.

How do I create a hotfix branch and ensure it passes CI quality gates?

You create a hotfix branch from the latest release tag, implement the smallest fix possible without refactoring, and enforce CI quality gates by running lint, typecheck, and tests before an expedited review and patch release.

What is the rollback procedure after applying a production hotfix?

The rollback procedure for a production hotfix involves unpublishing the patch release and removing the associated tag, providing a documented approach to revert the fix when applicable.

When should I use a hotfix instead of waiting for a regular release?

You should use a hotfix when the issue is in production, impacts core functionality or security, and cannot wait for the normal release cycle to be resolved.

Can I include refactoring or drive-by changes when applying an urgent bugfix?

No, an urgent bugfix requires minimal-change implementation, guiding you to apply the smallest fix possible without refactoring or including drive-by changes to reduce risk.