hotfix

hotfix is a skill for Claude Code from tranhieutt/software_development_department. It costs 50 tokens per session (927 once invoked), scanned A, original, MIT.

A workflow for fixing a critical production bug by creating a separate hotfix branch, applying the targeted change, checking it, and preparing release files. A hotfix is an urgent patch for a serious live-system problem.

In plain words
What is it for?
Use it only for urgent production bugs such as an unusable product, data loss, or a security vulnerability, and to prepare the related fix record and release branch.
Why use it?
It gives emergency fixes a defined path with severity checks, review requirements, regression testing, approvals, and a rollback plan.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it only for urgent production bugs such as an unusable product, data loss, or a security vulnerability, and to prepare the related fix record and release branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranhieutt/software_development_department/hotfix
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tranhieutt/software_development_department --skill hotfix
Clone the repo
git clone --depth 1 https://github.com/tranhieutt/software_development_department

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hotfix

README.md
[![agentmods](https://agentmods.dev/badge/skills/tranhieutt/software_development_department/hotfix/github.svg)](https://agentmods.dev/skills/tranhieutt/software_development_department/hotfix)
Your own site
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/hotfix"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/hotfix/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hotfix

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/hotfix"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/hotfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00927
Opus 5 $0.00025 $0.00464
Sonnet 5 $0.00010 $0.00185
Haiku 4.5 $0.00005 $0.00093

Measured 7d ago against content hash 6ef944045d6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

hotfix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/hotfix/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When this skill is invoked:

Explicit invocation only: This skill should only run when the user explicitly requests it with /hotfix. Do not auto-invoke based on context matching.

  1. Assess the emergency — Read the bug description or ID. Determine severity:

    • S1 (Critical): Product unplayable, data loss, security vulnerability — hotfix immediately
    • S2 (Major): Significant feature broken, workaround exists — hotfix within 24 hours
    • If severity is S3 or lower, recommend using the normal bug fix workflow instead
  2. Create the hotfix record at production/hotfixes/hotfix-[date]-[short-name].md:

    ## Hotfix: [Short Description]
    Date: [Date]
    Severity: [S1/S2]
    Reporter: [Who found it]
    Status: IN PROGRESS
    
    ### Problem
    [Clear description of what is broken and the user impact]
    
    ### Root Cause
    [To be filled during investigation]
    
    ### Fix
    [To be filled during implementation]
    
    ### Testing
    [What was tested and how]
    
    ### Approvals
    - [ ] Fix reviewed by lead-programmer
    - [ ] Regression test passed (qa-engineer)
    - [ ] Release approved (producer)
    
    ### Rollback Plan
    [How to revert if the fix causes new issues]
    
  3. Create the hotfix branch (if git is initialized):

    git checkout -b hotfix/[short-name] [release-tag-or-main]
    
  4. Investigate and implement the fix — Focus on the minimal change that resolves the issue. Do NOT refactor, clean up, or add features alongside the hotfix.

  5. Validate the fix — Run targeted tests for the affected system. Check for regressions in adjacent systems.

  6. Update the hotfix record with root cause, fix details, and test results.

6b. Collect approvals — Use the Task tool to request sign-off:

  • subagent_type: lead-programmer — Review the fix for correctness and side effects
  • subagent_type: qa-engineer — Run targeted regression tests on the affected system
  • subagent_type: producer — Approve deployment timing and communication plan
  1. Output a summary with: severity, root cause, fix applied, testing status, and what approvals are still needed before deployment.

Rules

  • Hotfixes must be the MINIMUM change to fix the issue — no cleanup, no refactoring, no "while we're here" changes
  • Every hotfix must have a rollback plan documented before deployment
  • Hotfix branches merge to BOTH the release branch AND the development branch
  • All hotfixes require a post-incident review within 48 hours
  • If the fix is complex enough to need more than 4 hours, escalate to technical-director for a scope decision

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 91 lines · 50 tokens per session scan A 6ef944045d6e

Subscribe to this mod's changes

hotfix is a skill published in the GitHub repository tranhieutt/software_development_department (72 stars, last pushed 3mo ago), licensed MIT. It adds 50 tokens to every session and 927 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

changelog

Generates and maintains changelogs following Keep a Changelog format. Use when updating release notes, finishing tasks, or tagging versions. For version bumps, see semantic-versioning.

tuliosousapro/SaaS-blueprint · 39 tokens

conventional-commits

Enforces Conventional Commits format for git commit messages. Use when formatting commits or validating message structures. For git commands, see git-control.

tuliosousapro/SaaS-blueprint · 34 tokens

git-control

Standardizes git operations, branch management, and disaster recovery. Use when committing, branching, or resolving conflicts. For commit formatting, see conventional-commits.

tuliosousapro/SaaS-blueprint · 35 tokens

ship-preflight

Stage ⑤.a Ship sub — release-preflight gate. Runs harnessed release-preflight (read-only: CHANGELOG [Unreleased] non-empty + version + git-clean + tag-absent). A failing gate blocks shipping. Nothing is pushed/published/tagged here.

easyinplay/harnessed · 62 tokens

semantic-versioning

Manages project versioning following Semantic Versioning (SemVer) principles. Calculates increments based on changes and synchronizes version across documentation and metadata. Use when the user asks to "bump the version", "prepare a release", or when the changelog skill calls for a release.

tuliosousapro/SaaS-blueprint · 63 tokens

storozh

Advisory semantic guard over a changeset manifest before it lands in shared state. Use after a multi-repo session produces a changeset-manifest (mirabilis C1) and before the co-sign push gate — classify each unit's routing against the darwin routing-policy (C3) and NLI-check each unit against the shield corpus (claims…

AlexShchuka/neuro-matrix · 104 tokens