home / skills / wellapp-ai / well / hotfix
This skill accelerates urgent production fixes by guiding hotfix workflows from main branch to verified PRs and rapid alerts.
npx playbooks add skill wellapp-ai/well --skill hotfixReview the files below or copy the command above to add this skill to your agents.
---
name: hotfix
description: Expedited workflow for urgent production issues
---
# Hotfix Skill
Fast-track fixes for production incidents.
## When to Use
- Production is down or degraded
- Critical bug affecting users
- Security vulnerability discovered
## How It Differs from Normal Flow
| Normal | Hotfix |
|--------|--------|
| Branch from develop | Branch from main |
| ASK mode exploration | Skip to fix |
| Full PR review | Expedited review |
| Standard Slack message | URGENT alert |
## The Flow
1. **Branch** - Create hotfix branch from main
2. **Fix** - Implement minimal fix
3. **Verify** - Test fix works
4. **PR** - Create with HOTFIX label
5. **Alert** - Notify team urgently
## Phase Checklist
### Phase 1: Create Hotfix Branch
- [ ] Fetch latest: `git fetch origin main`
- [ ] Branch from main: `git checkout -b hotfix/<issue-summary> origin/main`
- [ ] Confirm on hotfix branch
### Phase 2: Implement Fix
- [ ] Identify root cause (minimal investigation)
- [ ] Implement smallest possible fix
- [ ] Run typecheck and lint
- [ ] NO new features, NO refactoring
### Phase 3: Verify
- [ ] Test fix locally
- [ ] Confirm original issue resolved
- [ ] Check for obvious regressions
### Phase 4: Create PR
- [ ] Push branch: `git push -u origin HEAD`
- [ ] Create PR to main with HOTFIX label:
```bash
gh pr create --base main --title "HOTFIX: <summary>" --label hotfix
```
- [ ] Request expedited review
### Phase 5: Alert Team
Generate urgent Slack message:
```
:rotating_light: **HOTFIX: [Issue Summary]**
**Impact:** [What was broken]
**Fix:** [What was changed]
:github: PR: [link]
:notion: Incident: [link if exists]
Requesting expedited review from: @[reviewer]
```
## After Merge
- [ ] Merge main back to develop: `git checkout develop && git merge main`
- [ ] Create incident report in Notion (if major)
This skill fast-tracks fixes for urgent production incidents in a TypeScript FinOps stack. It codifies an expedited branch, test, PR, and alert workflow so teams restore service quickly with minimal risk. The goal is predictable, repeatable hotfixes that prioritize safety and speed.
The skill inspects the incident context and guides you through a five-phase flow: create a hotfix branch from main, implement the smallest possible fix, verify locally, open a labeled HOTFIX PR for expedited review, and send an urgent team alert. It enforces checks like typecheck and lint, forbids new features or refactors, and includes post-merge synchronization back to develop.
How small should a hotfix change be?
Make the minimal, focused change that resolves the incident. No new features, no refactors—only what’s needed to restore correct behavior.
What tests should I run before creating the PR?
Run local verification for the failing path, plus typecheck and lint. Smoke test related flows to catch obvious regressions before pushing.