Create Pr
Create a PR for completed work
Claude CodeGeneric
---
description: Create a PR for completed work
---
# Create PR
Submit completed work as a pull request linked to the originating issue.
## Process
1. **Check git status**:
```bash
git status
git log --oneline origin/master..HEAD
- Verify current branch (should be
issue-<number>-...) - Check for uncommitted changes
- Review commits since master
Ensure changes are committed: If there are uncommitted changes, commit them with a descriptive message.
Check for doc updates (optional): Run
/docs-checkto identify documentation that may need updates based on the changes.Push branch:
git push -u origin <branch-name>Extract issue number from branch name (e.g.,
issue-12-fix-bug→12)Create PR:
gh pr create \ --title "Fix #<number>: <description>" \ --body "Closes #<number> ## Summary <1-3 bullet points describing the changes> ## Changes <list of files/areas modified> ## Testing <how the changes were tested> "Run code review:
/code-review <pr_number>If issues found - fix and re-review:
- Fix the issues identified
- Commit and push:
git add -A && git commit -m "fix: address code review feedback" && git push - Re-run:
/code-review <pr_number> - Repeat until no issues found
Update issue labels (only after code review passes):
gh issue edit <number> --add-label "status:review" --remove-label "status:in-progress"Report to user:
- PR URL
- Code review result (passed/issues fixed)
- Issue status update confirmation
Notes
- PR title should reference the issue number with "Fix #N:" or "Closes #N:"
- The PR body should include "Closes #N" to auto-close the issue on merge
- If tests exist, ensure they pass before creating PR
- Do NOT merge until code review passes with no issues
Maintain Create Pr?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Create Pr on getagentictools](https://getagentictools.com/loops/paulbunker-create-pr?ref=badge)