con un clic
fetch-reviews
获取所有审查机器人评论。Qodo 使用 WebFetch,Sourcery/Copilot 使用 GitHub MCP。
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
获取所有审查机器人评论。Qodo 使用 WebFetch,Sourcery/Copilot 使用 GitHub MCP。
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Architecture & Repository Guardian for main branch. Invoke when user needs to plan tasks, manage git branches/worktrees, or coordinate sub-agents. ONLY callable from main branch.
开发执行详细流程。dev-agent 执行代码修改时调用。
文档执行详细流程。docs-agent 执行文档更新时调用。
Master Agent 执行详细流程。任务路由、PR 管理、Git 操作。
挂起任务恢复流程。Master Agent 处理 blocked_reason.md 时调用。
执行 MCP 驱动的 7 阶段验收流程。当代码修改完成需要验收时触发,或用户请求运行验收。
| name | fetch-reviews |
| description | 获取所有审查机器人评论。Qodo 使用 WebFetch,Sourcery/Copilot 使用 GitHub MCP。 |
| 属性 | 值 |
|---|---|
| owner | Disaster-Terminator |
| repo | RewardsCore |
使用 GitHub MCP:
get_pull_request_comments(owner, repo, pull_number)
get_pull_request_reviews(owner, repo, pull_number)
获取方法(两种评论都需要):
# 1. Review comments(行级评论)
WebFetch(url="https://api.github.com/repos/{owner}/{repo}/pulls/{number}/comments")
# 2. Issue comments(完整审查报告)
WebFetch(url="https://api.github.com/repos/{owner}/{repo}/issues/{number}/comments")
过滤条件:user.login == "qodo-code-review[bot]"
解析方法:
<details><summary><strong>Agent Prompt</strong></summary> 中的内容<s> 标签表示已解决重要:Qodo 的完整审查报告通常在 Issue comments 中,必须同时获取两种评论。
失败处理:如果两种方法都无法获取完整评论:
user.login == "sourcery-ai[bot]"<details><summary>Prompt for AI Agents</summary> 中的 ~~~markdown 块user.login == "copilot-pull-request-reviewer[bot]"user.login == "qodo-code-review[bot]"body 中的 HTML:
<details><summary><strong>Agent Prompt</strong></summary> 中的内容Fix Focus Areas 列表| 来源 | 类型 | 问题 | 文件 | 状态 |
|---|---|---|---|---|
| Sourcery | bug_risk | ... | ... | 待修复 |
| Copilot | suggestion | ... | ... | 自主决断 |
| Qodo | Bug | ... | ... | 待修复 |
通过检查评论 body 判断是否已解决:
| 机器人 | 已解决标志 | 说明 |
|---|---|---|
| Sourcery | ✅ Addressed in {commit} | 自动更新评论 |
| Copilot | 无 | 不会更新评论,无法判断 |
| Qodo | ✅ | 自动更新评论 |
示例:
body: "**issue (bug_risk):** ...\n\n✅ Addressed in ab1e26c: ..."
→ 状态:已解决(Sourcery 自动检测)
注意:Copilot 不会自动更新评论,Agent 无法通过 API 判断其评论是否已解决。需人工在 GitHub 网页上点击"Resolve conversation"。