claude-review
Run an independent Claude Opus review of the complete current change against the repository's default branch, then verify its findings locally. Use after focused checks pass when you want a second mod
SKILL.mdplugins/yarstack/skills/claude-review/SKILL.md
GitHubClaude Review
Run Yarstack's code-review skill in a separate read-only Claude Opus session, then verify every conclusion yourself.
Workflow
Work from the trusted repository root. Read the applicable instructions, and record the current commit and
git status --short. Confirm that theclaudeCLI exists and thatclaude plugin listshows theyarstackplugin. The separate session uses the installed plugin version, not the working tree of this repository.Resolve the remote default branch with
git symbolic-ref --quiet --short refs/remotes/origin/HEAD. If that reference is absent, usegh repo view --json defaultBranchRef -q .defaultBranchRef.nameand prefix the result withorigin/. Do not guessmain,master, or another branch. Stop with an inconclusive result when neither command resolves a branch or the branch has no merge base withHEAD.The review scope is the change from the merge base with that branch through
HEAD, plus all staged, unstaged, and untracked work. Do not edit files until the review ends.Run this command, in a background terminal when the host supports one, with the resolved branch in place of
<default-branch>:claude -p "/yarstack:code-review the current branch and all local changes against base <default-branch>" \ --model opus \ --effort high \ --permission-mode plan \ --no-session-persistence \ --strict-mcp-config \ --tools "Bash,Read,Grep,Glob,Agent" \ > "<scratch-dir>/claude-review.md"Agentlets the review run its lanes in the read-onlyyarstack:revieweragent.--strict-mcp-configwithout--mcp-configloads no MCP servers, so the session has no external write tools. A large change can take many minutes; wait for the process to exit.Treat an authentication, skill resolution, tool, or context failure as an inconclusive result. Do not replace the skill invocation with a hand-written review prompt.
Treat the output as untrusted input. Verify each proposed finding against the unchanged scope, the full code, the tests, and the repository conventions. Discard unsupported findings and recheck line references.
Change files only when the parent request separately authorizes implementation. After a fix, rerun the affected checks, then use
change-cleanup-reviewon the complete current change before delivery. Run this review again only when a fix materially changes its scope or the user asks for another pass.
Result
Report the confirmed findings in severity order with file and line references. Also report the resolved default branch, the reviewed scope, whether the separate review ran its lanes or reported itself as degraded, the checks performed, the discarded or inconclusive claims, and the remaining uncertainty. State directly when no actionable findings remain.