smithery/ahupp

submit-pr

Create and submit a GitHub pull request from a fork to the upstream source repo. Use when asked to open or submit a PR for the current branch or recent changes.

Installation

$ npx skills add smithery/ahupp --skill submit-pr

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/ahupp.

npx skills add smithery/ahupp

Browse all from smithery/ahupp

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,179 B
  • docs SUMMARY.md 177 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Submit PR

Overview

Open a PR from the current fork branch to the upstream repository using gh, ensuring the branch is pushed and the base branch is correct.

Workflow

  1. Confirm the working tree is clean and commits exist. If there are uncommitted changes, run the commit workflow first.
  2. Identify the upstream repo and default branch:

- gh repo view --json parent -q .parent.nameWithOwner (must be non-null for forks) - gh repo view <upstream> --json defaultBranchRef -q .defaultBranchRef.name

  1. Ensure an upstream remote exists; add if missing:

- git remote add upstream https://github.com/<upstream>.git

  1. Push the current branch to the fork:

- git push -u origin <branch>

  1. Create the PR targeting the upstream repo:

- gh pr create --repo <upstream> --base <default-branch> --head <fork-owner>:<branch> --title "<subject>" --body "<body>"

  1. Confirm the PR URL with gh pr view --repo <upstream> --json url -q .url and report it.