SuperAPI AI 工具集

qodo-pr-resolver

办公与效率

查看项目

更新于 10-16 04:54

技能介绍

用途:该技能通过 qodo CLI 读取某个 PR 的评审会话(状态、被评审的 commit_sha、每条 finding 及其处置状态),据结果决定是否在代码中落实修改,并把已定论的 finding 标记为已实现或驳回。仅做读取也可,用于汇报评审进展或以评审是否干净作为合并门槛。

主要能力:读取结构化 PR 评审会话与 findings 列表;按 action_level(action_required、remediation_recommended、informational)与 attribution_status 分类处理;支持一次性模式(默认,先评估并让用户挑选要修哪些)与 watch 循环模式(修复→推送→等待 Qodo 重新评审新提交→直到干净);支持 autofix 直接应用、mark-implemented 与 dismiss 记录处置结果。

使用方式要点:先运行 qodo --version(要求 0.1.0-next.37 或更新),再运行 qodo read whoami;读取评审用 qodo read pr-review-session findings --pr-url <PR_URL> --json;写入用 qodo pr-review-session mark-implemented --finding-ids <id>,<id> --explanation "..." --json 或 qodo pr-review-session dismiss --finding-ids <id> --reason intentional --explanation "..." --json;可用 qodo read tools pr-review-session --json 确认工具名与读写属性。若提示 qodo: command not found,属 PATH 问题,可改用 ~/.qodo/bin/qodo。

限制与前提:需 Qodo CLI 已认证并暴露结构化评审工具;只能在评审为 completed 且 commit_sha 与目标 head 一致时行动;不得用 gh/curl 抓取渲染后的评审评论;本地修复前必须确认检出仓库与 PR 仓库一致;推送到代码托管平台仍需用户批准;不向 forge 直接发评论,由 Qodo 同步。资料未提供收费、价格、支持平台及效果信息。