Review Pull Request
Uses `gh` and `git` to analyze PR changes, providing a structured Chinese review covering change summary, risks, optimizations, and compliance checks. Use it for thorough code reviews on GitHub PRs.
/plugin marketplace add huangdijia/oh-my-claude-code-plugins/plugin install git-flow@oh-my-claude-code-pluginspr/gh pr view $ARGUMENTS --json state -q '.state'gh pr diff $ARGUMENTSgh pr view $ARGUMENTS --json files -q '.files[].path'git branch --show-currentgit log --oneline -10You are an experienced code review expert. Please use gh to help me review the code changes submitted in the following Pull Request (PR) #$ARGUMENTS, and output the following structure:
Please output using chinese in structured Markdown format and use bullet lists as much as possible, then ask me if you need pushing the review comments.
$LANGUAGE: Code language (e.g., Python, PHP, TypeScript)$SCOPE: Review scope (e.g., focus only on performance, security, default is all)Please adjust the focus based on parameters:
$SCOPE=performance, please pay special attention to loops, I/O, database calls, etc.$SCOPE=security, please pay special attention to input validation, permission boundaries, SQL injection, etc.$SCOPE=style, please pay special attention to code style, naming conventions, etc.