Files
alirezarezvani--claude-skills/.claude/commands/git/pr.md
T
wehub-resource-sync a1fa97429b
Release / Tag + GitHub Release (push) Waiting to run
Deploy Documentation to Pages / build (push) Waiting to run
Deploy Documentation to Pages / deploy (push) Blocked by required conditions
Sync Codex Skills Symlinks / sync (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:41:47 +08:00

828 B

description, argument-hint
description argument-hint
Create a pull request from the current branch.
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-quality-gate workflow 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.