create-pr

Solid

Create high-quality pull requests via gh pr create. Use when the user wants to create a PR, submit a PR, open a pull request, submit for review, or push changes for review. Triggers on: create a pr, create-pr, submit a pr, open a pull request, submit for review, make a pr, gh pr create.

AI & Automation 516 stars 54 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 91/100

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

Skill Content

# PR Creator Create well-structured, reviewer-friendly pull requests following best practices. **CRITICAL: This skill MUST always result in a PR being created. Do NOT stop early, do NOT ask the user to run another command first. Handle all prerequisites (committing, branching, pushing) inline and proceed to `gh pr create`.** --- ## Workflow ### Step 1: Pre-flight Checks Run these checks before anything else: 1. **Verify GitHub CLI authentication** — run `gh api user --jq '.login'` to confirm the CLI is authenticated. If this fails, tell the user to run `gh auth login` first and stop. 2. **Determine the base branch** — default to `main`. If the user specifies a different base, use that. Capture as `$BASE_BRANCH`. ### Step 2: Commit Uncommitted Changes Run `git status` to check for uncommitted changes. If there are uncommitted changes, commit them **directly** — do NOT delegate to another skill or tell the user to commit first. 1. **Stage changes** — run `git add <files>` for relevant modified/untracked files. Do not stage `.env` or gitignored files. 2. **Lint and format** — if Python files are staged, run: ```bash ruff check --fix <files> && ruff format <files> ``` Re-stage any modified files. 3. **Commit** — write a conventional commit message based on the staged diff: ```bash git commit -m "<type>: <description>" ``` If precommit hooks modify files, re-stage with `git add -u` and retry (up to 3 times). ### Step 3: Ensure Feature Branch 1. ...

Details

Author
ReflexioAI
Repository
ReflexioAI/claude-smart
Created
1 months ago
Last Updated
yesterday
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

create-pr

This skill should be used when user asks to "create a PR", "make a pull request", "open PR for this branch", "submit changes as PR", "push and create PR", or explicitly invokes "create-pr".

711 Updated 2 days ago
fcakyon
Code & Development Listed

pr-create

Create a pull request. MUST be invoked for ANY request that creates a PR — including 'create a PR', 'open a PR', 'gh pr create', 'submit for review', or any equivalent phrasing. Do NOT call `gh pr create` directly; always run this skill instead.

0 Updated 3 days ago
YoniChechik
Code & Development Listed

github-pr

Creates GitHub pull requests for the authenticated user using the gh CLI. Use this skill whenever the user wants to open a PR, submit their work for review, push a branch and create a pull request, or says anything like "make a PR", "open a pull request", "create a PR", "submit for review", "push this up and PR it", or "ready to merge". Also trigger when the user has finished a feature or fix and mentions reviewing, merging, or sharing their changes — even if they don't say "pull request" explicitly. This skill handles branch detection, base branch selection, and title/description generation from git history. Creates regular PRs by default; only creates draft PRs when the user explicitly requests it.

0 Updated 2 days ago
jzills
AI & Automation Listed

create-pr

Pull request workflow for coding agents—branch selection, GitHub CLI (gh pr create), tests before PR, confirmation flow, conventional titles, reviewer-first bodies. Use when opening a PR, drafting a GitHub description, or when the user asks in natural language what used to be the create-pr command (e.g. skip checks, yes without prompt, branch A to B).

0 Updated 2 days ago
D3OXY
Code & Development Solid

pr-create

Creates a pull request from current changes, monitors GitHub CI, and debugs any failures until CI passes. Activate 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.

380 Updated yesterday
posit-dev