pre-push-review

Review local code changes with Claude AI and CodeRabbit before pushing.

459|737|Updated Apr 13, 2018
One-click install
npx skills add https://github.com/openshift/console --skill pre-push-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pre-push-review
Source: https://github.com/openshift/console/tree/main/.claude/skills/pre-push-review
Command: npx skills add https://github.com/openshift/console --skill pre-push-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive local code review using Claude AI and CodeRabbit before pushing changes to GitHub. This command analyzes your local changes and provides actionable feedback without posting anything to GitHub.

Core Features & Use Cases

  • Dual-AI analysis: Claude AI reviews diffs for code quality and security, while CodeRabbit surfaces deep structural issues and performance concerns.
  • Phase-driven workflow: identifies scope, diff, and file changes and produces a structured pre-push review summary.
  • Use Case: a developer on a feature branch runs /pre-push-review to validate changes locally before pushing to origin.

Quick Start

Run /pre-push-review to start a local, parallel AI-assisted review of your current changes against the selected base branch.

Frequently Asked Questions about pre-push-review

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

FAQPage Schema
How do I run a local code review on my git changes before pushing?

To run a local code review before pushing, execute the command to analyze your staged changes or commits against a base branch. The workflow gathers diffs and uses Claude AI and CodeRabbit to provide actionable feedback locally without posting anything to GitHub.

What is pre-push code review and how does it improve quality assurance?

Pre-push code review is the process of analyzing your local git diffs for security and quality issues before they reach the remote repository. It improves quality assurance by catching structural and performance concerns locally using parallel AI analysis.

Do I need CodeRabbit authentication to perform a local AI code review?

You do not need CodeRabbit authentication to perform a local AI code review, but it is required for the best results. If unavailable, the workflow still performs a Claude-only review and produces a detailed summary of your changes.

Can I review staged changes locally without pushing to GitHub?

Yes, you can review staged changes locally without pushing to GitHub. The analysis applies to both commits on a base branch and staged changes, providing a thorough multi-phase review summary entirely on your local machine.

What's the best way to analyze git diffs for security and structural issues?

The best way to analyze git diffs for security and structural issues is using a dual-AI approach. Claude AI reviews diffs for code quality and security, while CodeRabbit surfaces deep structural issues and performance concerns in a phase-driven workflow.

What happens if CodeRabbit is not available for my local code review?

If CodeRabbit is not available for your local code review, the workflow degrades gracefully. It performs a Claude-only review of your diffs and still generates a detailed summary of the code quality and security findings.