- Verify
gh auth status. If unauthenticated, ask user to rungh auth login. - Resolve the target PR. Default to the current branch PR, or pass an explicit PR number/URL with
python "$SKILL_DIR/scripts/fetch_comments.py" --repo "." --pr "$ARGUMENTS". - If
rtkis available, preferrtk gh ...,rtk read, andrtk grepfor human-facing exploration. Do not wrap script-friendly JSON or GraphQL payloads with RTK compression. - Run
python "$SKILL_DIR/scripts/fetch_comments.py" --repo "." [--pr "$ARGUMENTS"]to get an actionable summary. Use--jsononly when another tool needs structured output. - Present the numbered actionable items, grouped by review thread or review body, then ask which items to address if the user did not specify them.
- Apply fixes for the selected comments and summarize which review items were addressed.
- If authentication fails mid-run, ask the user to re-authenticate and retry.
