Loading...
Loading...
Create GitHub PRs with structured title and body. Use when: opening PRs, creating pull requests after pushing. Triggers: /git-pr-create, create PR, open pull request.
npx skill4agent add molechowski/claude-skills git-pr-creategh pr create## Summary
- Change description (bullets OK)
## Test plan
- [ ] Verification steps# Check current branch
git branch --show-current
# Check for existing PR
gh pr list --head $(git branch --show-current)
# Create PR
gh pr create --title "$TITLE" --body "$(cat <<'EOF'
## Summary
- Change 1
- Change 2
## Test plan
- [ ] Test item
EOF
)"# Single commit - use subject
git log origin/main..HEAD --format='%s' | head -1
# Multiple commits - summarize changes
git log origin/main..HEAD --oneline--draftgh pr create --draft --title "$TITLE" --body "$BODY"gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'--basegh pr create --base develop --title "$TITLE" --body "$BODY"