Improve the PR review command workflow to reduce API calls and clarify
the review process:
- Fetch PR details in single call (combine list + view data)
- Add quick rejection checks before API calls (conflicts, duplicates)
- Simplify terminology (APPROVE/REJECT -> PASS/REJECT)
- Streamline section headers for clarity
- Remove gh pr view from allowed tools (redundant with list)
This reduces unnecessary GitHub API calls and makes the review process
more efficient.
Co-Authored-By: Claude <noreply@anthropic.com>
Add YAML frontmatter with description and allowed-tools permissions to the review-pending-prs command file. This configures tool access restrictions for GitHub PR operations.
🤖 Generated with Claude Code (https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Define allowed Bash operations for gh CLI commands used in PR review
automation workflows.
🤖 Generated with Claude Code (https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Simplify gh pr list query using --search flag to filter by label,
reorganize rejection criteria with merge conflicts first, and streamline
output format instructions.
🤖 Generated with Claude Code (https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replace review-pr command with review-pending-prs to enable efficient
batch review of open PRs. New command fetches up to 10 unreviewed PRs,
performs automated checks, and provides bulk actions (close rejected,
label approved, request fixes).
🤖 Generated with Claude Code (https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replace self-promotion rule with category placement check to better reflect actual review priorities.
🤖 Generated with Claude Code (https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add local settings with GitHub CLI permissions for PR review
- Add custom /review-pr command for automated PR review workflow
🤖 Generated with Claude Code (https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>