Creates GitHub Pull Requests with existing PR detection, branch pushing, and intelligent title/body generation. Use when user requests to create pull request, open PR, update PR, push for review, ready for review, send for review, get this reviewed, make a PR, share code, request review, create draft PR, submit for review, run /create-pr command, or mentions "PR", "pull request", "merge request", "code review", "GitHub PR", or "draft".
View on GitHubjoaquimscosta/arkhe-claude-plugins
git
January 23, 2026
Select agents to install to:
npx add-skill https://github.com/joaquimscosta/arkhe-claude-plugins/blob/main/plugins/git/skills/creating-pr/SKILL.md -a claude-code --skill creating-prInstallation paths:
.claude/skills/creating-pr/# โ ๏ธ CRITICAL CONSTRAINTS ## No Claude Code Footer Policy **YOU MUST NEVER add Claude Code attribution to pull requests.** - โ **NO** "๐ค Generated with [Claude Code]" in PR titles or descriptions - โ **NO** "Co-Authored-By: Claude <noreply@anthropic.com>" in PR content - โ **NO** Claude Code attribution, footer, or branding of any kind Pull requests are public code review documents and must remain clean and professional. --- # GitHub PR Creation Workflow Execute GitHub Pull Request workflows with automatic repository detection, branch management, and intelligent PR content generation. ## Usage This skill is invoked when: - User runs `/create-pr` or `/git:create-pr` command - User requests to create a pull request - User asks to open a PR or push changes for review ## How It Works This skill handles the complete PR workflow: 1. **Repository Detection** - Detect current repository context (root or submodule) 2. **Branch Validation** - Verify not on protected branch, check for uncommitted changes 3. **Branch Pushing** - Ensure branch exists on remote 4. **Existing PR Detection** - Check if PR already exists for current branch 5. **PR Content Generation** - Create title and description from commits 6. **PR Creation** - Create or update PR using GitHub CLI ## Supported Arguments Parse arguments from user input: - **No arguments**: Auto-detect repository and create PR to main branch - **`<scope>`**: Direct PR for specific repository (root, submodule-name) - **`--draft`**: Create as draft PR - **`--base <branch>`**: Target branch (default: main) - **Combinations**: `<scope> --draft`, `root --base staging`, etc. ## Prerequisites **GitHub CLI Required**: Must have `gh` installed and authenticated ```bash # Install GitHub CLI (if not installed) # macOS: brew install gh # Linux: See https://cli.github.com/ # Authenticate gh auth login ``` ## PR Creation Workflow Steps ### Step 1: Parse Arguments Extract scope, draft flag, and base branch from user input: