hotfix
/hotfix
Ship an urgent production fix — minimal change, targeted tests, PR. Use when the user says "hotfix" or describes a bug that has to reach main now.
- Author
- edjchapman ↗
- Repository
- claude-code-config ↗
- Licence
- MIT
- Last repository change
- 23.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Ship an urgent production fix — minimal change, targeted tests, PR. Use when the user says "hotfix" or describes a bug that has to reach main now.
Triggers from the description
Arguments
/hotfix <bug description>
Original author description
Ship an urgent production fix — minimal change, targeted tests, PR. Use when the user says "hotfix" or describes a bug that has to reach main now.
How it works
- Arguments
- Steps
- Output
SKILL.md preview
--- name: hotfix description: Ship an urgent production fix — minimal change, targeted tests, PR. Use when the user says "hotfix" or describes a bug that has to reach main now. argument-hint: "<bug description>" --- Guide me through creating a hotfix: branch from main, apply a minimal fix, run targeted tests, and prepare a PR. ## Arguments `$ARGUMENTS` - Describe the bug or issue that needs an urgent fix - Example: `/hotfix users getting 500 on password reset` ## Steps ### 1. Create Hotfix Branch ```bash git fetch origin main git checkout -b hotfix/<short-description> origin/main ``` Ask the user to confirm the branch name before creating it. ### 2. Investigate the Issue - Locate the relevant code based on the bug description - Identify the root cause with minimal investigation - Focus on the immediate fix, not broader refactoring ### 3. Apply Minimal Fix - Make the **smallest possible change** that resolves the issue - Do NOT refactor surrounding code - Do NOT add features or improvements - Add a targeted test that reproduces the bug and verifies the fix ### 4. Verify Run only the tests directly related to the fix: - Django: `python3 manage.py test <app.tests.TestClass> --no-input` - TypeScript: `npx vitest run <specific_test_file>` - Full suite: `python3 manage.py test --no-input --parallel=8` (if fast enough) ### 5. Prepare PR Use `gh pr create` with: - Title: `hotfix: <description>` - Label: `hotfix` (if available) - Body should include: - **Problem**: What was broken - **Root Cause**: Why it happened - **Fix**: What was changed and why - **Risk**: Assessment of the fix's impact - **Test Plan**: How the fix was verified ### 6. Post-Fix Checklist Present to the user: - [ ] Fix is minimal and targeted - [ ] Test reproduces the original bug - [ ] Test passes with the fix - [ ] No unrelated changes included - [ ] PR description explains the urgency ## Output Present the PR URL when complete and remind the user to: - Request expedited review - Monitor deployment after merge - Consider if a follow-up ticket is needed for deeper investigation
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · edjchapman/claude-code-config | 100 | MIT |
| verygoodopensource/vgv-wingspan | 100 | MIT |
| optimiziramsi/skills | 100 | MIT |
| nexus-substrate/nexus-agents | 100 | MIT |
| pe-menezes/vibeflow | 100 | MIT |
| thettwe/nyann | 100 | MIT |
| mingchao-king/superprogramming | 100 | MIT |
| tranhieutt/software_development_department | 100 | MIT |
| dmzoneill/skills | 90 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version 5926704ab758 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 95nacl-tl-hotfix
Emergency hotfix to main: stash/cherry-pick changes, create hotfix branch from main, validate, open PR with auto-merge, restore source branch. Use when: critical production bug, urgent fix to main, hotfix, or the user says "/nacl-tl-hotfix". - 95tl-hotfix
Emergency hotfix to main: stash/cherry-pick changes, create hotfix branch from main, validate, open PR with auto-merge, restore source branch. Use when: critical production bug, urgent fix to main, hotfix, or the user says "/nacl:tl-hotfix". - 100hotfix-deploy
Full hotfix workflow for deploying urgent fixes to a production branch (coop-production, rh-production, southernlanka-staging, etc.). Covers branch creation, fix, commit, push, and PR targeting the production branch. Use when you need to apply an urgent fix directly to a… - 100hotfix-deploy
Full hotfix workflow for deploying urgent fixes to a production branch (coop-production, rh-production, southernlanka-staging, etc.). Covers branch creation, fix, commit, push, and PR targeting the production branch. Use when you need to apply an urgent fix directly to a… - 100jig-hotfix-flow
Use when a released defect on main must ship before the work already sitting on develop. Branches from main, lands one squashed commit on main through the guard-allowed hotfix push, tags and publishes, then merges main back into develop so the next release still fast-forwards. - 90emergencies
Classify an urgent production change and guide its focused emergency review. Use when a user asks about an "emergency hotfix", "production incident", or "urgent security fix".