create-pr

Creates GitHub pull requests from local branches with validation, base merges, and readiness reporting.

7|5|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/nebius/nebius-ps-services --skill create-pr-nebius
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/nebius/nebius-ps-services/tree/main/skills/create-pr
Command: npx skills add https://github.com/nebius/nebius-ps-services --skill create-pr-nebius

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Turning local Git work into a clean, reviewable GitHub pull request involves many error-prone steps: staging, committing, syncing with the base branch, resolving conflicts, pushing, and avoiding duplicate PRs. This Skill automates that entire workflow with strict guardrails so branches arrive conflict-free and validated. ## Core Features & Use Cases - Branch-safe PR creation: Reuses the current non-default branch or creates a feature branch, stages work repo-wide with git add -A, and never leaves new work on the default branch. - Validation and repair gates: Runs formatting, whitespace, lint, and test checks before committing, merges origin/<base> non-destructively, and repairs safe branch-owned failures before reporting readiness. - Multi-branch and SDLC support: Creates one PR per branch with a validated merge order, and in Agentic SDLC runs publishes only the exact promoted SHA after passing UAT. - Use Case: You finished a feature on a local branch and want a PR. The Skill commits your work, merges the latest origin/main, pushes with an explicit refspec, opens or reuses the PR, waits for GitHub checks, and reports the PR URL and readiness. ## Quick Start Ask the agent to create a GitHub pull request from your current branch using the create-pr skill.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I create a GitHub pull request from my current branch?

Invoke the skill with no branch name while on a non-default branch. It stages work from the repository root with git add -A, runs lint and test gates, commits, merges origin/<base>, pushes with an explicit refspec, and opens or reuses the PR.

How do I open PRs for multiple branches at once?

Pass the branch names to the skill and it creates one PR per branch, preserving your order. It also simulates the proposed merge order on a temporary local branch to confirm the sequence is conflict-free before reporting.

Does this skill rebase or force-push branches?

No. The skill never rebases or force-pushes. It updates PR branches non-destructively by merging origin/<base> with git merge --no-edit, so shared and protected branch history is preserved.

What happens if GitHub checks are still pending after PR creation?

The skill watches or polls available GitHub checks until they reach a terminal pass, fail, skip, or cancel state. If checks remain pending due to delayed external CI, it reports the PR as pending rather than ready.

When does the skill refuse to create a pull request?

It stops on a detached HEAD, missing gh authentication, unknown branch names, empty diffs against the base, unresolved semantic conflicts, or managed worktree ownership. In active Agentic SDLC runs it also requires passing UAT and the exact promoted SHA.