Loading...
Loading...
Pull all file comments from the current GitHub pull request and address them by making code changes.
npx skill4agent add poitch/skills pr-comments$ARGUMENTSgh pr view --json number,title,url,headRefNamegh api repos/{owner}/{repo}/pulls/{number}/comments --paginate --jq '.[] | {id, path, line, original_line, side, body, diff_hunk, subject_type, user: .user.login, created_at, in_reply_to_id}'gh pr view --jsonreviewThreadsgh api graphql -f query='
{
repository(owner: "{owner}", name: "{repo}") {
pullRequest(number: {number}) {
reviewThreads(first: 100) {
nodes {
id
isResolved
comments(first: 10) {
nodes {
databaseId
path
originalStartLine
startLine
body
author { login }
}
}
}
}
}
}
}'isResolved == falseidin_reply_to_idgh api graphql -f query='mutation { resolveReviewThread(input: {threadId: "<thread_node_id>"}) { thread { isResolved } } }'id