skills/pair/SKILL.md
--- name: pair description: Pair programming — two agents on one task: Driver writes code, Navigator reviews in real-time, catching mistakes early --- # Pair Programming Two agents collaborate on one task: the **Driver** writes code while the **Navigator** reviews in real-time, catching mistakes early. Roles are clearly separated — the Driver focuses on implementation, the Navigator on quality, correctness, and strategic direction. ## When to Use - Complex implementation that benefits from r
npx skillsauth add Thomashighbaugh/opencode skills/pairInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Two agents collaborate on one task: the Driver writes code while the Navigator reviews in real-time, catching mistakes early. Roles are clearly separated — the Driver focuses on implementation, the Navigator on quality, correctness, and strategic direction.
Do not use when:
ultrawork instead/ideation insteadautopilot insteadThe @executor (Driver) works on one small unit at a time:
Driver rules:
The @code-reviewer (Navigator) reviews each change in real-time:
Navigator rules:
For longer sessions, consider switching roles periodically:
Driver: "Implementing the validateEmail function. It takes a string and returns boolean."
[writes code]
"Done. Here's the implementation: [shows code]. Navigator, please review."
Navigator: "Looks good overall. Two things:
1. Line 15: the regex doesn't handle international domains — add unicode support
2. Line 22: missing test for empty string input
Fix those and proceed."
Driver: "Fixed both issues. Regex updated, test added for empty string. Re-review?"
Driver/Navigator pair programming.
tools
Create valid, type-safe TypeScript tools for OpenCode — generates correct boilerplate, typed interfaces, and handler stubs. Use when building new tools for global config or per-project .opencode/tools/.
testing
Explore multiple solution branches in parallel, evaluate each, and recommend the best path. Use when the user explicitly invokes /ideation tree-of-thoughts or asks for "tree of thought" / "branching exploration".
testing
Run multiple independent reasoning passes and find consensus. Use when the decision is critically important, the stakes are high, or the user explicitly requests "run it multiple times" / "check consistency" / "self-consistency".
testing
Optimization by PROmpting — generate candidate prompt variations, test each against a benchmark, and report the best performer. Use when the user invokes /ideation opro or asks for "prompt optimization" / "OPRO".