Hotfix branch

From Goldziher/ai-rulez · View interactive version

Hotfix branch is an AI agent skill from the GitHub repository Goldziher/ai-rulez. Prepares a hotfix on a branch cut from the latest release tag. Use when a production bug needs a patch release.

How to use this skill

Skill file

Hotfix branch

Never commit directly to main. The one exception is the version bump made by make release, which the release bot commits.

  1. Create the branch with git switch -c hotfix/<ticket> <latest-tag>.
  2. Apply the fix and run make test.
  3. Open a pull request against the release branch. Do not push to main.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.