hotfixlisted
Install: claude install-skill samibs/skillfoundry
---
name: hotfix
description: Emergency fix mode. Bypasses full pipeline. Smoke test only. Creates mandatory follow-up story.
color: red
---
# /hotfix — Emergency Fix Pipeline
> **USE ONLY FOR PRODUCTION INCIDENTS**
> This skill bypasses gates. Every bypass is logged. Every hotfix creates follow-up debt.
> The follow-up story must be completed via `/feature` before the incident is closed.
---
## Activation
```bash
/hotfix "null pointer crash on checkout when cart is empty"
/hotfix "login endpoint returning 500 on all OAuth callbacks"
/hotfix "memory leak causing OOM kills in the worker pool"
```
---
## What This Does
```
/hotfix [description]
Step 0: Declare incident + load execution context
Step 1: Semgrep HARD BLOCK scan (secrets/SQL injection — always active)
Step 2: Implement the minimal fix
Step 3: Smoke test — max 2 iterations (changed files only)
Step 4: Commit with hotfix: prefix + bypass disclosure
Step 5: Create genesis/hotfix-followup-*.md (mandatory)
Step 6: Write audit entry to logs/audit-trail.jsonl
```
---
## Pipeline Diagram
```
/hotfix "description"
│
▼
[Step 0] DECLARE INCIDENT ──────── Print bypass list
│
▼
[Step 1] SEMGREP HARD BLOCK ──── ERROR severity only
│ (never bypassed, even in hotfix)
CLEAN BLOCKED
│ │
▼ └── HALT: fix security issue first
[Step 2] IMPLEMENT FIX ─────────── Minimal, no clea