Create a pull request for the current feature branch
Creates a pull request for the current feature branch using GitHub CLI.
/plugin marketplace add majesticlabs-dev/majestic-marketplace/plugin install majestic-engineer@majestic-marketplacehaikugit/Default branch: !claude -p "/majestic:config default_branch main"
Current git status: !git status
Current branch: !git branch --show-current
Pending changes: !git diff --stat
Recent commits: !git log --oneline -5
Create a pull request for the current feature branch. Follow these steps:
Analyze the current state:
Push branch if needed:
-u flag if this is the first push: git push -u origin <branch-name>Create pull request using GitHub CLI:
gh pr create --title "Clear descriptive title" --body "$(cat <<'EOF'
## Summary
• Brief bullet point of key changes
• Main features/fixes implemented
• Any breaking changes or important notes
## Test plan
- [ ] Unit tests pass (`rails test`)
- [ ] Manual testing completed
- [ ] [Add specific test scenarios for this PR]
Closes #XXX
EOF
)"
Task linking: If closes #123 or similar is provided in arguments, include Closes #123 at the end of the PR body. This auto-closes the issue when merged. Omit if no task reference provided.
$ARGUMENTS for additional context or PR title/description/create-pr Fix R2 storage issue - customizes PR title/create-pr closes #42 - adds "Closes #42" to PR body/create-prCreate a new branch, commit changes, and submit a pull request with automatic commit splitting