mcpField
R
recursive-review-bundle

recursive-review-bundle

github.com/try-worksAgent 工作流13675 次安装14 周前更新
代码仓库

关于 recursive-review-bundle

recursive-review-bundle 是为 `recursive-mode` 中委派的审查或审计准备规范上下文包的技能,面向负责组织评审流程的人员。它汇集上游产物、审计问题和输出要求,便于审查留痕和复现。

主要功能

  1. 01生成规范审查上下文包
  2. 02支持 Python 与 PowerShell 脚本
  3. 03收集上游产物路径
  4. 04纳入审计问题与输出格式
  5. 05提示刷新包及记录审查依据
  6. 06说明路由评审的引用要求

适用场景

  1. 01委派代码审查前准备上下文
  2. 02在修复或范围变更后刷新审查包
  3. 03要求审查者引用输入依据和结论

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/try-works/recursive-mode --skill recursive-review-bundle

安装后在 Claude Code 中输入/recursive-review-bundle确认已加载。

附带文件agents/openai.yaml

详细介绍

recursive-review-bundle

在 recursive-mode 中委派审计或评审之前,使用此技能准备规范的评审资料包。

此技能不能替代 /.recursive/RECURSIVE.md。它负责打包受委派的评审人员所需的上下文资料,使评审持久、可复现,并符合工作流要求。

规范脚本

使用仓库脚本:

  • ./.recursive/scripts/recursive-review-bundle.py
  • ./.recursive/scripts/recursive-review-bundle.ps1

如果两种工具链都可用,优先使用 Python 脚本。如果受委派的路径已面向 PowerShell,则使用 PowerShell 包装脚本。

最少输入项

请提供以下所有内容:

  • 仓库根目录
  • 运行 ID
  • 阶段名称
  • 评审人员角色
  • 正在评审的产物路径
  • 准确的上游产物路径
  • 相关审计问题
  • 必需的输出格式

在必要时,添加明确的证据引用或补充材料。适用时,资料包生成器还会自动发现相关补充材料和技能记忆引用。

常用命令

python ./.recursive/scripts/recursive-review-bundle.py \
  --repo-root . \
  --run-id "<run-id>" \
  --phase "03.5 Code Review" \
  --role code-reviewer \
  --artifact-path "/.recursive/run/<run-id>/03.5-code-review.md" \
  --upstream-artifact "/.recursive/run/<run-id>/00-requirements.md" \
  --upstream-artifact "/.recursive/run/<run-id>/02-to-be-plan.md" \
  --routing-config-path ".recursive/config/recursive-router.json" \
  --routing-discovery-path ".recursive/config/recursive-router-discovered.json" \
  --routed-cli "codex" \
  --routed-model "gpt-5.4" \
  --audit-question "Which R# remain incomplete?" \
  --required-output "Findings ordered by severity"
pwsh -NoProfile -File ./.recursive/scripts/recursive-review-bundle.ps1 `
  -RepoRoot . `
  -RunId "<run-id>" `
  -Phase "03.5 Code Review" `
  -Role code-reviewer `
  -ArtifactPath "/.recursive/run/<run-id>/03.5-code-review.md" `
  -UpstreamArtifact "/.recursive/run/<run-id>/00-requirements.md","/.recursive/run/<run-id>/02-to-be-plan.md" `
  -RoutingConfigPath ".recursive/config/recursive-router.json" `
  -RoutingDiscoveryPath ".recursive/config/recursive-router-discovered.json" `
  -RoutedCli "codex" `
  -RoutedModel "gpt-5.4" `
  -AuditQuestion "Which R# remain incomplete?" `
  -RequiredOutput "Findings ordered by severity"

验收规则

  • 在受委派的阶段产物中记录 Review Bundle Path。
  • 重大修复或范围变更后,刷新资料包。
  • 要求评审人员注明资料包路径、重新阅读的上游产物、相关补充材料、已评审的变更文件或代码引用,以及最终结论。
  • 不要将单独的资料包文件视为评审质量的证明;书面评审仍须使用资料包中的内容。

路由注意事项

如果准备好的资料包将交给路由评审人员,请在委派调用前立即重新阅读:

  • /.recursive/config/recursive-router.json
  • /.recursive/config/recursive-router-discovered.json

并在评审或操作记录元数据中加入相关路由路径引用。

参考资料

  • /.recursive/RECURSIVE.md
  • /docs/templates/commands/recursive-review-bundle.md
  • ../recursive-subagent/SKILL.md

评论

支持 Markdown