hotfix
Automates the production hotfix release process.
Install
mkdir -p .claude/skills/hotfix && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16524" && unzip -o skill.zip -d .claude/skills/hotfix && rm skill.zipInstalls to .claude/skills/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.
Execute the hotfix workflow when the user asks `hotfix` or `/hotfix`: create a hotfix branch from main, guide fix+checks, open PR to main, and confirm patch release.Key capabilities
- →Create a hotfix branch from `main`
- →Guide through fix implementation and quality checks
- →Generate a pull request to `main` with specific labels
- →Confirm patch release creation
- →Enforce Conventional Commits with `fix:` prefix
- →Check `git status --short` and `gh auth status` before starting
How it works
The skill automates the hotfix workflow by creating a branch, guiding the user through the fix, quality checks, and PR creation, and confirming the patch release. It enforces specific commit and PR conventions.
Inputs & outputs
When to use hotfix
- →Fix a production emergency
- →Create a hotfix branch
- →Submit a critical bug fix PR
About this skill
Hotfix Workflow
本番障害向けのホットフィックスフローを開始し、hotfix/* ブランチ作成からパッチリリース確認までを案内する。
Preflight
git status --shortが空であることmainブランチが存在することgh auth statusが成功すること
実行内容
- 前提条件チェック
mainからhotfix/*ブランチ作成- 修正・品質チェック・PR作成・リリース確認の手順提示
使用方法
パターンA: Issue番号を指定
./scripts/release/create-hotfix.sh 42
# -> hotfix/42
パターンB: 説明を指定
./scripts/release/create-hotfix.sh fix-critical-bug
# -> hotfix/fix-critical-bug
パターンC: 対話式
./scripts/release/create-hotfix.sh
修正後の流れ
# 1) 修正実装
git add .
git commit -m "fix: 緊急修正の説明"
# 2) 品質チェック
make quality-checks
# 3) プッシュ + PR
git push -u origin hotfix/xxx
gh pr create --base main --head hotfix/xxx \
--title "fix: 緊急修正の説明" \
--label "hotfix,auto-merge"
# 4) リリース確認
gh release view
注意
- 緊急修正以外の変更を含めない
- Conventional Commits で
fix:プレフィックスを使う - main マージ後はパッチ版(例: v1.2.4)が自動作成される
When not to use it
- →For changes other than emergency fixes
- →When `git status --short` is not empty
- →When `main` branch does not exist
Limitations
- →Must not include changes other than emergency fixes
- →Requires `main` branch to exist
- →Requires `gh auth status` to be successful
How it compares
This skill provides a structured, guided hotfix process with automated branch and PR creation, unlike a manual git workflow.
Compared to similar skills
hotfix side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| hotfix (this skill) | 0 | 5mo | Review | Beginner |
| shellcheck-configuration | 9 | 2mo | No flags | Intermediate |
| gcp-cloud-run | 5 | 5mo | Review | Intermediate |
| flow-nexus-platform | 6 | 4mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by akiojin
View all by akiojin →You might also like
shellcheck-configuration
wshobson
Master ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring script portability.
gcp-cloud-run
aj-geddes
Deploy containerized applications on Google Cloud Run with automatic scaling, traffic management, and service mesh integration. Use for container-based serverless computing.
flow-nexus-platform
ruvnet
Comprehensive Flow Nexus platform management - authentication, sandboxes, app deployment, payments, and challenges
smithery-mcp-deployment
CaullenOmdahl
Best practices for creating, optimizing, and deploying MCP servers to Smithery. Use this skill when:(1) Creating new MCP servers for Smithery deployment(2) Optimizing quality scores (achieving 90/100)(3) Troubleshooting deployment issues (0/0 tools, missing annotations, low scores)(4) Migrating existing MCP servers to Smithery format(5) Understanding Smithery's schema format requirements(6) Adding workflow prompts, tool annotations, or documentation resources(7) Configuring smithery.yaml and package.json for deployment
wolf-scripts-core
Nice-Wolf-Studio
Core automation scripts for archetype selection, evidence validation, quality scoring, and safe bash execution
deployment-pipeline-design
wshobson
Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing GitOps practices.