ah-create-pr

Installation
SKILL.md

Create or Update GitHub Pull Request

Analyze the current branch and create or update a well-structured GitHub Pull Request. If an open PR already exists for the current branch, it is updated instead of creating a duplicate. The diff against the base branch is the single source of truth for all PR content.

Input

  • Base branch (REQUIRED): The target branch this PR will merge into (e.g., main, develop). If the user did not provide it, STOP and ask before proceeding. Never assume or default to any branch.
  • Issue number (optional): The GitHub issue number this PR addresses (e.g., 42, #42). If not provided by the user, do not attempt to infer it from the branch name -- simply omit issue references from the PR.
  • Labels (optional): Comma-separated list of labels to apply to the PR (e.g., bug,urgent, feature,frontend). If not provided by the user, auto-detect labels in step 2.
  • Current Git branch with unmerged commits
  • Git diff against the base branch

Procedure

0. Preparation

Verify GitHub CLI authentication and check for uncommitted changes before proceeding.

Related skills

More from arinhubcom/arinhub

Installs
9
First Seen
Mar 11, 2026