$npx -y skills add wednesday-solutions/ai-agent-skills --skill pr-review-agentFull PR review orchestrator. Use when asked to review a PR or check if it is ready to merge. Runs blast radius + drift check on changed files, then hands off to pr-review for comment triage and fixes. Do NOT use pr-review directly for full reviews — use this.
| 1 | # PR Review Agent |
| 2 | |
| 3 | ## When to use |
| 4 | - "Review this PR" |
| 5 | - "Is this PR ready to merge?" |
| 6 | - "Check this PR for issues" |
| 7 | - PR is open and review comments have been posted |
| 8 | |
| 9 | ## What to do |
| 10 | |
| 11 | 1. **triage-read** — Fetch all review comments via `gh pr view --comments`. Sort by impact: security → breaking → logic → performance → naming → style. Present the full categorised list to the dev. |
| 12 | |
| 13 | 2. **In parallel:** |
| 14 | - **brownfield-fix** — Run `wednesday-skills score` and `wednesday-skills blast` on every file changed in the PR. Flag any file with risk > 60. |
| 15 | - **brownfield-drift** — Run `wednesday-skills drift --since <base-sha>`. Report any architecture violations introduced by this PR. |
| 16 | |
| 17 | 3. Present a unified report: |
| 18 | - Review comments (categorised) |
| 19 | - High-risk changed files (score + dependent count) |
| 20 | - Architecture violations (if any) |
| 21 | |
| 22 | 4. **triage-fix** — Wait for dev approval: "@agent fix #N" or "@agent fix all". Apply fixes in priority order. Read git-os skill before committing. One commit per fix item. |
| 23 | |
| 24 | ## Never |
| 25 | - Fix without explicit dev approval |
| 26 | - Skip blast radius check — always run even for small PRs |
| 27 | - Skip drift check — always run even if no violations are expected |
| 28 | - Bundle multiple file fixes in one commit |
| 29 | - Force-push or silently skip a failed fix |