pull-request

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Pull Request Skill

Create a GitHub pull request from the current branch. See REFERENCE.md for branch naming, title format, and examples.

Context

  • Current branch: !git branch --show-current
  • Default branch: main
  • Commits ahead of base: !git log --oneline origin/main..HEAD
  • Full diff from base: !git diff origin/main...HEAD
  • Push status: !git status -sb

Steps

  1. Verify branch — confirm you are not on the default branch; if so, warn the user and stop
  2. Push branch — if unpushed, run git push -u origin <branch>
  3. Detect linked issue — run node scripts/detect-issue.js; if it outputs a number use that, if the branch has no number ask the user whether there is a linked issue
  4. Analyze commits — review all commits ahead of base to understand the full scope of changes
  5. Draft PR title — follow the format in REFERENCE.md; keep it under 70 characters
Related skills
Installs
12
First Seen
Apr 11, 2026