mirror of
https://github.com/wesammustafa/opencode-primer.git
synced 2026-11-19 02:17:58 +00:00
- Bump every version pin, pricing table, and model ID to the verified 2026-07-05 state (v1.17.13): Claude Fable 5 / Sonnet 5 on Zen, new free tier, deprecation sunset table, v1.17.x changelog section - Cover gaps: OpenCode Go vs Zen billing, Anthropic subscription-login removal (PR #18186), MCP resources, --mini mode, --auto flag, yolo mode - Fix correctness bugs: command-template !`cmd` syntax in docs and .opencode/commands, protect-secrets regex missing 'cat .env', dual plugin exports, quickstart PATH fix, Playwright MCP flags, ctrl+d keybind conflict, agent/command required-field claims - Fix links: cursor.com, windsurf.com, platform.claude.com, code.claude.com, opencode.ai/discord, Vercel Grep announcement - Rebrand: banner (Images/banner.svg), 1280x640 social preview asset, hero redesign with star CTA, ecosystem stats, private vulnerability reporting channel, CI-matching local checks, MD060 lint opt-out
938 B
938 B
description, agent
| description | agent |
|---|---|
| Run a code review on changed files (or a path you pass) | plan |
Run a code review with these inputs:
- Scope:
$ARGUMENTSif provided, otherwise the current branch's diff vsmain. - Changed files (always check):
!git diff --name-only main...HEAD
For each changed file, evaluate (in this order):
- Correctness — bugs, race conditions, broken control flow.
- Security — input validation, auth, secrets, OWASP Top 10.
- Performance — N+1 queries, blocking I/O, unbounded loops.
- Maintainability — naming, duplication, missing tests.
Output one entry per finding using this format:
[Severity] <summary>
Where: <file:line>
Why: <one sentence>
Fix: <concrete snippet or instruction>
End with a one-line verdict: LGTM, Approve with comments, or Changes requested.
Do not edit any files in this command — leave the implementation to the developer.