pr-create

Featured

Creates a pull request from current changes, monitors GitHub CI, and debugs any failures until CI passes. Use this when the user says "create pr", "make a pr", "open pull request", "submit pr", "pr for these changes", or wants to get their current work into a reviewable PR. Assumes the project uses git, is hosted on GitHub, and has GitHub Actions CI with automated checks (lint, build, tests, etc.). Does NOT merge - stops when CI passes and provides the PR link.

Code & Development 365 stars 29 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
85
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# PR Creator Skill Get changes into a PR, monitor CI, fix any failures, and notify the user when the PR is ready for review. The user may already have commits ready on a feature branch, or may have uncommitted changes, or both. Adapt the workflow to the current state. ## Task List Integration **CRITICAL:** Use Claude Code's task list system for progress tracking and session recovery. Use TaskCreate, TaskUpdate, and TaskList tools throughout execution. ### Task Hierarchy ``` [Main Task] "Create PR: [branch-name]" └── [CI Task] "CI Run #1" (status: failed, reason: lint) └── [Fix Task] "Fix: lint" └── [CI Task] "CI Run #2" (status: failed, reason: test failures) └── [Fix Task] "Fix: test failures" └── [CI Task] "CI Run #3" (status: passed) ``` **At the start, always call TaskList to check for existing PR tasks.** If a "Create PR" task exists with status in_progress, resume using the Session Recovery section below. ## Process ### Step 1: Assess Current State **Check for a `--reviewer` argument** in the user's message. If present, store the value for use in Step 5. It may be a GitHub handle (`@username`) or a name (`Jane Doe`). **Create the main PR task:** ``` TaskCreate: - subject: "Create PR: [branch-name or 'pending']" - description: "Create pull request from current changes." - activeForm: "Checking git status" TaskUpdate: - taskId: [pr task ID] - status: "in_progress" ``` Determine the base branch and current state: ```bash git status git diff -...

Details

Author
posit-dev
Repository
posit-dev/skills
Created
6 months ago
Last Updated
3 days ago
Language
R
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category