Create GitHub Pull Request
Creates GitHub pull requests with structured descriptions from issue and plan files.
/plugin marketplace add iamladi/cautious-computing-machine--github-plugin/plugin install github@cautious-computing-machineBased on the Instructions below, take the Variables follow the Run section to create a pull request. Then follow the Report section to report the results of your work.
issue: $1 plan_file: $2
Generate a pull request title in the format: <issue_type>: #<issue_number> - <issue_title>
gh issue view <issue_number> --json number,title,body to fetch issue detailsfeat: #123 - Add user authenticationbug: #456 - Fix login validation errorchore: #789 - Update dependenciesThe PR body should communicate the why and what, not duplicate information already visible in the PR interface. Include these sections in this order:
Explain the "why" - business reason, goals, and impact of the change.
Highlight what reviewers should pay attention to. This is where you add genuine value beyond code review.
Include:
auth.ts for the core logic, then utils.ts for the helper functions"/api/auth/verify requires email parameter; old /api/auth/check is deprecated"Do NOT include:
Example Review Focus:
## Review Focus
**Files to review (in order):**
1. `src/auth.ts` - Core verification logic
2. `src/email.ts` - Email delivery and retry logic
3. `tests/auth.test.ts` - Edge cases for expired/invalid tokens
**Key decisions:**
- Used async/await pattern for clarity (vs Promise chains)
- Implemented retry logic for transient email failures
- Added grace period for token expiration (5 minutes) for slow networks
**Edge cases to verify:**
- Expired tokens during verification flow
- Admin users who can skip verification
- Race conditions if user attempts multiple verifications
Closes #<issue_number> (automatic PR-to-issue linking)plans/filename.md for full implementation design"Example:
## Plan & Design
See [`plans/add-oauth2-auth.md`](../plans/add-oauth2-auth.md) for full implementation design and validation criteria.
Related research:
- [`research/auth-flow.md`](../research/auth-flow.md)
Include ONLY if there are testing scenarios beyond what CI automation covers.
Include:
Do NOT include:
Example Testing Notes:
## Testing Notes
Manual verification needed for:
- Email delivery in staging (check SMTP logs for 2-3 test emails)
- Token expiration flow in multi-tab scenario (open two browser windows, expire token in first window, verify second window detects it)
- Admin user verification bypass (create admin test account, verify skip-verification flag works)
These belong elsewhere and waste reviewer time:
❌ Separate "Commits" section: Commit history is already visible in the PR's "Commits" tab. Summarize changes instead.
❌ Test coverage documentation: CI/CD pipeline results are visible in PR checks. Trust the automation.
❌ Implementation details that belong in code: Line-by-line code explanations, algorithm pseudocode, or logic flows.
❌ Unverified assumptions about context: Assume reviewers need context provided.
❌ Filler or boilerplate: Empty sections or placeholder text.
Keep PR descriptions concise—they should be shorter than the actual code changes, not longer. If your description is longer than the code, it likely contains information that belongs elsewhere (comments, docs, design docs).
gh issue view <issue_number> --json number,title,body,labelstype, research fields<type>: #<issue_number> - <issue_title>
Closes #<issue_number> + plan linkgit log origin/main..HEAD --oneline to understand the commits being includedgit push -u origin <branch_name> to push the branchgh pr create --title "<pr_title>" --body "<pr_body>" --base main to create the PRReturn ONLY the PR URL that was created (no other text)
/create-prCreate a new branch, commit changes, and submit a pull request with automatic commit splitting