create-ol-pull-request

Installation
SKILL.md

Create a Pull Request (/olpr)

Guides creating a PR in a repo with a github.com/mitodl/ remote (check git remote -v) using the org's standard pull request template.

Step 1 — Inspect the branch and diff

Before prompting the user, gather context automatically. The base is the repo's default branch unless the user names a different target; use the same <base> everywhere below, since origin/HEAD is wrong for a PR against a release branch.

git --no-pager branch --show-current
gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'
git fetch origin <base>
git --no-pager log --oneline origin/<base>..HEAD
git --no-pager diff --shortstat origin/<base>...HEAD
Installs
16
GitHub Stars
5
First Seen
May 28, 2026