create-pr

Automate GitHub pull request creation, CI checks, and Copilot review monitoring.

40|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/alvarosanchez/ocp --skill create-pr-alvarosanchez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/alvarosanchez/ocp/tree/main/.agents/skills/create-pr
Command: npx skills add https://github.com/alvarosanchez/ocp --skill create-pr-alvarosanchez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of creating, updating, and managing pull requests on GitHub, reducing manual effort and ensuring consistent workflows.

Core Features & Use Cases

  • Automated PR Creation: Generate pull requests from current branches, including drafting descriptions and linking issues.
  • Worktree Inspection and Commit Handling: Detect uncommitted changes, commit them as needed, and prepare for PR submission.
  • CI and Review Automation: Wait for continuous integration checks to pass, trigger and monitor Copilot review comments, and handle feedback until the PR is fully validated.
  • Use Case: Developers can use this Skill to automate the full cycle of code review, from pushing updates to waiting for CI and Copilot feedback, ensuring code readiness before merging.

Quick Start

Run the create-pr skill script to push local changes, create a pull request, and monitor CI and Copilot status until approval.

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 and CI monitoring?

Automating GitHub pull request creation involves generating PRs from current branches, pushing commits, and monitoring CI checks until validation passes. This Skill handles the full workflow including branch inspection, commit handling, and Copilot review feedback integration.

What's the best way to automate code review cycles with GitHub CLI?

Automating code review cycles with GitHub CLI requires triggering Copilot review comments and handling feedback until the PR is fully validated. This process uses GitHub CLI and GraphQL API access for prompt management and review threading throughout the collaborative development workflow.

Do I need GitHub CLI and Python to automate pull request workflows?

Yes, automating pull request workflows requires GitHub CLI (gh) and Python3 as dependencies. These tools enable branch inspection, commit handling, push operations, and CI check monitoring needed for consistent PR procedures in collaborative development teams.

Can I integrate AI review feedback into my GitHub PR automation?

Yes, AI review feedback integration is supported through Copilot review comments. The automation triggers Copilot reviews, monitors the feedback, and handles responses until the pull request is fully validated and ready for merging.

How does automated PR handling work with uncommitted local changes?

Automated PR handling detects uncommitted changes through worktree inspection, commits them as needed, and prepares the branch for PR submission. This ensures local modifications are properly committed and pushed before creating the pull request on GitHub.

Why use automated branch inspection for pull request preparation?

Automated branch inspection ensures uncommitted changes are detected and committed before PR creation, maintaining consistent workflows across collaborative development teams. This process reduces manual effort by handling commit, push, and review monitoring operations systematically.