github-pr

Create or update GitHub pull requests with structured summaries from git history.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/shellicar/claude-config --skill github-pr-shellicar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr
Source: https://github.com/shellicar/claude-config/tree/main/skills/github-pr
Command: npx skills add https://github.com/shellicar/claude-config --skill github-pr-shellicar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill streamlines creating or updating GitHub pull requests with concise, structured summaries.

Core Features & Use Cases

  • Generate PR content: titles, descriptions, and change summaries based on git history.
  • Detect project conventions and format PR content to fit GitHub or Azure DevOps workflows.
  • Create or update PRs via gh and az commands, or provide structured description for reviewers with minimal manual input.
  • Use Case: When you finish a feature branch, run the skill to open a PR with a summarized changeset and suggested title.

Quick Start

Detect the convention for the repository: run ~/.claude/skills/github-pr/scripts/detect-convention.sh. Generate summary for the current branch: run ~/.claude/skills/github-pr/scripts/git-summary.sh. Create or update PR with title/body using the convention-specific tool, e.g., gh pr create --title "Your title" --body "Your body" or az repos pr create --title "Your title" --description "Your body". The command adapts per convention.

Frequently Asked Questions about github-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate a GitHub pull request summary from my feature branch?

You can automatically generate a GitHub pull request summary by running a helper script that parses local git history to produce concise titles, descriptions, and change summaries for your feature branch. The skill uses repository conventions to format the output.

Does this PR automation tool work with Azure DevOps workflows?

Yes, the PR automation tool works with Azure DevOps workflows. It detects project conventions and adapts the pull request creation or update process to use platform-specific CLI tools like az repos pr create for Azure DevOps and gh pr create for GitHub.

How do I update an existing pull request during code review?

To update an existing pull request during review, the skill analyzes your local git state and repository remote configuration to compute the base branch, then generates updated structured summaries and invokes platform CLI tools to modify the PR content.

What's the best way to format pull request content to match repository conventions?

The best way to format pull request content to match repository conventions is to run a convention detection script that identifies project standards. The skill then uses these detected conventions to generate compliant PR titles and descriptions across GitHub or Azure DevOps.

What do I need installed to create pull requests via command line scripts?

You need local git installed with a configured repository remote, plus platform CLI tools like gh for GitHub or az for Azure DevOps. The skill relies on these dependencies to detect conventions, compute ancestor branches, and invoke platform commands for PR creation.

Why does my pull request creation script fail to detect the correct base branch?

Pull request creation scripts may fail to detect the correct base branch if the local git state lacks proper remote tracking configuration or convention markers. The skill relies on repository remote configuration and helper scripts to compute accurate base and ancestor branches.