| name | pr-sync |
| description | Raise a new PR for the current branch, or fix an existing PR's title and description |
Given the current branch, create or fix a PR.
First, check if the branch exists in origin and its up-to-date. Otherwise ask me to push.
If the PR does not exist, suggest raising a new one by drafting its title and description analyzing the branch.
If it does, analyze if its title or description can be improved/fixed.
Use conventional commits style and /stop-slop.
After raising or updating the PR, check #team-connectors for an existing message linking to the PR URL. If none exists, draft a short announcement for me to post:
- Single PR: "Hey, I raised this PR to fix . PTAL, thanks: "
- Multiple PRs: "Hey, I raised these PRs to fix . PTAL, thanks:" followed by a bullet list of the PR URLs.
Apply /stop-slop. Show the draft and ask which channel to post to. Never post without my explicit approval.