Skip to content
Development
Command

/pr

Create a pull request from the current branch.

From plugin
claude-code-skill-factory
86320 skills5 agents20 commands

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/pr

Context preview

What this command does when you run it.

Create a pull request from the current branch.

Command definition

pr.md
description: Create a pull request from the current branch.
argument-hint: [target-branch]

Variables

TARGET_BRANCH: $1 (defaults to `main`) SOURCE_BRANCH: current branch (`git branch --show-current`)

Workflow

1. Ensure `/review` and `/security-scan` have passed locally. 2. Confirm `ci-commit-branch-guard` and `ci-quality-gate` workflows succeeded for `SOURCE_BRANCH`. 3. Create the PR using GitHub CLI:

   gh pr create \
     --base "$TARGET_BRANCH" \
     --head "$SOURCE_BRANCH" \
     --title "<Conventional PR title>" \
     --body-file .github/pull_request_template.md

If no template exists, provide a summary referencing Context, Testing, and Security results. 4. Add labels (`gh pr edit --add-label "status: in-review"`). 5. Share the PR link with reviewers and ensure at least one human approval is obtained.

Ships withclaude-code-skill-factory

A comprehensive toolkit for generating production-ready Claude Skills and Claude Code Agents at scale.

Get the whole plugin
Stats
866
Stars
176
Forks
Quiet
Maintenance
Python
Language
MIT
License
10mo ago
Last commit
10mo ago
Created

Repo: alirezarezvani/claude-code-skill-factory

Other commands on claude-code-skill-factory.