Skip to content
Skills Library
Programming · Building & coding

hotfix

/hotfix

Apply a hotfix for critical production issues. Use for security vulnerabilities or bugs that prevent core functionality. Triggers on "hotfix", "emergency fix", "critical fix", "production bug".

Licence
MIT
Last repository change
27.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
1
URLs in SKILL.md
0
Deprecation

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

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

What it does and when to use it

Apply a hotfix for critical production issues. Use for security vulnerabilities or bugs that prevent core functionality. Triggers on "hotfix", "emergency fix", "critical fix", "production bug".

Triggers from the description

hotfixemergency fixcritical fixproduction bug
Original author description

Apply a hotfix for critical production issues. Use for security vulnerabilities or bugs that prevent core functionality. Triggers on "hotfix", "emergency fix", "critical fix", "production bug".

How it works

  1. Hotfix Criteria (ALL must be true)
  2. Workflow
  3. Rollback (if needed)
  4. Anti-rationalization — Hotfix
  5. Red flags
  6. Verification checklist
Original SKILL.md headings · 78 lines, 460 words
SKILL.md preview
---
name: hotfix
description: |
  Apply a hotfix for critical production issues.
  Use for security vulnerabilities or bugs that prevent core functionality.
  Triggers on "hotfix", "emergency fix", "critical fix", "production bug".
allowed-tools: Read, Edit, Write, Bash, Grep, Glob, Task
---

# Hotfix Skill

<!-- CANONICAL SOURCE: docs/development/CONTRIBUTION_GUIDE.md -->

## Hotfix Criteria (ALL must be true)

- Issue is in production (deployed, not development branch)
- Issue prevents core functionality (not feature degradation)
- Fix cannot wait for next release cycle
- Issue affects active users or critical systems

**If criteria not met:** Use the `bug-fix` skill instead.

## Workflow

1. **Create branch from latest release tag:**

   ```bash
   git tag --sort=-v:refname | head -5  # Find latest tag
   git checkout -b hotfix/<issue>-description <latest-tag>
   ```

2. **Implement fix** with minimal changes — no refactoring, no extras

3. **Fast-track review:** Security label + P1 = single-reviewer approval sufficient

4. **Quality gates:**

   ```bash
   pnpm lint && pnpm typecheck && pnpm test
   ```

5. **Merge to main AND cherry-pick to release branch**

6. **Immediate release** with patch version bump:
   ```bash
   # Add changeset for patch bump
   pnpm changeset  # select patch
   git add . && git commit -m "chore: changeset for hotfix"
   git push origin main --tags
   # CI handles npm publish via OIDC trusted publishing
   # Or trigger manually: gh workflow run publish.yml
   ```

## Rollback (if needed)

```bash
npm unpublish nexus-agents@<version>  # Within 72 hours only
git tag -d v<version> && git push --delete origin v<version>
```

## Anti-rationalization — Hotfix

| Excuse                                                 | Counter                                                                                                                                        |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| "Skip tests, it's an emergency"                        | A hotfix without tests becomes the next regression. Add at least the failing-test-then-fix (Prove-It Pattern).                                 |
| "Bypass the lint gate just this once"                  | Hotfix bypass is the most expensive shortcut: the next change you ship inherits the broken state. Lint stays.                                  |
| "Skip the PR review, just push"                        | Hotfix PR review can be quick (one trusted reviewer + admin merge), but the second pair of eyes catches the wrong-fix-for-the-symptom mistake. |
| "Roll forward later, no need for proper rollback plan" | Production users can't wait. Either the hotfix works or there's a rollback plan; "we'll figure it out" is not a plan.                          |

## Red flags

- Hotfix PR with no test
- Hotfix that touches more than the affected subsystem (drive-by changes)
- Same hotfix reverted-and-reapplied multiple times (root cause is elsewhere)
- No incident timeline / post-mortem after the fix lands
- Branch named with the vuln class if the hotfix is security-shaped (use `security-advisory-response` instead)

## Verification checklist

- [ ] Failing test paired with the fix (Prove-It Pattern)
- [ ] `pnpm lint && pnpm typecheck && pnpm test` pass before merge
- [ ] PR scope tight to the affected code; no drive-bys
- [ ] Rollback plan documented (revert PR + npm unpublish window if applicable)
- [ ] Incident timeline captured
- [ ] Post-fix: post-mortem issue filed for class-level mitigation if applicable

Versions

RepositoryScoreLicence
This page · nexus-substrate/nexus-agents100MIT
verygoodopensource/vgv-wingspan100MIT
optimiziramsi/skills100MIT
pe-menezes/vibeflow100MIT
edjchapman/claude-code-config100MIT
thettwe/nyann100MIT
mingchao-king/superprogramming100MIT
tranhieutt/software_development_department100MIT
dmzoneill/skills90Apache-2.0

Database snapshot: 13.11.2026 · package version 2c33c5a97b91 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 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".
  • 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".
  • 90comet-hotfix
    Use the Classic preset to repair a localized defect. Use when the user explicitly invokes /comet-hotfix, selects hotfix, or resumes workflow: hotfix.
  • 96comet-hotfix
    Use when 用户要修复已有行为 bug,且不新增 capability、不需要完整设计;也用于恢复 hotfix workflow。
  • 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…

Feedback and reports

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