speckit-hotfix
A structured workflow for handling emergency hotfixes, ensuring automated tracking and post-mortem creation.
Install
mkdir -p .claude/skills/speckit-hotfix && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16646" && unzip -o skill.zip -d .claude/skills/speckit-hotfix && rm skill.zipInstalls to .claude/skills/speckit-hotfix
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create an emergency hotfix workflow with expedited process and mandatoryKey capabilities
- →Run `create-hotfix.sh` script
- →Parse JSON output for hotfix details
- →Write hotfix incident log to `HOTFIX_FILE`
- →Assess severity from incident description
- →Document impact assessment
- →Report completion with next steps
How it works
The skill executes a bash script to generate hotfix tracking data, then uses a template to write a hotfix incident log based on the provided incident description.
Inputs & outputs
When to use speckit-hotfix
- →Execute emergency hotfix
- →Create incident post-mortem
- →Track hotfix incident timeline
- →Initialize hotfix directory structure
About this skill
Speckit Hotfix Skill
The user input to you can be provided directly by the agent or as a command argument - you MUST consider it before proceeding with the prompt (if not empty).
User input:
$ARGUMENTS
The text the user typed after /speckit.hotfix in the triggering message is the incident description. Assume you always have it available in this conversation even if $ARGUMENTS appears literally below. Do not ask the user to repeat it unless they provided an empty command.
⚠️ EMERGENCY WORKFLOW - EXPEDITED PROCESS ⚠️
Given that incident description, do this:
-
Run the script
.specify/scripts/bash/create-hotfix.sh --json "$ARGUMENTS"from repo root and parse its JSON output for HOTFIX_ID, BRANCH_NAME, HOTFIX_FILE, POSTMORTEM_FILE, and TIMESTAMP. All file paths must be absolute. IMPORTANT You must only ever run this script once. The JSON is provided in the terminal as output - always refer to it to get the actual content you're looking for. -
Load
.specify/extensions/workflows/hotfix/hotfix-template.mdto understand required sections. -
Write the hotfix incident log to HOTFIX_FILE using the template structure:
- Fill incident timeline with TIMESTAMP from script output
- Assess severity from description (P0 = service down, P1 = major feature broken, P2 = workaround available)
- Describe the incident clearly
- Leave "Immediate Fix Applied" section empty (to be filled during planning)
- Leave root cause analysis preliminary (to be refined)
- Document impact assessment from description
-
Report completion with Next Steps:
⚠️ HOTFIX WORKFLOW INITIATED (EXPEDITED)
**Hotfix ID**: [HOTFIX_ID]
**Branch**: [BRANCH_NAME]
**Incident Time**: [TIMESTAMP]
**Severity**: [P0/P1/P2]
**Hotfix Report**: [HOTFIX_FILE]
📋 **Next Steps (URGENT):**
1. Review incident details and confirm severity
2. Notify stakeholders of incident status
3. Run `/speckit.plan` to create expedited fix plan
4. Run `/speckit.tasks` to create minimal task breakdown
5. Run `/speckit.implement` to apply hotfix immediately
⚠️ **Post-Deployment:**
- Monitor production after deployment
- Schedule post-mortem within 24-48 hours
- Create follow-up `/speckit.bugfix` for proper fix with tests
💡 **Note**: This is the ONLY workflow that permits test-after approach due to emergency
Note: Hotfix workflow bypasses normal TDD process due to emergency nature. Tests must be added AFTER fix is deployed. This is the ONLY workflow that permits this deviation from the constitution.
When not to use it
- →When the project structure does not have a `.specify/` directory
- →When the task is not an emergency hotfix workflow
- →When the user provides an empty incident description
Limitations
- →The skill requires spec-kit project structure with `.specify/` directory
- →The skill is an emergency workflow with expedited process
- →The skill permits a test-after approach due to emergency
How it compares
This skill provides an expedited hotfix workflow with automated script execution and a structured incident log, bypassing normal TDD processes due to emergency nature, unlike standard development.
Compared to similar skills
speckit-hotfix side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| speckit-hotfix (this skill) | 0 | 4mo | No flags | Intermediate |
| schedules | 1 | 2mo | Review | Beginner |
| gsd-execute-phase | 0 | 4mo | No flags | Advanced |
| executing-plans | 0 | 2mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by pradeepmouli
View all by pradeepmouli →You might also like
schedules
windmill-labs
MUST use when configuring schedules.
gsd-execute-phase
SrivarsanK
Execute all plans in a phase with wave-based parallelization
executing-plans
liujiarui0918
Use to execute a written plan. Run tasks in batches with human checkpoints.
gsd-execute-phase
AcidicSoil
Execute all plans in a phase with wave-based parallelization
klfg
Irtechie
Full KB pipeline orchestrator. Chains /kb-brainstorm → /kb-plan → /kb-work → kb-complete → DONE. kb-work handles the per-slice gauntlet (scope lock, execution, tests, diff-scope, destructive guard, QA, repair, Figma sync). kb-complete handles post-work quality, follow-up resolution, proof/demo evide
team
yangyuan-zhen
[OMX] N coordinated agents on shared task list using tmux-based orchestration