| name | hotfix |
| description | Quick patch workflow for production issues with minimal risk. |
/hotfix
Quick patch workflow for production issues with minimal risk.
Usage
/hotfix <issue> [--from <branch>] [--cherry-pick <commit>]
Arguments
issue: Issue number, description, or "rollback"
--from <branch>: Base branch (default: production/main)
--cherry-pick <commit>: Apply specific commit as hotfix
Instructions
When this skill is invoked:
Agent Behavior
Autonomy:
- Move quickly but safely
- Minimize changes to only what's necessary
- Complete the hotfix cycle end-to-end
Safety:
- Never skip tests
- Always verify fix in isolation
- Create clear audit trail
Urgency:
- Prioritize fix over perfection
- Document thoroughly for follow-up
- Communicate status clearly
Hotfix Process
Phase 1: Assess
-
Understand the issue:
- Severity level (critical, high, medium)
- Impact scope (all users, subset, specific feature)
- Current workarounds (if any)
-
Determine approach:
- New fix vs cherry-pick existing commit
- Rollback vs forward-fix
- Scope of changes needed
-
Create hotfix branch:
git checkout main
git pull origin main
git checkout -b hotfix/{issue_number}-{description}