Commit Graph

7 Commits

Author SHA1 Message Date
Vinta Chen
0d53c4f0f1 docs: optimize PR review workflow for efficiency
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>
2026-01-08 16:13:42 +08:00
Vinta Chen
6a7a1d63e7 config: add frontmatter metadata to PR review command
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>
2026-01-08 16:00:31 +08:00
Vinta Chen
5682e60934 config: add Claude permissions settings
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>
2026-01-08 15:59:54 +08:00
Vinta Chen
4117b23614 docs: improve PR review workflow command
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>
2026-01-08 15:59:53 +08:00
Vinta Chen
80cbbfe256 refactor: replace single PR review with bulk review command
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>
2026-01-08 15:07:21 +08:00
Vinta Chen
3aabfb8ec8 docs: update automatic rejection criteria
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>
2026-01-08 15:07:20 +08:00
Vinta Chen
e87d33b2f4 chore: add Claude Code configuration
- 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>
2026-01-08 13:13:51 +08:00