pr-review-lead

Reviews pull requests against KATA doctrine with evidence-grounded findings and calibrated severity scoring.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/ahuaracab/test-genesis --skill pr-review-lead-ahuaracab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review-lead
Source: https://github.com/ahuaracab/test-genesis/tree/main/.agents/skills/pr-review-lead
Command: npx skills add https://github.com/ahuaracab/test-genesis --skill pr-review-lead-ahuaracab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Reviewing a teammate's test-automation pull request fairly requires knowing the repo's actual documented conventions, reading the real diff instead of the PR description, and separating genuine defects from stylistic deviations — a process that is easy to get wrong when done from memory or generic best practices. ## Core Features & Use Cases - Doctrine-grounded review: Loads the target repo's own AGENTS.md and KATA doctrine files (or probes an external repo via gh api) so every finding cites a concrete file:line or doctrine section, never an unverifiable claim. - Calibrated strictness and scoring: Runs a Flexible/Standard/Strict preflight, buckets findings into Real/Reliability, Pattern/Doctrine-deviation, and Positive categories, and produces a defensible score out of 10. - Interactive triage and safe posting: Presents findings for user triage, drafts praise-constructive-praise feedback, and posts to GitHub only after explicit confirmation. - Use Case: A QA lead asks to review a colleague's PR in an external repo (owner/repo#42); the skill probes that repo for its own doctrine, fetches per-file patches via gh api, flags a hardcoded credential as Critical with its file:line citation, notes a KATA pattern deviation as a Standard-level observation, and posts the approved feedback comment. ## Quick Start Ask the assistant to act as a QA lead and review pull request number 42 in owner/repo at Standard strictness, then triage the findings before posting any comment.

Frequently Asked Questions about pr-review-lead

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review a pull request in an external GitHub repo?

Provide the PR as owner/repo plus number, and the skill uses gh pr view and the paginated gh api pulls files endpoint to fetch metadata and per-file patches. It first probes the external repo for its own AGENTS.md or doctrine files and grades against those if they exist.

How does evidence-based PR review differ from a standard code review?

Every finding must cite a concrete file:line in the diff or a specific doctrine file and section, or be explicitly labeled as personal opinion. This prevents generic best-practice claims from being presented as repository rules.

Can I adjust how strict the pull request review is?

Yes, a mandatory preflight offers Flexible, Standard, or Strict levels. Flexible reports only real defects, Standard adds doctrine deviations as non-scoring observations, and Strict tags all documented-pattern deviations with minor score impact.

Does the skill post review comments to GitHub automatically?

No, it never posts without explicit confirmation. After findings are triaged and the feedback draft is shown, posting via gh pr comment happens only after an unambiguous go-ahead for that specific draft.

When should I use this instead of an adversarial pass/fail review?

Use it when you want calibrated severity, doctrine citations, and a numeric score for a colleague's finished PR. For a blind dual-adversarial APPROVED/ESCALATED verdict on a diff, the judgment-day skill is the documented alternative.