pr

Installation
SKILL.md

Determine Base Branch

Resolve the target base branch before proceeding. Use the first matching rule:

  1. Explicit override: If $ARGUMENTS contains --base <branch>, use that branch.
  2. Project config: Read the project's CLAUDE.md for a Branch Strategy section:
    ## Branch Strategy
    - default-base: dev
    - release-base: main
    - direct-to-release: hotfix/*
    
    Apply rules:
    • Release PR → use release-base
    • Current branch matches a direct-to-release pattern → use release-base
    • Current branch equals default-base (e.g., you are on dev) → use release-base
    • Otherwise → use default-base
  3. Auto-detect (if no project config found): a. Check for an integration branch: git branch -r | grep -E 'origin/(dev|develop)$'
Related skills
Installs
17
GitHub Stars
6
First Seen
Feb 22, 2026