hotfix-release
Skill27 starsChanged 28 days agoMITView on GitHub
Publish a hotfix (patch) release for one or more packages from an existing release branch. Use when the user wants to kick, start, or perform a hotfix release on a release/* branch.
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- microsoft/rayfintheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- microsoft/rayfin★ 646same name
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 repository10 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- agentic-workflowsSkill
- code-reviewSkill
- create-linter-ruleSkill
- doc-example-generatorSkill
- tcgc-newsletterSkill
- typespec-go-add-spector-testSkill
- typespec-python-releaseSkill
- typespec-ts-add-spector-testSkill
- update-resolve-arm-resourcesSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Before starting, confirm the following with the user:
- Distinctive: line 35
Verify the fix commit is present on the release branch:
- Distinctive: line 43
Create a new branch from the release branch.
- Very specific: line 50
Single package: use the package shortname, e.g.
- Very specific: line 51
Multiple packages: use a descriptive group name, e.g.
- Very specific: line 52
All packages: use a general name, e.g. publish/hotfix/all-february-2026
- Very specific: line 54
Ensure the core submodule is at the correct commit for this branch:
- Very specific: line 66
IMPORTANT: If the core submodule pointer was changed by the version bump, reset it — the submodule should NOT change in a hotfix:
- Distinctive: line 72
Verify only the intended files are changed:
- Distinctive: line 87
Commit the version bump:
- Distinctive: line 107
Wait for CI to pass
- Distinctive: line 113
After the hotfix PR is merged:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hotfix Release
Instructions for publishing a hotfix (patch) release for one or more packages from an existing release/* branch.
For @azure-tools/typespec-java, also follow the Java hotfix runbook.
It covers the preceding core-sync PR and the downstream SDK sync pipeline.
⚠️ Prerequisites: A
release/<sprint-name>branch must already exist with the fix commit(s) merged into it. If it does not exist, create one from the last release tag commit first.
REQUIRED PARAMETERS
Before starting, confirm the following with the user:
- Release branch name: e.g.
release/february-2026 - Package(s) being hotfixed: one or more packages, e.g.
@azure-tools/typespec-client-generator-core(tcgc)@azure-tools/typespec-azure-core(azure-core)@azure-tools/typespec-autorest(autorest)
REQUIRED STEPS (ALL MUST BE COMPLETED IN ORDER)
1. PREPARATION
Fetch the release branch:
git fetch origin release/<sprint-name>Verify the fix commit is present on the release branch:
git log origin/release/ -10 < sprint-name > --oneline
2. CREATE HOTFIX PUBLISH BRANCH
Create a new branch from the release branch. Use a name that reflects the package(s) being hotfixed:
git checkout -b publish/hotfix/<name>-<sprint-name> origin/release/<sprint-name>Naming convention:
- Single package: use the package shortname, e.g.
publish/hotfix/tcgc-february-2026 - Multiple packages: use a descriptive group name, e.g.
publish/hotfix/tcgc-and-azure-core-february-2026 - All packages: use a general name, e.g.
publish/hotfix/all-february-2026
- Single package: use the package shortname, e.g.
Ensure the
coresubmodule is at the correct commit for this branch:git submodule update --init
3. Run the version bump command with --ignore-policies (required for hotfix releases since the release branch is not main):
pnpm chronus version --ignore-policiesIMPORTANT: If the
coresubmodule pointer was changed by the version bump, reset it — the submodule should NOT change in a hotfix:git checkout -- coreVerify only the intended files are changed:
git diff --statYou should see ONLY (repeated per hotfixed package):
- Deleted
.chronus/changes/<file>.md(one per fix) - Modified
packages/<package-name>/package.json - Modified
packages/<package-name>/CHANGELOG.md
- Deleted
⚠️ If any packages were bumped that are NOT in the hotfix target list, investigate before proceeding.
4. COMMIT AND PUSH
Commit the version bump:
git add -A git commit -m "Bump version for hotfix: <pkg1>@<version1>, <pkg2>@<version2>, ..."Examples:
- Single:
"Bump version for hotfix: tcgc@0.65.1" - Multiple:
"Bump version for hotfix: tcgc@0.65.1, azure-core@1.2.1"
- Single:
Push the branch:
git push origin publish/hotfix/<name>-<sprint-name>
5. CREATE PR AND MERGE
- Open a PR from
publish/hotfix/<name>-<sprint-name>targetingrelease/<sprint-name>(NOTmain) - Wait for CI to pass
- Squash merge the PR
- The publish pipeline will automatically release the new package version(s) to NPM
6. BACKMERGE TO MAIN
After the hotfix PR is merged:
- A workflow should automatically create a backmerge branch named
backmerge/release/<sprint-name>-YYYY-MM-DD - Find the backmerge branch at https://github.com/Azure/typespec-azure/branches
- Open a PR from the backmerge branch targeting
main - Rebase merge the backmerge PR into
main
⚠️ The backmerge ensures the hotfix and version bump are reflected in
main. Do NOT skip this step.
IMPORTANT REMINDERS
- ⚠️ The PR MUST target
release/<sprint-name>, NOTmain - ⚠️ Always use
--ignore-policieswithpnpm chronus versionon release branches - ⚠️ Always reset the
coresubmodule pointer if it was changed (git checkout -- core) - ⚠️ Only the targeted package(s) should have version changes — verify with
git diff --stat - ⚠️ Always complete the backmerge to
mainafter the hotfix is published - ⚠️ If the
release/<sprint-name>branch does not exist yet, create it from the last release tag commit before starting
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.

