
Triage Reviews
Fetch PR review comments, verify each against real code/docs, fix valid issues, commit...
Install
npx skills add stickerdaniel/linkedin-mcp-server --skill triage-reviews -g -a claude-code -y- Repository
- stickerdaniel/linkedin-mcp-server4.1k
- Category
- Git and review
- Updated
- 4d ago
- License
- Apache-2.0
- Context cost
- Lightabout 1,383 tokens
- Runs scripts
- No, instructions only
What it does
Fetch PR review comments, verify each against real code/docs, fix valid issues, commit and push
Triage PR Review Comments
Fetch all review comments on the current PR, verify each finding against real code, fix valid issues, and push.
Phase 1: Gather Comments
-
Determine the PR number:
- Use
$ARGUMENTSif provided - Otherwise:
gh pr view --json number --jq .number
- Use
-
Fetch ALL comments (reviewers post in multiple places):
gh api --paginate repos/{owner}/{repo}/pulls/{pr}/reviews gh api --paginate repos/{owner}/{repo}/pulls/{pr}/comments gh api --paginate repos/{owner}/{repo}/issues/{pr}/comments -
Extract unique findings, deduplicate across Copilot, Greptile, and human reviewers. Group by file and line.
Phase 2: Verify Each Finding
For EVERY finding, verify against real code before accepting or rejecting:
- Read the actual code at the referenced file:line
- Check if the issue still exists, it may already be fixed in a later commit
- Verify correctness using:
- Code analysis (read surrounding context, trace call paths)
- Run
btca resourcesto see what's available, thenbtca ask -r <resource> -q "..."for library/framework questions - Web search for API behavior, language semantics, or CVEs
- Classify each finding:
- Valid, real bug, real gap, or real improvement needed
- False positive, reviewer misread the code, outdated reference, or style preference
Phase 3: Fix & Ship
- Fix all Valid findings
- Run the project's lint/test commands
- If lint/tests fail, fix the failures before committing
- If a failure cannot be fixed automatically, skip that fix and report it as Valid (unfixed) in the Phase 4 table
git addonly changed files,git commitwith message:fix: Address PR review feedback - <one-line summary per fix>- Push:
gt submit(orgit pushif not using Graphite)

