co-mono/packages/coding-agent/examples/custom-tools/subagent/commands/implement-and-review.md
2025-12-19 01:45:18 +01:00

10 lines
494 B
Markdown

---
description: Worker implements, reviewer reviews, worker applies feedback
---
Use the subagent tool with the chain parameter to execute this workflow:
1. First, use the "worker" agent to implement: $@
2. Then, use the "reviewer" agent to review the implementation from the previous step (use {previous} placeholder)
3. Finally, use the "worker" agent to apply the feedback from the review (use {previous} placeholder)
Execute this as a chain, passing output between steps via {previous}.