pr
Installation
SKILL.md
Determine Base Branch
Resolve the target base branch before proceeding. Use the first matching rule:
- Explicit override: If
$ARGUMENTScontains--base <branch>, use that branch. - Project config: Read the project's CLAUDE.md for a
Branch Strategysection:
Apply rules:## Branch Strategy - default-base: dev - release-base: main - direct-to-release: hotfix/*- Release PR → use
release-base - Current branch matches a
direct-to-releasepattern → userelease-base - Current branch equals
default-base(e.g., you are ondev) → userelease-base - Otherwise → use
default-base
- Release PR → use
- Auto-detect (if no project config found):
a. Check for an integration branch:
git branch -r | grep -E 'origin/(dev|develop)$'
Related skills