skill-pr-reviewlisted
Install: claude install-skill saitarrun/Sdlc-ai-workflow
# Skill: Pull Request Code Review
Multi-angle code review using 5 parallel agents + confidence scoring. Audits CLAUDE.md compliance, detects bugs, checks git history, reviews prior feedback, validates comment guidance. Filters issues by confidence (≥80) to reduce false positives.
## Process Overview
```
1. Eligibility check (Haiku)
├─ Skip if: closed, draft, automated, trivial, already reviewed
│
2. Collect CLAUDE.md files (Haiku)
├─ Root CLAUDE.md + phase-specific CLAUDE.md files
│
3. Get PR summary (Haiku)
├─ Understand the change at high level
│
4. Parallel 5-agent review (5x Sonnet)
├─ Agent #1: CLAUDE.md compliance audit
├─ Agent #2: Shallow bug scan (large bugs only)
├─ Agent #3: Git blame & history context
├─ Agent #4: Prior PR comments (similar files)
└─ Agent #5: Code comments in modified files
│
5. Confidence scoring (Parallel Haiku agents)
├─ Score each issue 0-100
├─ Filter: keep only score ≥ 80
│
6. Final eligibility check (Haiku)
├─ Verify PR still eligible (not closed/merged while reviewing)
│
7. Post comment via gh (Bash)
└─ Format: brief description, file link with full SHA, line range
```
## Step 1: Eligibility Check
Skip review if:
- **Closed**: PR is already closed
- **Draft**: PR marked as draft
- **Automated**: Author is bot/automation (e.g., dependabot)
- **Trivial**: Obvious fix (typo, docs, one-liner) with no risk
- **Pre-reviewed**: You already reviewed this PR earlier
Use:
```bash
gh pr vie