hotfix
Skill40 starsChanged 7 months agoMITView on GitHub
Emergency fix workflow that bypasses normal sprint process while keeping a full audit trail. Creates the hotfix branch, tracks approvals, ensures backport to main, and produces release-store-ready notes. Use only for production-impacting S1 bugs or critical store-rejection issues.
29 other projects use a version of this.
Adopted by
Most recently taken up by
- cyrilichti/agent-workflowstheir own version, first seen Nov 8, 2026
- jacksnxly/keryxtheir own version, first seen Nov 8, 2026
- striderZA/OpenCodeGameStudiostheir own version, first seen Nov 4, 2026
- florian101010/awesome-agentic-AI-coding-templatetheir own version, first seen Nov 1, 2026
- azmainadel/devloop-skillstheir own version, first seen Nov 1, 2026
- dmzoneill/skillstheir own version, first seen Oct 24, 2026
Used with
Projects with it also use playtest-report, team-audio and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillplaytest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
Also in 12 projects that use this
CoralGameSkillteam-audio
Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.
Also in 12 projects that use this
- +2 more from CoralGame
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 29
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- microsoft/roosterjs★ 1.3ksame name
- nudgebee/nudgebee★ 520same name
- pixel-cellar/Claude-Code-Game-Studios★ 324same name
- striderZA/OpenCodeGameStudios★ 118same name
- tranhieutt/software_development_department★ 71same name
- Aurealibe/claude-config★ 68same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
- dawn840705/codex-code-studios★ 17same name
- CodePhobiia/claude-roblox-game-studio★ 9same name
19 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository77 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- design/CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- adoptSkill
- architecture-decisionSkill
- architecture-reviewSkill
- asset-auditSkill
- asset-specSkill
- balance-checkSkill
- brainstormSkill
- bug-reportSkill
- bug-triageSkill
- changelogSkill
- code-reviewSkill
- consistency-checkSkill
- content-auditSkill
- create-architectureSkill
- create-control-manifestSkill
- create-epicsSkill
- create-storiesSkill
- day-one-patchSkill
- design-bibleSkill
- design-reviewSkill
- design-systemSkill
- dev-storySkill
- estimateSkill
- extractSkill
- gate-checkSkill
- helpSkill
- launch-checklistSkill
- localizeSkill
- map-systemsSkill
- milestone-reviewSkill
- onboardSkill
- patch-notesSkill
- perf-profileSkill
- prd-reviewSkill
- project-stage-detectSkill
- propagate-design-changeSkill
- prototypeSkill
- qa-planSkill
- quick-designSkill
- regression-suiteSkill
- release-checklistSkill
- retrospectiveSkill
- reverse-documentSkill
- review-all-prdsSkill
- scope-checkSkill
- security-auditSkill
- setup-frameworkSkill
- skill-improveSkill
- skill-testSkill
- smoke-checkSkill
- soak-testSkill
- sprint-planSkill
- sprint-statusSkill
- startSkill
- story-doneSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 10 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Ask the user via AskUserQuestion to confirm the trigger:
- Very specific: line 35
If [D], stop and recommend /bug-report or /bug-triage.
- Very specific: line 41
If BUG-ID is given, read production/qa/bugs/BUG-[ID]-*.md.
- Distinctive: line 63
If any approval is missing, stop.
- Distinctive: line 82
Create the hotfix branch from that tag:
- Very specific: line 88
Ask before running. If the user prefers a different base (a release branch, e.g., release/2.5.x), use that.
- Distinctive: line 112
Create the minimal change.
- Very specific: line 113
Add a regression test (this is non-negotiable for hotfix — see /regression-suite --add-bug).
- Distinctive: line 115
Document why the fix works in the bug's investigation log.
- Very specific: line 121
Run the smoke check against the hotfix branch via /smoke-check.
- Distinctive: line 123
Run the regression suite via the project's test runner:
- Distinctive: line 132
If anything fails, stop. The hotfix must not introduce new red.
- Distinctive: line 151
If main has diverged so much that the cherry-pick is non-trivial, surface that and consider a separate "main-equivalent fix" PR.
- Distinctive: line 154
Ask the user to confirm the PR destinations and reviewers before opening PRs.
- Distinctive: line 225
Update the bug record:
- Very specific: line 235
If invoked with --rollback, the hotfix is being reversed.
“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hotfix
The break-glass procedure for shipping a fix outside a sprint. Trades process for speed but keeps an audit trail tight enough to survive post-incident review.
Phase 1: Confirm This Is Actually a Hotfix
Hotfix is justified only when ALL of these hold:
- A production build is currently live and impacted.
- The issue is S1 OR a store-rejection blocker OR a security exposure.
- Waiting for the next sprint would cause further user harm.
Otherwise, route to /bug-triage for normal scheduling.
Ask the user via AskUserQuestion to confirm the trigger:
[A] Live S1 — users impacted right now[B] App Store / Play Store rejection — review board needs a fix[C] Security disclosure — needs immediate patch[D] Cancel — this is not a hotfix
If [D], stop and recommend /bug-report or /bug-triage.
Phase 2: Resolve the Bug Record
If BUG-ID is given, read production/qa/bugs/BUG-[ID]-*.md. If not,
prompt the user to file one via /bug-report first — every hotfix must
have a tracked bug.
Read:
- The bug record in full.
- Any related ADRs from the bug's "Related" section.
- The most recently shipped build's tag (via
git tag --sort=-creatordate).
Phase 3: Approval Gate
Hotfix bypasses sprint planning, so a higher approval bar applies. Use AskUserQuestion to capture each:
- Engineering Lead approval (name)
- Producer approval (name)
- QA Lead approval (name)
- Release Manager approval (name)
If any approval is missing, stop. The audit trail requires all four for a true hotfix. (The user can choose to proceed without a formal hotfix process — but then it's a normal sprint fix.)
Record approvals into the hotfix log (created in Phase 8).
Phase 4: Branch Strategy
Determine the source. Use Bash:
git fetch --tags
git tag --sort=-creatordate | head -n 5Confirm with the user which release tag is currently live in production.
Create the hotfix branch from that tag:
git checkout -b hotfix/BUG-[ID]-[short-slug] [release-tag]Ask before running. If the user prefers a different base (a release
branch, e.g., release/2.5.x), use that.
Phase 5: Implement the Fix
Spawn the right specialist via Task. Routing matches /dev-story:
- Crash in core Logic ->
lead-developer+ framework specialist. - UI regression ->
lead-developer+ framework UI specialist. - Backend / sync / data ->
backend-engineer. - Security exposure ->
security-engineer.
Pass:
- The bug record.
- The reproduction steps.
- The release tag the fix is based on.
- Explicit constraint: "Smallest possible diff. No refactors. No tangential improvements. The fix must be backportable to main."
The agent should:
- Create the minimal change.
- Add a regression test (this is non-negotiable for hotfix — see
/regression-suite --add-bug). - Document why the fix works in the bug's investigation log.
Phase 6: Hotfix Verification
Run the smoke check against the hotfix branch via /smoke-check.
Run the regression suite via the project's test runner:
npx jest tests/regressionflutter test test/regressionxcodebuild test -only-testing:RegressionTests./gradlew testDebugUnitTest --tests "*regression*"
Capture per-test results.
If anything fails, stop. The hotfix must not introduce new red.
For visual changes, also walk through the affected flow on at least one Tier A device per platform with the user.
Phase 7: Backport Plan
Hotfixes must land on both the release branch (or tag) AND main.
Capture the plan:
- Merge the hotfix branch into the release branch (or create the release branch from the tag if none exists).
- Cherry-pick the hotfix commit(s) onto main.
- Resolve conflicts on main if main has diverged.
- Open PRs for both targets.
If main has diverged so much that the cherry-pick is non-trivial, surface that and consider a separate "main-equivalent fix" PR. Both must land.
Ask the user to confirm the PR destinations and reviewers before opening PRs. (This skill does not push to remote — leave that to the user.)
Phase 8: Compose the Hotfix Log
Write production/releases/hotfixes/HOTFIX-[date]-BUG-[ID].md:
# Hotfix Log: BUG-[ID] — [Title]
**Date**: [date]
**Trigger**: [S1 / store rejection / security]
**Affected build**: [version]
**Hotfix build target**: [version]
## Approvals
- Engineering Lead: [name]
- Producer: [name]
- QA Lead: [name]
- Release Manager: [name]
## Timeline
- [time] Bug filed
- [time] Hotfix declared
- [time] Branch created from [tag]
- [time] Fix implemented in [commit]
- [time] Regression test added at [path]
- [time] Smoke check PASS
- [time] Regression suite PASS
- [time] Manual verification on [devices]
- [time] PR opened: [release branch URL]
- [time] PR opened: [main URL]
## Diff
- Files changed: [count]
- Lines: [+N / -M]
- Test added: [path]
## Risk Assessment
- Blast radius: [scope]
- Rollback path: [how to roll back]
- Expected user impact post-deploy: [statement]
## Rollback Plan
[explicit steps if the hotfix itself misbehaves]
## Post-Mortem Action
[link to scheduled retrospective or "Not required — minor scope"]Ask before writing.
Phase 9: Update State
Append to production/session-state/active.md:
## Hotfix — [date]
- Bug: BUG-[ID]
- Branch: hotfix/...
- Smoke: PASS
- Regression: PASS
- PRs open: [release], [main]
- Hotfix log: [path]
- Next: merge release PR, deploy expedited build, then merge main PRUpdate the bug record:
Status: In Hotfixwhile in flight.Status: Closedonce both PRs are merged AND the hotfix build is live.
Rollback Mode
If invoked with --rollback, the hotfix is being reversed. Workflow:
- Confirm the hotfix tag is live and is causing harm.
- Open a revert PR on the release branch.
- Re-run smoke + regression on the reverted state.
- Append a
## Rollbackblock to the hotfix log capturing why. - Re-open the underlying bug as
Reopenedand re-triage via/bug-triage.
Quality Gates / PASS-FAIL
- PASS — fix landed, regression test added, smoke + regression suite green, both PRs open, log written, all four approvals captured.
- FAIL — any of: missing approval, no regression test, smoke or regression red, log incomplete. Do not declare the hotfix shipped.
Examples
Example 1 — Live S1 crash on Android resume:
Bug filed, approvals captured, branch off v2.5.0, fix is a 4-line
Compose change, regression test added, smoke + regression PASS, PRs
opened to release/2.5.x and main. Hotfix log written.
Example 2 — Store rejection for ATT prompt timing: Apple rejects build for showing tracking dialog before main UI loads. Hotfix delays the prompt to first relevant moment. Test added. Smoke PASS. New build submitted with the hotfix log attached to the appeal.
Next Steps
- Merge release PR, ship the hotfix build via
/team-release(in expedited mode). - Merge main PR.
- Schedule a post-mortem if the hotfix involved a regression caused by
recent work —
/retrospectiveafter the next sprint.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

