Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Address GitHub PR review comments and issue feedback using the gh CLI. Fetch all comments, summarize review threads, and apply fixes with explicit user approval.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Undeveloped: Manual review, ad-hoc responses, forget some comments.
Target: Fetch all comments, list with summaries, apply fixes after user selects which to address.
Optimized: Auto-categorize by type (bug, style, enhancement), suggest fixes for each, batch commit with reply threads.
Address feedback systematically. Fetch all comments, understand context, let user choose priorities, then apply fixes — reducing friction in PR review cycles.
Check authentication status:
gh auth status
If not authenticated:
gh auth login
# Select GitHub.com
# Select SSH or HTTPS
# Authorize with browser
Verify workflow/repo scopes:
gh auth status --show-token # Verify scopes include "repo" and "workflow"
Find PR for current branch:
gh pr view --json number,title,url,state
Or specify PR explicitly:
gh pr view 123 --json number,title,url,state
# or
gh pr view https://github.com/owner/repo/pull/123
Pull all comments and review threads:
# Run helper script (if available)
python scripts/fetch_comments.py
# Or manual approach:
gh pr view [PR] --json reviews --jq '.reviews[]'
Output includes:
Organize comments for user review:
# PR Comments to Address
## Review Thread 1: "Add error handling" (Changes Requested by @reviewer-name)
**Line**: src/utils.ts:42
**Comment**: "This function should handle null values gracefully"
**Context**: [Code snippet]
**Priority**: High — blocking approval
**Fix needed**: Add try-catch or validation
---
## Review Thread 2: "Typo in variable name" (Commented by @reviewer-name)
**Line**: src/types.ts:15
**Comment**: "Should this be `userAuthToken` instead of `userAuthTOKEN`?"
**Priority**: Medium — style
**Fix needed**: Rename variable
---
## Review Thread 3: "Nice refactoring!" (Approved by @reviewer-name)
**Status**: ✓ Approved
**Action**: No response needed
Present prioritized list:
Select which comments to address (enter numbers separated by comma):
[ 1] High: Add error handling (Line 42)
[ 2] Medium: Fix typo in variable name (Line 15)
[ 3] Low: Consider adding JSDoc comment (Line 8)
Enter selection (e.g., "1,2"):
For each selected comment:
Navigate to line/file
code src/utils.ts:42 # Open editor at line
Make required changes
Commit changes
git add [files]
git commit -m "Address review feedback: [comment theme]"
git push
Reply to comment (optional)
gh pr review [PR] --comment -b "Fixed: Added error handling for null values"
Check if review is now satisfied:
gh pr view [PR] --json reviewDecisions,statusCheckRollup
If approved:
gh pr merge [PR] --squash --delete-branch
Address all blocking comments:
gh pr view [PR] --json reviews --jq '.reviews[] | select(.state=="CHANGES_REQUESTED")'
# Then select those for addressing
Reply to specific comment:
gh pr comment [PR] -b "Fixed in latest commit. Thanks for the feedback!"
Re-request review after fixing:
gh pr review [PR] --request-review @reviewer-name
| Issue | Solution |
|---|---|
| gh not authenticated | Run gh auth login and select scopes including repo/workflow |
| Rate limit errors | Wait a few minutes or check gh auth status for token validity |
| Can't see PR | Verify you're on correct branch or provide explicit PR number/URL |
| Comments not showing | Ensure gh is fully authenticated with gh auth refresh |
Deliver:
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。
Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.
日本語の概要は準備中です。原文の説明を表示しています。