manage-pr-review-threads

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Manage PR Review Threads

管理PR评审线程

Use this skill when you need to inspect unresolved review threads and then reply to or resolve them.
当你需要检查未解决的评审线程,然后回复或解决它们时使用这个技能。

List unresolved review threads

列出未解决的评审线程

bash
bunx @willbooster/agent-skills@latest list-pr-review-threads
bash
bunx @willbooster/agent-skills@latest list-pr-review-threads

Reply to and resolve review threads

回复并解决评审线程

bash
bunx @willbooster/agent-skills@latest resolve-pr-review-threads <<'EOF'
{
  "replies": {
    "PRRT_kwDORiWJ-851nXBt": "Fixed in the latest update.",
    "PRRT_kwDORiWJ-851nXBu": "Kept as-is intentionally. Added clarification in the code."
  }
}
EOF
The JSON object must contain
replies
, keyed by review thread ID.
bash
bunx @willbooster/agent-skills@latest resolve-pr-review-threads <<'EOF'
{
  "replies": {
    "PRRT_kwDORiWJ-851nXBt": "Fixed in the latest update.",
    "PRRT_kwDORiWJ-851nXBu": "Kept as-is intentionally. Added clarification in the code."
  }
}
EOF
JSON对象必须包含
replies
字段,键为评审线程ID。

Notes

注意事项

  • Run the commands from the repository that owns the pull request you want to inspect.
  • resolve-pr-review-threads
    depends on thread IDs returned by
    list-pr-review-threads
    .
  • 请在你要检查的拉取请求所属的代码仓库中运行这些命令。
  • resolve-pr-review-threads
    依赖
    list-pr-review-threads
    返回的线程ID。