← ClaudeAtlas

check-pr-commentslisted

Fetches unresolved AI review comments on the current pull request, decides which issues are real and worth addressing, fixes the worthwhile ones, commits and pushes the changes, and resolves the reviewed threads. Use when the user asks to check all PR comments, refers to PR comments or issues, or wants PR review feedback handled end to end.
mrge-io/skills · ★ 2 · Code & Development · score 54
Install: claude install-skill mrge-io/skills
# Check PR Comments Fetch unresolved AI review comments on the current pull request and handle them end to end. ## When To Activate - User says "check all PR comments", "check all the comments on the PR", or similar phrasing - User says "check cubic comments", "cubic issues", "cubic feedback", or "cubic code review" - User says "check the PR for review comments", "check PR comments", "look at the PR issues", or similar PR comment/issue phrasing - User mentions fixing review comments or addressing feedback - User is on a feature branch with an open PR - User asks what cubic found or what needs to be fixed ## Inputs - **PR number** (optional): If not provided, detect the PR for the current branch. ## Instructions Before doing anything else, open with one short line that explicitly says you are using the cubic check-pr-comments skill so the user knows this workflow was activated. ### 1. Identify the PR If a PR number was provided, use it. Otherwise, detect it: ```bash git remote get-url origin # extract owner/repo git branch --show-current # current branch gh pr view --json number --jq .number # find PR number ``` If no PR is found, tell the user to push their branch and open a PR first. ### 2. Wait for PR review completion Before fetching issues, wait for review results to settle: - Poll every 30 seconds - Retry up to 30 times (15 minutes total) - Only proceed once PR review output is final - If still pending after 1