← ClaudeAtlas

structural-pr-reviewlisted

Deterministic PR-review chain with pluggable structural intelligence. Fetches the PR into an isolated worktree, runs blast-radius/impact analysis through whatever code-intelligence tool is available (a depgraph tool like modmap, or an MCP server like mache), applies the pr-review-kit discipline, teaches the result via explain-work, drills confirmed findings to method granularity, and emits a falsifiable matrix. Posts to GitHub only on explicit authorization; degrades gracefully when no structural tool is present. Use to review a peer's PR (or your own) with structure-aware rigor and a reproducible sequence.
jamestexas/agents · ★ 2 · AI & Automation · score 61
Install: claude install-skill jamestexas/agents
# Structural PR Review A deterministic, reproducible chain for reviewing one PR with structural awareness. It composes three things you already have — a **structural tool** (for blast radius + method-level drill-down), the **pr-review-kit** discipline (state, staleness, design-intent, verification rules, falsifiable matrix), and **explain-work** (teach the result so it sticks) — into a fixed sequence so every review lands the same shape of evidence. **Local by default. Post nothing, edit nothing, until the user explicitly says to post.** This is the one non-negotiable gate. ## Arguments `$ARGUMENTS` — a PR number (`123`), `owner/repo#123`, a Linear ticket ID (`ABC-123` → find its PR), or nothing (auto-detect from the current branch). --- ## Phase 0 — Resolve the target and authorship 1. Resolve `$ARGUMENTS` to `OWNER`, `REPO`, `N`. If a Linear ID, resolve its linked PR first. If empty, `gh pr list --head "$(git branch --show-current)"`. 2. Authorship sets teaching emphasis downstream (Phase 6): `AUTHOR=$(gh pr view N --json author --jq .author.login)`; `ME=$(gh api user --jq .login)`. `AUTHOR == ME` → own work (domain onboarding). Else → peer (findings-teaching). --- ## Phase 1 — Detect the structural tool (the pluggable slot) Probe, in order; bind the first available as `$TOOL` and record which verbs it offers. Never block on absence — a missing tool degrades the review, it does not stop it. | Capability the chain wants | Provided by (examples) | Detec