‹ 首页

hotfix

@wellapp-ai · 收录于 5 天前 · 上游提交 1 个月前

Expedited workflow for urgent production issues

适合你,如果经常需要快速处理生产环境突发问题

/ 通过 npx 安装 校验哈希
npx oh-my-skill add wellapp-ai/well/hotfix
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- wellapp-ai/well/hotfix
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify wellapp-ai/well/hotfix
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
340GitHub stars
~399上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 782601c · 表述以原文为准
它做什么

装好后,Claude 会指导你快速修复生产事故:从 main 分支创建 hotfix 分支,实施最小修复,验证后创建带 HOTFIX 标签的 PR,并紧急通知团队。合并后自动将 main 合并回 develop。

什么时候触发

当生产环境宕机或降级、出现影响用户的严重 bug、或发现安全漏洞时触发。

装好后可以这样说
开始紧急修复。
启动安全修复。
发送紧急 Slack 消息。
技能原文 SKILL.md作者撰写 · MIT · 782601c

Hotfix Skill

Fast-track fixes for production incidents.

When to Use
  • Production is down or degraded
  • Critical bug affecting users
  • Security vulnerability discovered
How It Differs from Normal Flow

| Normal | Hotfix | |--------|--------| | Branch from develop | Branch from main | | ASK mode exploration | Skip to fix | | Full PR review | Expedited review | | Standard Slack message | URGENT alert |

The Flow
  1. Branch - Create hotfix branch from main
  2. Fix - Implement minimal fix
  3. Verify - Test fix works
  4. PR - Create with HOTFIX label
  5. Alert - Notify team urgently
Phase Checklist
Phase 1: Create Hotfix Branch
  • [ ] Fetch latest: git fetch origin main
  • [ ] Branch from main: git checkout -b hotfix/<issue-summary> origin/main
  • [ ] Confirm on hotfix branch
Phase 2: Implement Fix
  • [ ] Identify root cause (minimal investigation)
  • [ ] Implement smallest possible fix
  • [ ] Run typecheck and lint
  • [ ] NO new features, NO refactoring
Phase 3: Verify
  • [ ] Test fix locally
  • [ ] Confirm original issue resolved
  • [ ] Check for obvious regressions
Phase 4: Create PR
  • [ ] Push branch: git push -u origin HEAD
  • [ ] Create PR to main with HOTFIX label: ```bash gh pr create --base main --title "HOTFIX: <summary>" --label hotfix ```
  • [ ] Request expedited review
Phase 5: Alert Team

Generate urgent Slack message:

:rotating_light: **HOTFIX: [Issue Summary]**

**Impact:** [What was broken]
**Fix:** [What was changed]

:github: PR: [link]
:notion: Incident: [link if exists]

Requesting expedited review from: @[reviewer]
After Merge
  • [ ] Merge main back to develop: git checkout develop && git merge main
  • [ ] Create incident report in Notion (if major)
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。