hotfix
Skill31 starsChanged 15 days agoApache-2.0View on GitHub
Ship a fix to production ahead of the next release — the two-PR pattern (main + release-branch twin). Runs only when the user invokes it explicitly.
- Commits and pushes
33 other projects use a version of this.
Adopted by
Most recently taken up by
- bullish0x/GameStudiotheir own version, first seen Nov 29, 2026
- chatquill/claude-code-websitestheir own version, first seen Nov 22, 2026
- chuckplayer/claude-agent-packtheir own version, first seen Nov 16, 2026
- chuanglibs/Claude-Code-Game-Studios-Codextheir own version, first seen Nov 15, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Nov 9, 2026
- cyrilichti/agent-workflowstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use playtest-report, team-live-ops and 10 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 14 projects that use this
lilangMaxSkillteam-live-ops
Orchestrate the live-ops team for post-launch content planning: coordinates live-ops-designer, economy-designer, analytics-engineer, community-manager, writer, and narrative-director to design and plan a season, event, or live content update.
Also in 11 projects that use this
lilangMaxSkilltest-flakiness
Detect non-deterministic (flaky) tests by reading CI run logs or test result history. Aggregates pass rates per test, identifies intermittent failures, recommends quarantine or fix, and maintains a flaky test registry. Best run during Polish phase or after multiple CI runs.
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 14 projects that use this
- +2 more from CoralGame
- +6 more from lilangMax
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- Donchitos/Claude-Code-Game-Studios★ 39ksame name
- microsoft/roosterjs★ 1.3ksame name
- nudgebee/nudgebee★ 524same name
- pixel-cellar/Claude-Code-Game-Studios★ 324same name
- striderZA/OpenCodeGameStudios★ 124same name
- tranhieutt/software_development_department★ 71same name
- Aurealibe/claude-config★ 68same name
- cenconq25/claude-code-app-studio★ 40same name
- bullish0x/GameStudio★ 29same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
23 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 repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cost-reviewSkill
- create-issueSkill
- create-prSkill
- deploySkill
- devSkill
- incidentSkill
- log-reviewSkill
- migrateSkill
- pr-reviewSkill
- release-notesSkill
- reliability-reviewSkill
- security-auditSkill
- soc2-reviewSkill
- testSkill
- vuln-triageSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 30 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Not from urgency words in a reply — "now", "urgent", "asap", "yes let's do it" after a recommendation to ride the next release.
- Distinctive: line 17
Not from the fix touching deployed behavior, a customer-facing surface, or production evidence.
- Distinctive: line 18
Not from a memory file, a CLAUDE.md section, or a runbook that describes the pattern.
- Very specific: line 20
If a hotfix *might* be warranted, say so in one line ("this could ship ahead of the release via /hotfix if you want it in prod before …
- Distinctive: line 43
If a main-branch PR for the fix already exists (third argument: a PR number or branch), reuse it.
“Common” is measured: kept by at least 6 in 10 of the 30 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
Ship a fix to production ahead of the next release using the two-PR pattern: one PR to main (reviewed; makes the fix permanent) and one PR carrying the same commits to the current release/<x.y.z> branch (CI on the exact ref that will be deployed).
This skill is the trigger — never infer a hotfix
A hotfix is a deploy-timing decision with real cost: a second PR, a cherry-pick, and a full production deploy from the release branch. It is chosen by the user, and invoking this skill is how they choose it. Do not start this flow from anything else:
- Not from urgency words in a reply — "now", "urgent", "asap", "yes let's do it" after a recommendation to ride the next release.
- Not from the fix touching deployed behavior, a customer-facing surface, or production evidence.
- Not from a memory file, a CLAUDE.md section, or a runbook that describes the pattern.
If a hotfix might be warranted, say so in one line ("this could ship ahead of the release via /hotfix if you want it in prod before then") and stop. Absent /hotfix, a fix goes to main and rides the next release.
How releases work here
create-release.yml cuts a release/<x.y.z> branch, and production deploys from that branch while main keeps moving. So a fix merged only to main waits for the next release, and a fix merged only to the release branch is lost at the next cut. Two PRs, same commits. Committing straight onto the release branch is retired practice: the PR into it is what gets CI run on the ref the deploy will use.
Instructions
1. Preflight
RELEASE=${2:-$(git branch -r | grep 'origin/release/' | sort -V | tail -1 | sed 's#.*origin/##')}
VERSION=${RELEASE#release/} # x.y.z
SUFFIX=$(echo "$VERSION" | tr . -) # x-y-z, for the branch name
git fetch -q origin- Confirm the bug exists on the release branch. For a regression,
git merge-base --is-ancestor <regressing-merge-sha> origin/$RELEASE; for a long-standing defect,git diff origin/main origin/$RELEASE -- <files>(empty means the same code). If the release branch does not carry the defect, stop — there is nothing to hotfix; say so. - Working tree clean, not on
main. Branch creation goes throughjust create-featureonly. - Security fixes. The twin's diff and body are public the moment they are pushed, often before the deploy lands. Keep both PR bodies terse and non-actionable (the disclosure rules in
/create-prapply to both), and sequence the deploy with — or ahead of — the public push.
2. The main PR — the reviewed one
If a main-branch PR for the fix already exists (third argument: a PR number or branch), reuse it. Otherwise:
just create-feature bugfix <name> # branches from origin/main and pushes
# commit the fix (stage files by name), then:
git pushOpen it with /create-pr (target main). This is the PR that gets the @claude review, per that skill's §5. Record its number as MAIN_PR and its branch as MAIN_BRANCH.
3. The release-branch twin
just create-feature hotfix <name>-$SUFFIX $RELEASE # branches from origin/release/x.y.z
git log --reverse --format=%H origin/main..origin/$MAIN_BRANCH # every commit of the main PR, oldest first
git cherry-pick <sha> [<sha> ...]
git push- Cherry-pick all of the main PR's commits, in order; never squash or rewrite them.
- On a conflict, stop and report — do not resolve it into something the main PR does not contain. A twin that differs from the reviewed commits is not a twin.
- Write the body to a temp file and open the PR against the release branch, following
.github/PULL_REQUEST_TEMPLATE.md(Summary / Changes / Breaking Changes / Testing / Certification). The Summary states that it is the release-branch twin of#MAIN_PR, carries the same commits, and exists so CI runs on the ref the deploy will use.
gh pr create --base "$RELEASE" --head "hotfix/<name>-$SUFFIX" --title "hotfix(<scope>): <title> ($VERSION)" --body-file /tmp/hotfix-pr-body.md- Do not post the
@claudereview comment on the twin. This is the one deliberate exception to/create-pr§5: the commits are identical and were reviewed once, on the main PR; the twin's job is the CI gate ahead of the deploy. If the review workflow fires on its own when the PR opens, leave it — just do not request it.
4. Hand-off
The user merges the twin and deploys production from the release branch; the main PR merges on green. Never: push to release/* (the pre-push hook refuses it), merge either PR, dispatch the deploy, or delete the hotfix branch — branch lifecycle is the user's.
Output
- Both PR URLs, labelled
mainandtwin (release/x.y.z). - The commits carried (short SHAs on each branch).
- What is now the user's: merge the twin → deploy prod from
release/x.y.z→ merge the main PR. - Anything that stopped the flow (defect not on the release branch; cherry-pick conflict).
Arguments
$ARGUMENTS: the fix's short name (required — it names both branches), an optional release branch (default: the highest origin/release/*), and an optional existing main PR number or branch to reuse for step 2.
$ARGUMENTS
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.

