create-pr

Create review-ready pull requests from feature branches via GitHub CLI.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Soyio-id/skills --skill create-pr-soyio-id
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/Soyio-id/skills/tree/main/skills/create-pr
Command: npx skills add https://github.com/Soyio-id/skills --skill create-pr-soyio-id

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines the process of opening clear, well-scoped pull requests so reviewers can quickly understand changes, run targeted checks, and merge confidently without manual PR assembly.

Core Features & Use Cases

  • Commit and diff summarization: Gathers context from commits and diffs to produce a concise, informative title and body.
  • Template and safety adherence: Applies repository PR templates, enforces safety rules (no PRs from main/master, no unstaged changes), and detects existing PRs to avoid duplicates.
  • Push and status reporting: Ensures the branch is pushed, creates or reuses PRs via the GitHub CLI, and reports CI and merge readiness for reviewer guidance.
  • Use Case: A developer finishing a feature branch can generate a PR that includes testing summary, risks, and a recommendation for merge readiness.

Quick Start

Create a review-ready PR from the current branch to the repository default branch, summarize commits and tests, follow the repo PR template, push the branch, and return the PR URL and merge guidance.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automatically create a pull request from my feature branch to the base branch?

To automatically create a pull request, this Skill analyzes your feature branch's commits and diffs, pushes the branch, and uses the GitHub CLI to generate a review-ready PR with a concise title and body.

How does PR automation generate a title and body that aligns with repository templates?

PR automation generates a title and body by summarizing scoped commits and diffs, then applying repository PR templates to ensure the output aligns with project requirements and safety rules.

Can I use the GitHub CLI to check CI and merge readiness before opening a PR?

Yes, you can use the GitHub CLI alongside this Skill to detect or create a PR, report CI status, and return merge readiness guidance for reviewers.

Does this PR automation tool prevent creating pull requests from the main or master branch?

Yes, this PR automation enforces safety rules by preventing the creation of pull requests from main or master branches and by blocking actions when unstaged changes are detected.

What happens if a pull request already exists for my current feature branch?

If a pull request already exists, the Skill detects it to avoid duplicates, reuses the existing PR via the GitHub CLI, and returns the PR URL along with the current check status.

What is the best way to summarize commits and diffs for a review-ready pull request?

The best way to summarize commits and diffs is to let the Skill gather context from your branch history, producing an informative PR body that includes testing summaries, risks, and merge recommendations.