Check a PR for unresolved automated review feedback (Copilot, CodeRabbit) and invoke the appropriate resolver skills. Use when the user says "resolve PR feedback", "check PR comments", "address review comments", or wants to handle all automated review feedback on a PR.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Meta-skill that checks a PR for unresolved automated review feedback and invokes the appropriate resolver skills.
USE THIS SKILL when ANY of the following occur:
| Reviewer | Author Pattern | Resolver Skill |
|---|---|---|
| GitHub Copilot | Copilot | fx-dev:copilot-feedback-resolver |
| CodeRabbit | coderabbitai[bot] | fx-dev:rabbit-feedback-resolver |
CRITICAL: Load the fx-dev:github skill FIRST before running any GitHub API operations.
If not provided, get from current branch:
gh pr view --json number -q '.number'
IMPORTANT: Use inline values, NOT $variable syntax. The $ character causes shell escaping issues.
# Replace OWNER, REPO, PR_NUMBER with actual values
gh api graphql -f query='
query {
repository(owner: "OWNER", name: "REPO") {
pullRequest(number: PR_NUMBER) {
reviewThreads(first: 100) {
nodes {
id
isResolved
comments(first: 1) {
nodes {
author { login }
}
}
}
}
}
}
}'
Parse the response and categorize unresolved threads by author:
CopilotcoderabbitaiIf Copilot threads exist:
Skill tool: skill="fx-dev:copilot-feedback-resolver"
If CodeRabbit threads exist:
Skill tool: skill="fx-dev:rabbit-feedback-resolver"
If both exist: Invoke both skills sequentially (Copilot first, then CodeRabbit).
After invoking resolver skills, re-query to confirm all threads are resolved:
# Replace OWNER, REPO, PR_NUMBER with actual values
gh api graphql -f query='
query {
repository(owner: "OWNER", name: "REPO") {
pullRequest(number: PR_NUMBER) {
reviewThreads(first: 100) {
nodes {
isResolved
comments(first: 1) {
nodes {
author { login }
}
}
}
}
}
}
}' | jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)] | length'
If unresolved threads remain, report which reviewers still have open feedback.
## PR #123 Feedback Summary
### Detection
- Copilot: 2 unresolved threads found
- CodeRabbit: 3 unresolved threads found
### Resolution
- Invoked fx-dev:copilot-feedback-resolver
- Invoked fx-dev:rabbit-feedback-resolver
### Final Status
- All automated review threads resolved