fix-release-pr
Installation
SKILL.md
Fixing PRs to the release branch
Why this skill exists
In clickhouse-js, the release branch receives release PRs — snapshots of
main opened to cut a version (e.g. titled "1.23 beta2"). Two properties make
them special:
- The PR's head branch is usually
mainitself (baserelease, headmain).gh pr checkout <N>is therefore a no-op that leaves you onmain— do not commit fixes there. releaseis protected: you cannot push commits onto the release PR to fix CI or review feedback.
So fixes never go onto the release PR. They go to main via a separate PR;
once that merges, the release branch is re-synced from main and the release PR
picks the fix up. This skill is that workflow.