create-pr

Create or update GitHub Pull Requests via the REST API.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/ConductionNL/decidesk --skill create-pr-conductionnl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/ConductionNL/decidesk/tree/main/.claude/skills/create-pr
Command: npx skills add https://github.com/ConductionNL/decidesk --skill create-pr-conductionnl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create and manage GitHub Pull Requests programmatically by validating the repository context, selecting a safe target branch, and drafting PR metadata, while optionally performing local checks and handling updates to existing PRs.

Core Features & Use Cases

  • Validate repository, determine feature branch, and compute a compliant target (e.g., feature→develop, develop→beta, etc.).
  • Run optional local checks to simulate CI before PR creation and to generate a robust PR description with diffs, tests, and tracking references.
  • Create a new PR or update an existing one via the GitHub REST API, including tailored bodies and titles, and support pushing commits or updating PR metadata.

Quick Start

Run /create-pr on a feature branch to open or update a PR.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate GitHub Pull Request creation from a feature branch?

To automate pull request creation, the Skill validates the repository context, computes a compatible target branch, and drafts PR metadata for REST API submission. It pushes commits and creates the PR via the GitHub REST API, returning the PR number and URL.

Can I update an existing GitHub PR programmatically without creating duplicates?

You can update an existing GitHub PR by patching it via the GitHub REST API. The Skill identifies if a PR already exists for the feature branch and patches its title and body, preventing duplicate pull requests.

How do I ensure my local checks pass before opening a PR?

To ensure local checks pass before opening a PR, the Skill runs optional local checks to simulate CI. It validates the repository context and generates a robust PR description with diffs and tests before submitting to the GitHub REST API.

How does target branch computation work for pull requests?

Target branch computation for pull requests works by validating the repository context and mapping the feature branch to a compliant target. It automatically calculates safe targets like routing feature branches to develop and develop to beta.

Do I need to manually push my branch before creating a PR?

You do not need to manually push your branch before creating a PR. The Skill supports pushing branches directly to the remote repository as part of its end-to-end automation before drafting PR metadata for REST API submission.