Explain a GitHub pull request as an English Markdown walkthrough and return a Plannotator share link. Use for PR explanations, walkthroughs, or review preparation.
中文简介正在准备中。当前显示原文说明。
Review, triage, and resolve PR review comments. Use when user asks to check PR comments, address review feedback, fix issues raised in review, reply to reviewers, or resolve review threads.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Triage and address review comments on a pull request: read each comment, decide if valid, fix code, verify tests pass, reply, and resolve threads.
gh CLI authenticated--repo owner/repo)Get all review comments with context:
gh api repos/{owner}/{repo}/pulls/{pr}/comments \
--jq '.[] | {id, path, line, body, user: .user.login}'
Also check top-level PR comments (non-inline):
gh api repos/{owner}/{repo}/issues/{pr}/comments \
--jq '.[] | {id, body, user: .user.login}'
For each comment, decide:
Read the relevant file context before deciding. Don't blindly accept or reject.
Apply fixes for valid comments. Group related fixes into a single commit. Use conventional commit style:
fix(<scope>): address PR review comments
- <summary of fix 1>
- <summary of fix 2>
Stage, commit, and push.
After fixing code, always run tests before pushing to make sure the fixes don't break anything:
CLAUDE.md / Makefile / mise tasks for the right command).mock_provider intercepting locally-evaluated data sources).Only push once all tests are green.
Reply to each review comment thread using the in_reply_to field:
gh api -X POST repos/{owner}/{repo}/pulls/{pr}/comments \
-f body="<reply text>" \
-F in_reply_to=<original_comment_id>
Important: The in_reply_to parameter must be a number (-F), not a string (-f). Use -F for numeric values.
Keep replies concise: state what was done or why not.
Fetch unresolved thread node IDs via GraphQL:
gh api graphql -f query='
{
repository(owner: "{owner}", name: "{repo}") {
pullRequest(number: {pr}) {
reviewThreads(first: 50) {
nodes {
id
isResolved
comments(first: 1) {
nodes { databaseId body }
}
}
}
}
}
}' --jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false) | {id, commentId: .comments.nodes[0].databaseId, body: (.comments.nodes[0].body[:80])}'
Resolve each thread after replying:
gh api graphql -f query='
mutation {
resolveReviewThread(input: {threadId: "<thread_node_id>"}) {
thread { isResolved }
}
}'
Loop over all thread IDs to resolve in batch:
for tid in PRRT_abc PRRT_def PRRT_ghi; do
gh api graphql -f query="mutation { resolveReviewThread(input: {threadId: \"$tid\"}) { thread { isResolved } } }"
done
review-guards skill (ast-grep rule with test; qualitative → a line in REVIEW_GUIDELINES.md).还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Explain a GitHub pull request as an English Markdown walkthrough and return a Plannotator share link. Use for PR explanations, walkthroughs, or review preparation.
中文简介正在准备中。当前显示原文说明。
Codify project review rules as deterministic guards — ast-grep structural rules (with TDD-style rule tests) for mechanical checks, REVIEW_GUIDELINES.md for qualitative ones, wired into the project gate / wf verify. Use when the user wants to define review rules, turn a repeated review finding into a lint/guard, or set up ast-grep in a project.
中文简介正在准备中。当前显示原文说明。
Entity-aware code change analysis using the pi-sem tools. Use when the user asks what changed, wants blast radius or affected tests, needs focused context for a function/class, wants review help on a commit/branch/PR, or asks to compare semantic diff with raw git diff. Prefer sem_context and sem_impact; use sem_diff selectively for summaries and reviews.
中文简介正在准备中。当前显示原文说明。
Vytvoř workflow kontrakt z dosavadní diskuse — zapíše ~/Workspace/specs/<projekt>/<název>/contract.md (české tělo + strojový frontmatter) a zlintuje ho wf-gate. Použij, když uživatel řekne /wf nebo chce z probraného problému udělat kontrakt. Nikdy neimplementuje.
中文简介正在准备中。当前显示原文说明。
České vysvětlení změny kódu z kontraktu, ref range nebo PR — pozadí, intuice, průchod kódem, důkazy, UAT a kvíz. Volá wf-impl po UAT nebo uživatel ručně.
中文简介正在准备中。当前显示原文说明。
Dirigent jednoho workflow kontraktu ve svém super.engineering worktree — deleguje implementaci na subagenta, mezi fázemi pouští wf-gate, review předá skill wf-review, otevře draft PR (guardovaný), vyřeší komentáře, spustí UAT. Použij, když task session říká, že se má kontrakt provést přes wf-impl.
中文简介正在准备中。当前显示原文说明。