원클릭으로
pr-description
// Create and update GitHub pull request descriptions using the project PR template. Use when the user asks to create a PR, write a PR description, update a PR description, or manage pull requests.
// Create and update GitHub pull request descriptions using the project PR template. Use when the user asks to create a PR, write a PR description, update a PR description, or manage pull requests.
Bump YugabyteDB latest_stable in yb-versions.json, coordinate Jenkins migtest cluster upgrades, fix version-gated issue/integration tests, and open a PR only after all GitHub Actions pass. Use when updating latest stable YB version, yb-versions.json, Jenkins YB cluster, or Voyager supported YB versions.
Generate yb-voyager release notes from a commit range, formatted like the YugabyteDB Voyager release-notes docs page. Use when the user asks to draft release notes, summarize a release, or write what's-new entries for a voyager version.
Review all code changes on the current branch compared to main, applying hierarchical BUGBOT.md and .cursor/BUGBOT.md guidelines from each changed file's directory up to the repo root. Use when the user asks to review a branch, review changes, compare against main, do a code review, or check branch diff.
Interactive git rebase workflow with conflict-by-conflict review. Use when the user asks to rebase a branch, rebase onto main, resolve rebase conflicts, or update a branch with upstream changes.
Post a single non-blocking GitHub PR review with inline line-anchored comments generated by the agent. Every comment is prefixed with `[cursor]` so reviewers can tell they are AI-generated. Only Critical and Warning findings are posted; Suggestions / Nice-to-haves / Good-to-haves are never sent. Use when the user asks to "post the review on GitHub", "post these comments on the PR", "post the findings as PR comments", or otherwise wants an in-chat code review persisted on a GitHub pull request. Typically runs as a follow-up to the `branch-review` skill but does not require it.
| name | pr-description |
| description | Create and update GitHub pull request descriptions using the project PR template. Use when the user asks to create a PR, write a PR description, update a PR description, or manage pull requests. |
This skill creates and updates GitHub PR descriptions for the yb-voyager project. Descriptions summarize the entire PR diff as a whole — not individual commits.
Use the project's PR template file at .github/PULL_REQUEST_TEMPLATE as the base
structure for every PR description. Read that file each time to get the latest
section headings and reference tables — if the template is updated in the future,
your descriptions will automatically stay in sync.
When populating the template, follow these instructions for each section:
Describe the changes in this pull request — Write a concise summary of what the PR does and why (3-8 sentences). Focus on the overall intent, the problem being solved, the approach taken, and key design decisions. Do NOT give a commit-by-commit breakdown.
Describe if there are any user-facing changes — Answer the questions listed in the template's HTML comments (command line, configuration, installation, reports). If none apply, write "No user-facing changes."
How was this pull request tested? — Be specific: mention whether existing tests cover the changes, any new unit tests added, manual testing done, and whether integration tests are needed. Cite actual test names or commands where possible.
Does your PR have changes in callhome/yugabyted payloads? — Answer Yes/No. If yes, confirm the payload version was incremented.
Does your PR have changes to on-disk structures that can cause upgrade issues? — Answer Yes/No. If yes, list which on-disk structures are affected, using the reference table at the bottom of the template.
When the user asks to create a PR:
Gather context — run these commands in parallel:
git status to check for uncommitted changesgit log main..HEAD --oneline to see all commits on the branchgit diff main...HEAD --stat to get a summary of changed filesgit diff main...HEAD to get the full diffAnalyze the full diff holistically — understand the overall purpose of the changes as a unified body of work, not as individual commits.
Draft the PR description using the template above. Fill in each section based on the diff analysis.
Draft a concise PR title — a short imperative sentence summarizing the change (e.g., "Add retry logic for failed CDC events").
Present the title and description to the user for review before creating.
Create the PR using gh pr create:
git push -u origin HEAD
gh pr create --title "the title" --body "$(cat <<'EOF'
<filled template>
EOF
)"
Return the PR URL to the user.
When the user asks to update an existing PR description:
Get the current PR — determine which PR to update:
gh pr view --json number,title,body,url on the current branch.Get the current description and show it to the user.
Gather the full PR diff (branch vs base, i.e. the entire PR — not just changes since the last description update):
gh pr diff to get the complete diff of the PRgh pr view --json commits to see all commits on the branchAnalyze the full PR diff holistically and draft an updated description using the template. The description must reflect the totality of changes in the PR, as if writing it from scratch.
Show the user exactly what will change — present the proposed new description clearly, highlighting what's different from the current one. Use a format like:
Here's the updated PR description I'd like to apply:
(show full new description)
Key changes from the current description:
- (bullet list of what changed and why)
Would you like me to apply this update?
Wait for explicit user approval before making any changes. Do NOT update the PR description without the user confirming.
Apply the update only after approval:
gh pr edit <number> --body "$(cat <<'EOF'
<filled template>
EOF
)"
Confirm the update was applied and show the PR URL.