pr-review

Analyze git diffs and generate PASS or HOLD review reports.

5|2|Updated Jan 10, 2017
One-click install
npx skills add https://github.com/brujack/dotfiles --skill pr-review-brujack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/brujack/dotfiles/tree/main/.claude/skills/pr-review
Command: npx skills add https://github.com/brujack/dotfiles --skill pr-review-brujack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers often push changes without a final integrated check, risking security flaws, failing tests, or unsafe infrastructure changes. This skill provides an automated gate that reviews the entire pull request before it is pushed.

Core Features & Use Cases

  • Scope Detection – Analyzes the git diff to identify languages and tools present.
  • Multi‑Language Checks – Loads language‑specific reference guides for Rust, Python, Bash, PowerShell, Ansible, and Terraform.
  • Comprehensive Review Phases – Security, test coverage, logic correctness, code quality, documentation, and IaC safety.
  • Structured Verdict – Generates a PASS/HOLD report with detailed findings and next‑step recommendations.
  • Use Case – Ideal for any feature branch where you need a final safety net before pushing to main or develop.

Quick Start

Run /pr-review in your Claude Code session to perform a full pre‑push review of the current branch.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I automate a pre-push code review for security and test failures?▼

Automating a pre-push code review involves analyzing the git diff to run language-specific security, test, and IaC checks, generating a structured PASS or HOLD verdict before committing changes to main or develop branches.

What is an automated pre-push review and how does it work?▼

An automated pre-push review is a safety gate that analyzes your current git diff, detects the languages and tools present, and runs multi-phase checks for security, logic, and IaC safety to produce a detailed markdown report.

Does pre-push review work with Terraform and Ansible infrastructure code?▼

Yes, pre-push review works with Terraform and Ansible by loading language-specific reference guides to perform comprehensive IaC safety checks, alongside analyzing Rust, Python, Bash, and PowerShell code.

Do I need git and language toolchains installed to run a pre-push code review?▼

Yes, you need git to analyze the diff and access to language toolchains like cargo, python, ansible, and terraform to run the language-specific checks required for generating the final PASS or HOLD verdict.

What's the best way to catch unsafe IaC changes before pushing to main?▼

The best way to catch unsafe IaC changes is running an automated pre-push review that analyzes your git diff, applies Terraform and Ansible specific safety checks, and outputs a HOLD verdict if problems are detected.

What limitations should I expect when automating git diff code reviews?▼

Limitations include requiring local access to specific language toolchains like cargo and terraform for checks, and the review is scoped only to branches targeting main or develop, producing a markdown report rather than directly blocking the push.