AGENT SKILL

hotfix

Emergency fix workflow that bypasses normal sprint processes with a full audit trail. Creates hotfix branch, tracks approvals, and ensures the fix is backported correctly.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 9
Forks
0

01 前言 Front Matter

name
hotfix
description
Emergency fix workflow that bypasses normal sprint processes with a full audit trail. Creates hotfix branch, tracks approvals, and ensures the fix is backported correctly.
allowed-tools
Read, Glob, Grep, Write, Edit, Bash
argument-hint
[bug-id or description]
user-invocable
true

03 SKILL.md 正文

When this skill is invoked:

Explicit invocation only: This skill should only run when the user explicitly requests it with /hotfix. Do not auto-invoke based on context matching.

  1. Assess the emergency — Read the bug description or ID. Determine severity:

    • S1 (Critical): Game unplayable, data loss, security vulnerability — hotfix immediately
    • S2 (Major): Significant feature broken, workaround exists — hotfix within 24 hours
    • If severity is S3 or lower, recommend using the normal bug fix workflow instead
  2. Create the hotfix record at production/hotfixes/hotfix-[date]-[short-name].md:

    ## Hotfix: [Short Description]
    Date: [Date]
    Severity: [S1/S2]
    Reporter: [Who found it]
    Status: IN PROGRESS
    
    ### Problem
    [Clear description of what is broken and the player impact]
    
    ### Root Cause
    [To be filled during investigation]
    
    ### Fix
    [To be filled during implementation]
    
    ### Testing
    [What was tested and how]
    
    ### Approvals
    - [ ] Fix reviewed by lead-programmer
    - [ ] Regression test passed (qa-tester)
    - [ ] Release approved (producer)
    
    ### Rollback Plan
    [How to revert if the fix causes new issues]
    
  3. Create the hotfix branch (if git is initialized):

    git checkout -b hotfix/[short-name] [release-tag-or-main]
    
  4. Investigate and implement the fix — Focus on the minimal change that resolves the issue. Do NOT refactor, clean up, or add features alongside the hotfix.

  5. Validate the fix — Run targeted tests for the affected system. Check for regressions in adjacent systems.

  6. Update the hotfix record with root cause, fix details, and test results.

6b. Collect approvals — Use the Task tool to request sign-off:

  • subagent_type: lead-programmer — Review the fix for correctness and side effects
  • subagent_type: qa-tester — Run targeted regression tests on the affected system
  • subagent_type: producer — Approve deployment timing and communication plan
  1. Output a summary with: severity, root cause, fix applied, testing status, and what approvals are still needed before deployment.

Rules

  • Hotfixes must be the MINIMUM change to fix the issue — no cleanup, no refactoring, no "while we're here" changes
  • Every hotfix must have a rollback plan documented before deployment
  • Hotfix branches merge to BOTH the release branch AND the development branch
  • All hotfixes require a post-incident review within 48 hours
  • If the fix is complex enough to need more than 4 hours, escalate to technical-director for a scope decision

04 同仓库更多 Skills

LongLeo287
LongLeo287/OmniClaw

UI-UX Pro Max

Advanced UI/UX analysis and generation skills with data-driven patterns. Python scripts (core.py, search.py) for systematic UI pattern extraction, design system generation, and component search from curated data sources.

★ 9
LongLeo287
LongLeo287/OmniClaw

shadcn-ui

Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best practices.

★ 9
LongLeo287
LongLeo287/OmniClaw

zustand_store_ts

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.

★ 9
LongLeo287
LongLeo287/OmniClaw

zustand

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

★ 9
LongLeo287
LongLeo287/OmniClaw

youtube_summarizer

Automatically fetch YouTube video transcripts, generate structured summaries, and send full transcripts to messaging platforms. Detects YouTube URLs and provides metadata, key insights, and downloadable transcripts.

★ 9
LongLeo287
LongLeo287/OmniClaw

youtube_clipper

YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video

★ 9