← ClaudeAtlas

pr-reviewlisted

Give or respond to PR reviews with structural awareness via mache. Review mode: review-prep diagrams + impact analysis, parallel analysis agents, one consolidated GitHub review. Respond mode: address reviewer comments.
jamestexas/agents · ★ 2 · Code & Development · score 61
Install: claude install-skill jamestexas/agents
# PR Review Give or respond to pull request reviews. Review mode runs parallel analysis agents through three lenses — convention compliance, behavioral correctness, and infrastructure — then synthesizes findings with explicit disagreement handling. ## Arguments $ARGUMENTS Arguments can be: - PR number: `123` or `owner/repo#123` - Linear ticket: `ENG-123` (finds associated PR) - Nothing (auto-detect from current branch) - Explicit mode: `--review 123` (give review) or `--respond 123` (address comments) --- ## Phase 0: Structural Pre-flight *Runs before analysis agents. Output is local — not posted to GitHub.* ### 0.1 Run review-prep Invoke `/review-prep $PR_NUM` (or `owner/repo#$PR_NUM` if cross-repo). Store the full `## Structural Pre-flight` output as `STRUCTURAL_CONTEXT`. ### 0.2 Show reviewer Display to the user now (before agents run): - Both diagrams (spec-driven + emergent, or whichever are available) - Drift analysis - Insights block - High blast-radius symbols list Ask: **"Structural pre-flight complete. Continue with full review?"** If the user says no or wants to inspect further, stop here. ### 0.3 Handle unavailable If `review-prep` returns `status: unavailable`: - Note: "Structural analysis unavailable — mache could not index this repo. Proceeding with standard review." - Set `STRUCTURAL_CONTEXT=""` and continue to Phase 1. - Do NOT block the review. --- ## Phase 1: Discovery ### 1.1 Determine the PR If PR number provided: ```bash PR_NUM="$1" ``