suggest-pr
Installation
SKILL.md
Suggest PR
Git Command Safety
NEVER use cd <path> && git compound commands — they trigger security approval prompts. Run git commands directly (the working directory is already the target repo), or use git -C <path> if you need to target a different directory.
Execution Steps
Step 1: Determine the Base Branch
Run the following to identify the base branch:
git remote show origin | grep "HEAD branch" | sed 's/.*: //'
If this fails, fall back to main or master (whichever exists).
Store the result as BASE_BRANCH.