pr

Create GitHub Pull Requests from the current branch using gh pr create.

1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/SeoJaeWan/try-claude-code --skill pr-seojaewan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/SeoJaeWan/try-claude-code/tree/main/plugin/develop/skills/pr
Command: npx skills add https://github.com/SeoJaeWan/try-claude-code --skill pr-seojaewan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the process of creating GitHub Pull Requests by coordinating branch state, PR templates, and reviewer prompts to reduce manual steps and errors.

Core Features & Use Cases

  • Automated PR creation from the current branch using gh pr create with a structured Summary + Test plan.
  • Respect existing PR templates (.github/pull_request_template.md) and prompt for title/body when necessary.
  • Support optional reviewer assignment and robust error handling for common issues such as main branch and missing remote.

Quick Start

Run gh pr create following the base workflow and confirm the title and body when prompted.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I create a GitHub Pull Request from the command line?

This PR automation uses `gh pr create` to validate your current branch, check for a remote, and prompt you to confirm the title and body before submission.

Does PR creation work if I am currently on the main branch?

No, PR creation validates the branch state and applies robust error handling to prevent standard PR workflows from being initiated directly from the main branch.

How do I use a pull request template when automating PR creation?

The workflow honors existing PR templates like `.github/pull_request_template.md` and prompts you to provide a title and body when necessary during PR creation.

Can I assign reviewers when automating a GitHub pull request?

Yes, the workflow supports optional reviewer assignment alongside structured Summary and Test plan sections when creating your GitHub pull request.

What happens if my current branch has no remote configured?

The workflow checks for a remote during branch validation and applies robust error handling to alert you if the current branch lacks a remote before attempting PR creation.