ワンクリックで
review
Review changed code for bugs and quality, then simplify. Takes a PR number, file paths, or no args for local changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Review changed code for bugs and quality, then simplify. Takes a PR number, file paths, or no args for local changes.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | review |
| description | Review changed code for bugs and quality, then simplify. Takes a PR number, file paths, or no args for local changes. |
Review workflow: get the diff, spawn a code-reviewer agent, then run /simplify on the changed files. Don't narrate each step — just run the tools silently and report findings at the end.
Parse $ARGUMENTS to determine the diff source:
123): GitHub PR. Use gh pr diff $NUM for the diff.rev, e.g., rev @-, rev trunk()..@): Use jj diff --git -r <revset> for single revisions or jj diff --git --from <from> --to <to> for ranges.jj diff --from 'trunk()' --git -- <paths>.jj diff --git scoped to those files. If no conversation context exists, fall back to all local changes via jj diff --from 'trunk()' --git.For PR reviews, run gh pr view $NUM --json author --jq .author.login and compare against the current user (gh api user --jq .login). Pass this context to the agent:
Spawn a my-code-reviewer agent with the diff and authorship context. Let it produce its full report.
Skip this step for non-self-authored GitHub PRs (not our code to simplify).
For local changes and self-authored PRs, determine which files were changed from the diff or args, then run /simplify on those files.