file-pr

Installation
SKILL.md

Opening a Pull Request

Commands

Gather context before writing anything:

git status
git fetch origin
git log --oneline origin/HEAD..HEAD
git diff origin/HEAD...HEAD --stat
git diff origin/HEAD...HEAD
gh pr list --head "$(git branch --show-current)" --state open --json number,url,title
ls .github/pull_request_template.md .github/PULL_REQUEST_TEMPLATE.md .github/PULL_REQUEST_TEMPLATE/ docs/pull_request_template.md pull_request_template.md 2>/dev/null

Run these as one batch. Note origin/HEAD...HEAD — three dots. Two dots compares against the current tip of the default branch and misdescribes the PR.

The gh pr list result decides which path you are on. An open PR means updating the existing one — gh pr create fails outright on a branch that already has a PR.

Installs
5
GitHub Stars
6
First Seen
Aug 13, 2026
file-pr — rolemodel/rolemodel-skills