skills/smithery.ai/pull-request

pull-request

SKILL.md

Create GitHub Pull Request

Create a draft pull request using gh CLI, following the project's pull_request_template.md format.

Process

  1. Run these commands in parallel to understand the current state:

    • git status to see all changes (never use -uall flag)
    • git branch --show-current to get current branch name
    • git log origin/main..HEAD --oneline to see commits that will be in the PR
    • git diff origin/main...HEAD --stat to see changed files summary
  2. Read the PR template from .github/pull_request_template.md

  3. Check if the current branch tracks a remote:

    • If not, push with -u flag: git push -u origin <branch-name>
Installs
6
First Seen
Mar 19, 2026