Review Follow-up Skill
Use this skill when the user says a PR review has been done and asks to process reviewer comments.
Goal
Process GitHub PR review comments end-to-end:
- •fetch review threads/comments,
- •assess validity,
- •implement fixes when appropriate,
- •push changes,
- •resolve addressed threads.
Workflow
- •Identify current branch and linked open PR.
- •After creating/updating the PR, wait 60 seconds before the first status check.
- •Poll every 60 seconds for Copilot review with this policy:
- •maximum wait window: 20 minutes,
- •stop waiting immediately when Copilot review is present,
- •do not wait the full 20 minutes if review arrives earlier.
- •Check CI status independently and ensure checks are completed/passing before merge.
- •Fetch review threads with:
- •
python3 /Users/g1lom/.codex/skills/gh-address-comments/scripts/fetch_comments.py
- •
- •Build a short numbered list of threads with:
- •issue summary,
- •validity assessment (
valid,partially valid,not needed), - •intended action.
- •Analyze Copilot comments and act according to relevance:
- •implement fixes for
valid, - •implement minimal safe adjustments for
partially valid, - •do not implement
not neededand document rationale in PR discussion.
- •implement fixes for
- •For each review thread, post a follow-up comment that states:
- •what change resolved it, or
- •why it was not implemented.
- •Apply code/test/documentation fixes for valid items.
- •Run quality gates:
- •
uv run ruff check . - •
uv run ty check src tests - •
uv run pytest -m unit - •
uv run pytest -m integration - •
uv run pytest -m end2end
- •Commit and push.
- •Resolve threads for addressed comments via GraphQL mutation
resolveReviewThread, only after the follow-up comment is posted. - •Report what was fixed, which threads were resolved, and what was intentionally not changed.
Thread resolution note
Only resolve a thread when:
- •code or docs were actually updated to address it, or
- •a clear rationale is provided in PR discussion for rejecting it.
- •and the thread contains a final follow-up comment summarizing the resolution status.