Loading...
Loading...
Agent-powered GitHub PR reviews with smart semantic triage. Categorizes changes as MECHANICAL (skip), NEW LOGIC (read), or BEHAVIORAL (verify) — so agents never waste tokens reading lock files or formatting diffs. Includes remote file reading, text/AST search across PR or full repo, and comment posting. No local clone needed. Use when asked to review a PR, check a pull request, look at PR changes, or given a PR number/URL to review.
npx skill4agent add ataraxy-labs/gh-agent reviewing-prsbrew install ataraxy-labs/tap/gh-agentgh-agent pr view --repo OWNER/REPO N --smartgh-agent pr diff --repo OWNER/REPO N --smart-files--repo-wide# Find callers of a removed/renamed symbol
gh-agent pr grep --repo OWNER/REPO N --pattern "removedFunction" --repo-wide
# Find references to a deleted type or enum variant
gh-agent pr grep --repo OWNER/REPO N --pattern "DeletedTypeName" --repo-wide
# Find consumers of a changed interface/config
gh-agent pr grep --repo OWNER/REPO N --pattern "changedOption" --repo-wide --path src/
# Structural search for removed prop usage
gh-agent pr ast-grep --repo OWNER/REPO N --pattern 'oldPropName={$$$}' --repo-wide# Read full file at PR branch
gh-agent pr file --repo OWNER/REPO N --path PATH
# Search PR changed files (fast, default)
gh-agent pr grep --repo OWNER/REPO N --pattern "functionName"
gh-agent pr ast-grep --repo OWNER/REPO N --pattern 'useCallback($$$)'--repo-wide--base--repo-wide# Post comments (line must appear in diff — use --json to check)
gh-agent pr review --repo OWNER/REPO N --comments-file /tmp/review.json
gh-agent pr diff --repo OWNER/REPO N --json # commentable lines map
# Post suggestion
gh-agent pr suggest --repo OWNER/REPO N --file F --line-start S --line-end E --replacement "code"| Command | Purpose |
|---|---|
| Smart triage — always start here |
| PR metadata as JSON |
| Diffs for non-mechanical files only |
| Diff for specific file(s) (substring match, repeatable) |
| File stat table |
| Commentable lines map |
| Read file at PR branch |
| Text search PR changed files |
| Text search full codebase |
| Structural search PR changed files |
| Structural search full codebase |
| Post review from JSON |
| Post suggestion comment |
--smart--smart-filespr filepr greppr ast-grep--repo-wide--repo-wide