--focus <area>
- Focus on specific areas. Valid values: security
, performance
, tests
, architecture
, documentation
, all
--gemini-only
- Perform the review only with gemini CLIgh
, git
, and gemini
gh pr view
to check PR description and any existing comments (handle errors gracefully)git log "main..HEAD" --oneline
to see all commits in this PR (with proper shell escaping)git diff "main...HEAD" --stat
to get an overview of changed files (with proper shell escaping)--gemini-only
has been passeddocs/gemini.md
GEMINI_TIMEOUT_SECONDS
, default: 600).pr_review_diff.tmp
)@.pr_review_diff.tmp
syntax to include the diff in Gemini promptpnpm run check
(for web/) if available./scripts/lint.sh
(for mac/) if the script exists./lint.sh
(for tauri/) if the script existsfilename:line_number
(e.g., src/server.ts:142
)filename:start_line-end_line
.pr_review_diff.tmp
from project rootsrc/server/auth.ts:234
src/client/app.ts:45-52
src/utils/helpers.ts:78 (similar pattern at lines 95, 112)
docs/gemini.md
gh
) must be installed--gemini-only
mode: Only Gemini CLI is required--focus
values) are validated against a whitelist--focus
parameter only accepts predefined values: security, performance, tests, architecture, documentation, allGEMINI_TIMEOUT_SECONDS
environment variable).tmp
extension.gitignore
patterns for temporary files (e.g., .pr_review_*.tmp
)wc -c .pr_review_diff.tmp