Skip to content
Skills Library
Programming · Building & coding

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.

Licence
MIT
Last repository change
23.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.

Licence

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

hotfix

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

  1. Arguments
  2. Steps
  3. Output
Original SKILL.md headings · 73 lines, 316 words
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

RepositoryScoreLicence
This page · edjchapman/claude-code-config100MIT
verygoodopensource/vgv-wingspan100MIT
optimiziramsi/skills100MIT
nexus-substrate/nexus-agents100MIT
pe-menezes/vibeflow100MIT
thettwe/nyann100MIT
mingchao-king/superprogramming100MIT
tranhieutt/software_development_department100MIT
dmzoneill/skills90Apache-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".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.