一键导入
jkaddrcom
Action GitHub PR review comments. Provide a PR URL to fix all open comments, or a specific comment URL to fix one.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Action GitHub PR review comments. Provide a PR URL to fix all open comments, or a specific comment URL to fix one.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Format up an LLM answer into consistent personal markdown style — sentence-case headings and bullet lead-ins, plain dash bullets, no emoji, straight em-dash handling, italics not bold, optional 100-col wrap. Pass a file path to clean in place, or paste raw text to get the cleaned result back in chat.
A decorator on top of /loop with 5-minute timer and autocancel
Review the current branch's diff from a skeptic's perspective before pushing. Optional arg selects the reviewer persona.
Review a GitHub PR. Provide a URL to review without checking it out locally, or omit the URL if the branch is already checked out.
Commit, push, and open a draft PR with a written description. Use when ready to share work in progress for review.
Sync the current branch with the repo's primary branch (main, master, preprod, etc). Pulls primary, switches back, merges in, pushes.
| name | jkaddrcom |
| description | Action GitHub PR review comments. Provide a PR URL to fix all open comments, or a specific comment URL to fix one. |
If given a specific comment URL (e.g. https://github.com/org/repo/pull/123#discussion_r456789):
gh api /repos/{owner}/{repo}/pulls/comments/{comment_id}git commit -m "Address review comment: <brief what you did>"gh api --method POST /repos/{owner}/{repo}/pulls/{pr}/comments/{comment_id}/replies \
-f body="Done in $(git rev-parse HEAD)"
# Get the thread node_id for this comment's thread
THREAD_ID=$(gh api graphql -f query='{
repository(owner: "{owner}", name: "{repo}") {
pullRequest(number: {pr}) {
reviewThreads(first: 100) {
nodes { id isResolved comments(first: 1) { nodes { databaseId } } }
}
}
}
}' --jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.comments.nodes[0].databaseId == {comment_id}) | .id')
gh api graphql -f query="mutation { resolveReviewThread(input: { threadId: \"$THREAD_ID\" }) { thread { isResolved } } }"
If given a PR URL (or no arg — detect the current branch's open PR with gh pr view):
isResolved directly, unlike the REST comments list):
gh api graphql -f query='{
repository(owner: "{owner}", name: "{repo}") {
pullRequest(number: {pr}) {
reviewThreads(first: 100) {
nodes {
id isResolved
comments(first: 10) {
nodes { databaseId body path originalLine author { login } }
}
}
}
}
}
}' --jq '[.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)]'
gh api /repos/{owner}/{repo}/pulls/comments/{comment_id} and process it using the single-comment flow above, one commit per commentOn ambiguous comments: if you're not sure what a comment is asking, say so and ask before making a change — don't guess on a commit.
On comments that require discussion rather than a fix: reply explaining why you're not changing it, don't commit.