Loading...
Loading...
This is used to review comments on an active pull request and decide whether to accept, iterate, or reject the changes suggested in each comment.
npx skill4agent add pamelafox/review-pr-comments review-pr-commentsactivePullRequestGitHub Pull RequestsPOST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies{
"body": "Your reply message"
}gh api repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies \
-X POST \
-f body="Your reply message"gh api repos/{owner}/{repo}/pulls/{pull_number}/commentsididgh api repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies \
-X POST \
-f body="Fixed in commit abc123"comment_idnode_idgh api graphql -f query='
query {
repository(owner: "{owner}", name: "{repo}") {
pullRequest(number: {pull_number}) {
reviewThreads(first: 50) {
nodes {
id
isResolved
comments(first: 1) {
nodes { body path }
}
}
}
}
}
}'resolveReviewThreadgh api graphql -f query='
mutation {
resolveReviewThread(input: {threadId: "PRRT_xxx"}) {
thread { isResolved }
}
}'gh api graphql -f query='
mutation {
t1: resolveReviewThread(input: {threadId: "PRRT_xxx"}) { thread { isResolved } }
t2: resolveReviewThread(input: {threadId: "PRRT_yyy"}) { thread { isResolved } }
}'PRRT_