Agent skill
hotfix
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/hotfix-akiojin-llmlb
SKILL.md
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)が自動作成される
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?