opencode-review

Installation
SKILL.md

Code Review via opencode

Delegate code review to a fresh opencode session running a VelociRouter model (default velocirouter/gpt-5.6-sol). The goal is a second opinion from a different model — don't duplicate the review yourself.

Assume opencode is installed and the review-code skill is available to it. Don't probe for either — if opencode run fails, surface the error and stop.

Rules

  1. Resolve the review target. Hand review-code its own vocabulary; don't resolve the diff yourself.

    • User named a PR number → pr <N>
    • User named a ref range (e.g., main...HEAD, abc123..def456) → use it verbatim
    • Otherwise → diff
  2. Resolve the model. Default velocirouter/gpt-5.6-sol. If the user names another model without a provider prefix, use velocirouter/<name> (e.g., gpt-5.6-sol-fastvelocirouter/gpt-5.6-sol-fast). If they give a full provider/model, use it verbatim.

  3. Run opencode inside a subagent — never from the main session. opencode run streams the model's reasoning and tool logs to stdout; that whole transcript lands in whichever context invoked it. Spawn one general-purpose subagent whose only job is to run the command and hand back the review.

  4. Start a fresh opencode session. Never pass -c, -s, or --fork — reusing a prior session pollutes the review with unrelated context. That's the whole point of this skill.

Installs
48
GitHub Stars
1
First Seen
Jul 28, 2026
opencode-review — lwlee2608/agent-skills