incident-hotfix
We earn commissions when you shop through the links below.
Mitigate a production incident or urgent regression first, then route to root-cause remediation and a postmortem.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install multi-language-standards-incident-hotfixManual setup by platform
Claude Code
~/.claude/skills/multi-language-standards-incident-hotfix/SKILL.md
Instructions
Incident Hotfix Skill
[!IMPORTANT]
Mitigate a production incident or urgent regression first, then route to root-cause remediation and a postmortem.
Optional args: slug=, ticket=<id/url>, mode=interactive|autonomous|channel, channel=, auto_continue=true|false, profile=business|hybrid|technical.
Instructions
When the user asks to perform this workflow, execute the following steps:
Incident Hotfix Workflow
Goal: Stop user-facing harm immediately, then hand off to root-cause discipline instead of debugging live.
Steps
- Triage:
- Severity, blast radius, affected environments/markets, and whether the regression is a rollback candidate.
- Load the prior deployment report and rollback path when present; absent a prior verified artifact, record that no rollback target exists instead of assuming one.
- Mitigate first:
- This workflow owns the mitigation choice and its authorization. Prefer rollback, feature flag disable, or config revert over a live code fix, and obtain the human approval grant bound to that fixed action set, target, artifact, and expiry.
- Execute the granted mitigation through
common-devops-operations(operation=recover): it runs preflight and the fixed grant, verifies restoration outward, and returns once here. A fixed restore of an identified prior verified artifact stays recovery; a fresh build is release work fordeploy-release. - Confirm mitigation stopped user-facing harm before investigating root cause. Do not attempt a root-cause code fix under live production pressure.
- Stabilize:
- Monitor logs, metrics, errors, and core user flows until signals return to baseline; missing telemetry is not recovery.
- Record mitigation timestamp, owner, and evidence.
- Route to remediation:
- Once stable, hand off to
dev-fixfor root-cause debugging under the normal Propose -> Approve -> Verify cycle. - Do not skip
dev-fix's root-cause-before-code requirement just because mitigation already shipped.
- Once stable, hand off to
- Route to learning:
- After
verify-workconfirms the permanent fix, route toretro-learnfor a postmortem. - The confirmed root cause becomes a permanent eval case in the skill or workflow that should have prevented it.
- After
Runtime Contract
- Use only for production incidents or urgent regressions with active user-facing harm; non-urgent bugs go directly to
dev-fix. - Load
common-decision-disciplineand apply its §8 continuation contract at entry and every handoff: the settled result selects the successor and specialized gates dominate. - Required inputs: incident signal (alert, report, or error spike) plus a proposed mitigation path (rollback, flag, or config revert).
- Block the mutation — while continuing safe scoped analysis and escalation — when identity is unresolved, organizational authority or an unexpired approval grant is missing, the required MCP capability is absent or disconnected, the grant is expired or revoked, or host enforcement of the approved scope cannot be verified. Never invent an emergency exception, self-approve, broaden a role, or retry an uncertain write without reconciling state.
- Security-forensic and containment work retains
cyber-triageauthority and custody requirements. - Route from the actual outcome: stable and ready for root-cause work ->
dev-fix; blocked, unstable, or unresolved ->recommended_next_workflow: nullwith the pending action innext_action, never a default fix handoff. - Preserve the prior evidenced lifecycle; an incident receipt is an operations result, not a release or rollback record, and it never advances or downgrades
feature_status.
Handoff Payload
slug,operator_profile(carried, not re-inferred), severity, classified mitigation effect, mitigation applied, stabilization evidence, operations report, outcome report,next_action, next workflow.
Blocking Questions
- Ask max 3 at a time with a recommended default and 2-3 options.
Output Template
# Incident Hotfix: [Name]
## Severity And Blast Radius
## Mitigation Applied
- Effect class: [recover | deploy_bearing]; authority: [owner/ref @ expiry]; target/artifact: [scope]
## Stabilization Evidence
| Signal | Before | After |
| --- | --- | --- |
| [signal] | [value] | [value] |
## Blocked Or Refused Actions
- [action] — [reason code]
## Root Cause Handoff
<!-- Emit the record below only for feature-linked work, replacing `feature_status` with the prior evidenced value; omit it when lifecycle is unknown. Choose routing from the actual outcome; a blocked or unstable incident uses `null` and records the pending action in `next_action`. -->
## Outcome Report
{schema_version: 1, run_id: "[run-id]", slug: "[slug]", workflow: incident-hotfix, feature_status: partially_implemented, started_at: "[timestamp]", completed_at: "[timestamp]", requirement_trace: {brd_objectives: [], requirements: [], acceptance_criteria: [], srs: []}, completed_evidence: [], missing_evidence: [], decision_needed: [], recommended_next_workflow: dev-fix, cost: {source: unavailable}, agent: {identity: "[agent-identity]", model: "[model]"}}
## Next Workflow
dev-fix | verify-work | retro-learn
- Blocked or unstable: `recommended_next_workflow: null`
## Cost Report
Call `get_session_cost(workflow="incident-hotfix")` before final handoff.
Security
Reviews (0)
Related skills
Browse all →More from Multi-Language Standards
View source →More Build skills
Browse category →Frequently asked questions about incident-hotfix
What does the incident-hotfix skill do?
Mitigate a production incident or urgent regression first, then route to root-cause remediation and a postmortem. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the incident-hotfix skill?
Run `npx @skills-hub-ai/cli install multi-language-standards-incident-hotfix` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/multi-language-standards-incident-hotfix/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does incident-hotfix work with?
incident-hotfix runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the incident-hotfix skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use incident-hotfix after installing it?
In Claude Code, type `/multi-language-standards-incident-hotfix` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the incident-hotfix skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.