duoduo

Coordinate dual-agent PR reviews between Opus and Codex.

8|5|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/notdp/.dotfiles --skill duoduo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: duoduo
Source: https://github.com/notdp/.dotfiles/tree/main/skills/duoduo
Command: npx skills add https://github.com/notdp/.dotfiles --skill duoduo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

双 AI 代理(Opus 与 Codex)协同对同一 PR 进行交叉审查,自动判断达成的共识、是否需要修复以及后续的验证工作,从而提高 PR 评审的一致性与效率。触发条件包括用户发出审查请求或在 PR 评论中提及 duoduo review。

Core Features & Use Cases

  • 双代理并行审查 PR,快速获得两种模型的独立评估并进行对比。
  • 自动创建占位评论、读取项目规范(REVIEW.md)与变更差异(diff),并将结果汇报给中枢 Orchestrator。
  • 支持交叉确认、修复验证和最终汇总等阶段的流程控制、状态跟踪与消息传递。
  • 适用于日常 PR 审查、代码质量改进和跨团队协作,需要在复杂场景中保持一致性。

Quick Start

Trigger a cross-review for a target PR by running the prepared workflow and follow prompts to start the duo agents.

Frequently Asked Questions about duoduo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is dual-agent PR review and how does cross-checking work?

Dual-agent PR review triggers parallel cross-checks between Opus and Codex to evaluate pull requests. The workflow coordinates independent assessments, cross-agent discussions, and staged verification to surface consensus or conflicts before generating a final summary.

How do I automate code review for a pull request using multiple AI agents?

Automate code review by triggering the prepared workflow and following prompts to start the duo agents. The system automatically creates placeholder comments, reads project specifications from REVIEW.md, analyzes diffs, and reports findings to a central orchestrator for consensus.

Does the cross-review workflow support inline comments on the original pull request?

Yes, the cross-review workflow supports optional inline comments on the original pull request. After completing parallel reviews and staged verification, the final summary includes posting inline comments directly to the PR for actionable feedback.

Can I use custom project specifications to guide the AI agent PR review?

Yes, the dual-agent PR review reads custom project specifications from REVIEW.md. The workflow automatically retrieves this file alongside the pull request diff to ensure both AI agents evaluate changes against your established coding standards.

What are the limitations of using dual AI agents for pull request cross-review?

The dual-agent cross-review enforces FIFO messaging and safe interaction protocols to manage communication overhead. It requires triggering via specific commands or PR comments mentioning duoduo review, limiting spontaneous automated execution without explicit initiation.