Loading...
Loading...
Creates or updates GitHub PRs with house-style titles and bodies, issue linking, repository templates, and draft state. Use when asked to "create a PR", "rewrite the PR description", or "polish this PR". For code fixes use tidy; for CI and review threads use pr-babysitter; for npm releases use autoship.
npx skill4agent add mblode/agent-skills pr-creatortidypr-reviewerpr-babysitterautoship| File | Read When |
|---|---|
| Commits contain fixup, WIP, or "address review" noise, the diff exceeds 500 lines, or the user asks to polish, restructure, squash, or split the PR |
PR creation progress:
- [ ] Inspect the current branch and diff against the existing PR base, or the discovered default branch merge-base
- [ ] Existing PR? gh pr view --json url,state,isDraft (state OPEN means edit, not create)
- [ ] Linear ID from branch, commits, prompt, or issue link; no ID means no prefix
- [ ] Noisy commits or a >500-line diff? references/pr-polish.md, before pushing
- [ ] PR template present? Read it (paths under Templates)
- [ ] Draft title and body against Rules and Anti-patterns
- [ ] git push -u origin HEAD
- [ ] gh pr create (or gh pr edit); then gh pr view --json url,title and return the URLgh pr editABC-123: Add auth flowAdd auth flowsemantic-pull-request.github/workflows/feat: add auth flow (ABC-123)Risk:Test planPart of ABC-123--draftgh pr readygh pr ready --undo--reviewer alice,org/teamattributionGenerated with Claude CodeSummaryTest planTest planABC-123Title: ABC-123: Add auth flow with session management
Adds the auth flow needed for session-based login, including refresh, timeout handling, and a small error boundary for auth failures.Title: PAY-482: Dedupe Stripe webhook retries
Stripe retries webhooks on timeout and our handler wasn't idempotent, so retried events created duplicate invoices. Now we record processed event IDs and skip repeats. Tested by replaying a captured retry sequence locally.
Risk: touches the billing write path.Title: Bump eslint to 9 and fix the new no-unused-vars hits
Bumps eslint to 9. The only code change is removing three unused imports it now flags.Risk:pull_request_template.md.github/docs/PULL_REQUEST_TEMPLATE/gh pr create --body--body-file/tmp/pr-body.mdgit push -u origin HEAD # when creating a PR for local commits
gh pr create --title "ABC-123: Add auth flow" --body-file /tmp/pr-body.md
gh pr view --json url,title # evidence the PR exists; return the url--draft--reviewer--basegh pr edit# A metadata-only edit does not push local commits.
gh pr edit --title "ABC-123: Add auth flow" --body-file /tmp/pr-body.md
gh pr view --json url,title # confirm the update; return the urlgh pr createyou must first push the current branch to a remote, or use the --head flaggit push -u origin HEADgh pr create--title--body--fillmust provide --title and --body (or --fill) when not running interactively--fill<<'EOF'<<EOF$varsgh pr createmust be on a branch named differently than "main"No commits between main and <branch>gh pr createa pull request for branch ... into branch main already existsgh pr view --json stateOPENgh pr editMERGEDCLOSEDusername/abc-123-title-slugmblode/abc-123-add-authABC-123git diffmainpr-reviewertidypr-babysitterautoshipevals/evals.json