structural-pr-reviewlisted
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