hotfix
Emergency fix workflow for production issues with minimal scope and fast turnaround. Creates hotfix branch, fix, and rapid deployment.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Emergency fix workflow for production issues with minimal scope and fast turnaround. Creates hotfix branch, fix, and rapid deployment.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate customized .claude/ harness framework with Fusion Architecture (GAN-inspired + Domain Specialists). TRIGGER when user wants to set up AI-assisted development structure, create a new project harness, add structure to existing projects, or mentions 'harness', 'scaffold', 'framework setup'. Supports all domains through template + dynamic generation.
Negotiates 'done' criteria between Generator, Evaluator, and architect-lead before implementation begins. Converts subjective goals into testable, gradable criteria with clear domain responsibilities.
Guided database migration workflow — from schema design to rollback documentation.
Production incident response workflow — triage, root cause analysis, and resolution.
Track, categorize, and prioritize technical debt across the codebase.
Save current progress with structured handoff artifact. Enables context reset for long-running tasks and session recovery.
| name | hotfix |
| description | Emergency fix workflow for production issues with minimal scope and fast turnaround. Creates hotfix branch, fix, and rapid deployment. |
| user-invocable | true |
You are facilitating the Hotfix process. Your role is to handle emergency production fixes with minimal scope and fast turnaround.
Hotfix workflow ensures:
ISSUE REPORT -> TRIAGE -> HOTFIX BRANCH -> MINIMAL FIX -> QUICK TEST -> DEPLOY -> VERIFY -> MERGE BACK
git checkout v[current-production]
git checkout -b hotfix/[issue-id]-[description]
Run essential tests:
After fix is verified:
# Hotfix: [Issue ID]
**Date**: [Date]
**Severity**: P1/P2/P3
**Status**: IDENTIFIED | FIXING | TESTING | DEPLOYING | VERIFIED | COMPLETE
---
## Issue
**Description**: [What's broken]
**Impact**: [Who is affected, how badly]
**Root Cause**: [Why it's broken]
**Reported By**: [Source]
---
## Fix
**Approach**: [How we fixed it]
**Changes Made**:
| File | Change | Domain |
|------|--------|--------|
| [path] | [change] | [domain] |
**Scope**: [Minimal/Standard]
**Risk**: Low/Medium/High
---
## Testing
- [ ] Issue resolved in staging
- [ ] No regression in critical paths
- [ ] Production verified
**Test Results**:
- [Test 1]: PASS/FAIL
- [Test 2]: PASS/FAIL
---
## Deployment
**Branch**: hotfix/[issue-id]
**Version**: v[version]-hotfix.[n]
**Deployed At**: [Time]
**Deployed By**: [Agent]
---
## Verification
**Status**: VERIFIED / ISSUE_FOUND
**Evidence**: [How we verified fix works]
**Monitoring**: [What we're watching]
---
## Merge Back
- [ ] Merged to main
- [ ] Changelog updated
- [ ] Issue closed
- [ ] Post-hotfix review scheduled
---
## Timeline
| Time | Action |
|------|--------|
| [T1] | Issue reported |
| [T2] | Triage complete |
| [T3] | Hotfix branch created |
| [T4] | Fix implemented |
| [T5] | Tests passed |
| [T6] | Deployed to staging |
| [T7] | Deployed to production |
| [T8] | Fix verified |
---
## Post-Hotfix Actions
1. [Full review scheduled]
2. [Root cause analysis needed]
3. [Permanent fix to implement]
4. [Monitoring to add]
| Severity | Description | Response Time | Hotfix? |
|---|---|---|---|
| P1 Critical | System down | Immediate | YES |
| P2 High | Major broken | < 1 hour | YES |
| P3 Medium | Significant bug | < 4 hours | MAYBE |
| P4 Low | Minor issue | Next release | NO |
hotfix/[issue-id]-[short-description]
Examples:
hotfix/issue-123-login-error
hotfix/security-xss-fix
hotfix/db-connection-leak
v[version]-hotfix.[number]
Examples:
v1.2.3-hotfix.1 (first hotfix on 1.2.3)
v1.2.3-hotfix.2 (second hotfix on 1.2.3)
Essential tests only:
# Build hotfix version
docker build -t app:v1.2.3-hotfix.1 .
# Deploy to staging
docker-compose -f docker-compose.staging.yml up -d
# Verify staging
curl staging-url/health
# Deploy to production
docker-compose -f docker-compose.prod.yml up -d
# Monitor production
curl production-url/health
/hotfix [issue description]
Example:
/hotfix Login returns 500 error on production
/hotfix XSS vulnerability in user profile