add opencode review plugin (port from pi-coding-agent extension)

This commit is contained in:
2026-03-31 21:19:48 +00:00
parent 86afae7d6c
commit 66ff22f9e6
3 changed files with 457 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
---
description: Review code changes (working-copy, bookmark, change, PR, or folder)
agent: review
subtask: true
---
Review the following code changes. $ARGUMENTS
Current repository state:
```
!`jj log -r '::@ ~ ::trunk()' -n 15 --no-graph -T 'change_id.shortest(8) ++ " " ++ coalesce(bookmarks, "") ++ " " ++ description.first_line() ++ "\n"' 2>/dev/null || echo "Not a jj repository or no divergence from trunk"`
```
Working copy status:
```
!`jj diff --summary 2>/dev/null || echo "No working-copy changes"`
```
Available bookmarks:
```
!`jj bookmark list --all-remotes -T 'name ++ if(remote, "@" ++ remote, "") ++ "\n"' 2>/dev/null | head -20 || echo "No bookmarks"`
```