Skip to main content

pair

Implement-then-review pattern. Two agents collaborating via pipe chains. Use when you need a second perspective on code changes.

跳到安装

来源信息

仓库
joshrotenberg/agent_workshop
最近来源活动
2026年4月2日 19:53
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
pair
description
Implement-then-review pattern. Two agents collaborating via pipe chains. Use when you need a second perspective on code changes.
license
MIT
metadata
{"author":"joshrotenberg","version":"1.0"}
# Pair Two agents: one builds, one reviews. Connected via `pipe`. ## Setup ```elixir agent(:impl, "You write clean, well-tested code.", max_turns: 15) agent(:reviewer, "You review code. Do not modify files.", model: "opus", allowed_tools: ["Read", "Bash"]) ``` ## Usage ```elixir ask(:impl, "Implement the caching layer") |> pipe(:reviewer, "Review for edge cases") # If reviewer finds issues: ask(:impl, "Address this feedback: #{result(:reviewer)}") |> pipe(:reviewer, "Check if the issues are resolved") ``` ## When to use - You have a clear task and want quality assurance - Changes are focused enough for one agent to implement - You want review feedback before moving on ## Agent guidance **If you are the implementor**: Write code, include tests, run them before reporting. Be specific about what you changed and why. **If you are the reviewer**: Read the diff carefully. Report findings as a prioritized list. Do not modify files. Focus on correctness, edge cases, and style.
在 GitHub 查看