Create Pull Request

VerifiedSafe

Creates a new pull request from the current branch. Use when the user wants to open a PR, submit code for review, create a draft PR, or push changes for merge. Supports specifying title, description, source and target branches, and draft status.

Sby Skills Guide Bot
DevelopmentBeginner
6/2/2026
Claude Code
#pull-request#github#git#code-review

Recommended for

Automated summary

Creates a pull request from the current branch with title, description, and options (draft, target branch).

Strengths

  • Automates PR creation with custom titles and descriptions
  • Supports draft PRs for work-in-progress
  • Accepts both GitHub CLI and Azure CLI style flags
  • Handles specific source and target branches

Limitations

  • Requires the 'aide' tool to be installed and configured
  • Does not commit or push changes before creating the PR
  • Specific integrations (GitHub, Azure) depend on configuration
When to use it

Use this skill when you have finished changes and want to open a pull request to submit them for review.

When not to use it

Do not use it if you need to first commit and push your changes, or if you are using a different PR tool not supported by 'aide'.

Security analysis

Safe
Quality score90/100

The skill only instructs to run 'aide pr create' with user-provided title and flags. It uses Bash(aide:*) which restricts to aide commands, so no arbitrary shell execution. No destructive or data exfiltration commands are present.

No concerns found

How this analysis is made

Examples

Basic PR creation
Create a pull request with title 'Add user authentication'
PR with description and target branch
Open a PR titled 'PROJ-123: Add OAuth' with description 'Implements OAuth 2.0 with PKCE flow' targeting release/v2.0
Draft PR for early feedback
Create a draft pull request from current branch with title 'WIP: Refactor auth module'

name: pr-create description: Create a new pull request. Use when the user wants to open a PR, submit code for review, create a draft PR, or push changes for merge. allowed-tools: Bash(aide:*)

Create Pull Request

Create a new pull request from the current branch.

When to Use

  • User says "create a PR" or "open a pull request"
  • User wants to submit code for review
  • User has finished changes and needs to merge
  • User wants to create a draft PR for early feedback

How to Execute

Run:

aide pr create --title "Title" [options]

Flags

Supports both GitHub CLI and Azure CLI style flags:

| Flag (gh-style) | Short | Aliases (az-style) | Description | |-----------------|-------|-------------------------------------|-------------------------------------------------| | --title | -t | - | PR title (required) | | --body | -b | --description | PR description/body | | --head | -H | --source, -s, --source-branch | Source/head branch (defaults to current branch) | | --base | -B | --target, --target-branch | Target/base branch (defaults to main) | | --draft | -d | - | Create as draft PR |

Output Includes

  1. PR ID and URL
  2. Title and description
  3. Source and target branches
  4. Status (draft or active)

Best Practices

  • Use descriptive titles that summarize the change
  • Include ticket references in title (e.g., "PROJ-123: Add feature")
  • Start as draft if work is incomplete
  • Always include a meaningful description

Common Patterns

# Basic PR creation
aide pr create --title "Add user authentication"

# With description
aide pr create --title "PROJ-123: Add OAuth" --body "Implements OAuth 2.0 with PKCE flow"

# Draft PR for early feedback
aide pr create --title "WIP: Refactor auth module" --draft

# Targeting specific branch
aide pr create --title "Hotfix: Login bug" --base release/v2.0

PR Management Workflow

  1. Prepare branch: Ensure all changes are committed and pushed
  2. Create PR: Use appropriate flags for title, description, target
  3. Draft mode: Use --draft for work-in-progress
  4. Monitor: Use pr-comments skill to track feedback
  5. Publish: Use pr-update skill with --publish when ready

Next Steps

After creating a PR:

  • Share the PR URL with reviewers
  • Use pr-comments skill to monitor feedback
  • Use pr-update skill to publish draft when ready

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/create-pull-request-mm8o51ow/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/create-pull-request-mm8o51ow' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-pull-request-mm8o51ow/download' --output '.skill-downloads/create-pull-request-mm8o51ow/SKILL.md.part' && mv '.skill-downloads/create-pull-request-mm8o51ow/SKILL.md.part' '.skill-downloads/create-pull-request-mm8o51ow/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash(aide:*)

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/create-pull-request-mm8o51ow/SKILL.md' && test -s '.skill-downloads/create-pull-request-mm8o51ow/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr-create' && cp -R '.skill-downloads/create-pull-request-mm8o51ow' '.claude/skills/pr-create'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/create-pull-request-mm8o51ow'

openskills read 'create-pull-request-mm8o51ow'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/create-pull-request-mm8o51ow/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills