new-pr

Automate pull request creation from local changes with branch detection and metadata generation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jjeremycai/claudekit --skill new-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-pr
Source: https://github.com/jjeremycai/claudekit/tree/main/skills/new-pr
Command: npx skills add https://github.com/jjeremycai/claudekit --skill new-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the creation of pull requests from your local changes, handling branch detection, commits, and PR submission to streamline code review workflows.

Core Features & Use Cases

  • Detect active branches and propose a suitable target (e.g., main/develop) or prompt for input.
  • Generate PR metadata (title and body) from concise commit summaries and change notes.
  • Support draft PRs and automatic push in safe scenarios to accelerate feature development and review cycles.

Quick Start

Create a PR from your current working changes by invoking the skill. It will detect the active branch, prepare a title and description, and submit the PR to the configured remote repository.

Frequently Asked Questions about new-pr

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

FAQPage Schema
How do I automate pull request creation from local changes?

Automating pull request creation from local changes involves detecting the active feature branch, generating PR metadata from commit summaries, and submitting the PR to the remote repository. This streamlines code review workflows by automating branch detection and submission.

How do I generate PR titles and bodies from git commit summaries?

Generating PR titles and bodies from commit summaries uses automated metadata generation to extract concise change notes. This process evaluates local commits and change validations to populate the pull request description automatically for the review cycle.

Can I create a draft PR automatically from a feature branch?

Yes, you can create a draft PR automatically from a feature branch. The workflow supports draft pull requests and performs automatic pushes in safe scenarios to accelerate feature development and code review cycles.

How does branch detection work when submitting a pull request?

Branch detection for pull requests works by identifying the active working branch and proposing a suitable target branch such as main or develop. If the target is ambiguous, it prompts for input to ensure correct code routing.

Does automated PR submission validate changes before pushing to the remote repository?

Yes, automated PR submission validates changes before pushing to the remote repository. This validation step ensures local changes meet workflow requirements before generating PR metadata and submitting the pull request for review.