open-pr
Installation
SKILL.md
Open a Pull Request
A reviewer should find nothing the project's own checks could have caught. Run those checks first, then open the PR.
1. Check the branch and the commits
Read the base branch from the project's branch model, from
gh repo view --json defaultBranchRef, or offline from
git symbolic-ref refs/remotes/origin/HEAD. Then:
python3 .github/scripts/pr_hygiene.py branch "$(git rev-parse --abbrev-ref HEAD)"
for c in $(git rev-list origin/<base>..HEAD); do git log -1 --format=%B $c > /tmp/msg.txt; python3 .github/scripts/pr_hygiene.py commit-msg /tmp/msg.txt || echo "commit $c"; done