branch-review-before-pr

Review code branches for security and functional issues before merging.

5|Updated Jun 22, 2026
One-click install
npx skills add https://github.com/namanchopra/branchwater --skill branch-review-before-pr-namanchopra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: branch-review-before-pr
Source: https://github.com/namanchopra/branchwater/tree/main/.claude/skills/branch-review-before-pr
Command: npx skills add https://github.com/namanchopra/branchwater --skill branch-review-before-pr-namanchopra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers identify and mitigate critical issues in code branches before they are merged into the main branch, preventing potential integration conflicts and security vulnerabilities.

Core Features & Use Cases

  • Pre-Landing Code Review: Analyzes the differences between the current branch and the main branch to detect potential issues like query safety, race conditions, and trust boundary violations.
  • Blocking and Informational Issues: Flags critical issues that block the merge process and provides informational issues for reference.
  • Customizable Checklists: Uses a checklist for detailed analysis, allowing customization to meet specific project requirements.

Quick Start

Run /branch-review-before-pr to start the review process.

Frequently Asked Questions about branch-review-before-pr

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

FAQPage Schema
How do I run a pre-merge code review to check for race conditions and security issues?

To run a pre-merge code review, execute the command `/branch-review-before-pr` to analyze branch differences and detect race conditions, trust boundary violations, and query safety issues. It flags blocking issues and informational references to ensure code integrity.

What is pre-merge code review and when do I need to check my branch?

Pre-merge code review is the process of analyzing differences between a current branch and the main branch to identify security vulnerabilities and functional issues. You need this check before merging to prevent integration conflicts and mitigate critical security risks.

Can I customize the code review checklist for specific project requirements?

Yes, you can customize the code review checklist for specific project requirements. The Skill uses a detailed checklist for analysis that allows customization to meet specific project requirements, ensuring targeted detection of data integrity and authentication issues.

Do I need Git installed to conduct a security check before merging?

Yes, you need Git installed to conduct a pre-merge security check. The Skill requires Git to analyze differences between the current branch and the main branch, and it uses specific analysis scripts to check for query safety, race conditions, and trust boundary violations.

What's the best way to identify trust boundary violations in source code repositories?

The best way to identify trust boundary violations is by running a comprehensive pre-merge code review. The Skill analyzes your source code repositories using specific scripts to detect trust boundary violations, query safety issues, and race conditions before merging.

Why does my pre-merge review flag informational issues instead of blocking the merge?

A pre-merge review flags informational issues instead of blocking the merge because these are non-critical references rather than severe security vulnerabilities or functional problems. The Skill distinguishes between critical blocking issues that halt merging and informational issues for developer reference.