review

Analyze git diffs for security vulnerabilities and code issues.

3|14|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/cegit27/moodle-proctor --skill review-cegit27
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: review
Source: https://github.com/cegit27/moodle-proctor/tree/main/.claude/skills/gstack/review
Command: npx skills add https://github.com/cegit27/moodle-proctor --skill review-cegit27

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pull requests often contain subtle bugs like SQL injection, race conditions, and LLM trust boundary violations that standard reviews miss, leading to production incidents and security breaches.

Core Features & Use Cases

  • Two-Pass Diff Analysis: Scans git diffs against the base branch for critical issues (SQL safety, race conditions, shell injection, enum completeness) and informational issues (async mixing, column safety, dead code).
  • Specialist Subagents: Delegates to parallel specialists for testing gaps, security flaws, performance bottlenecks, data migration risks, and API contract breaks.
  • Greptile Integration: Fetches and triages automated review comments from Greptile, classifying them as valid, false positives, or already fixed, and replies with evidence-based responses.
  • Fix-First Review: Auto-fixes mechanical issues like N+1 queries and magic numbers while escalating security and design decisions to human judgment.

Quick Start

Use the review skill to analyze the current branch diff against main and report any critical or informational issues found.

Frequently Asked Questions about review

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

FAQPage Schema
How do I check a git diff for SQL injection and race conditions before merging?▼

Pre-landing code review identifies security flaws like SQL injection and shell injection by analyzing git diffs against the base branch. It uses specialist subagents to scan for critical issues before code reaches production, ensuring zero-defect shipping standards.

What is two-pass diff analysis in pre-landing pull request review?▼

Two-pass diff analysis is a pre-landing pull request review methodology that first scans git diffs for critical issues like SQL safety and race conditions, then identifies informational issues like async mixing and dead code. It delegates to parallel specialists for testing, security, and performance concerns.

How do I automate fixing mechanical code issues like N+1 queries in a pull request?▼

To automate fixing mechanical code issues like N+1 queries in a pull request, apply fix-first review heuristics. This approach auto-fixes mechanical issues including magic numbers while escalating security and design decisions to human judgment during the diff analysis process.

Can I use Greptile to triage automated review comments on a pull request?▼

Yes, you can use Greptile integration to triage automated review comments on a pull request. It fetches comments from Greptile, classifies them as valid, false positives, or already fixed, and replies with evidence-based responses during the code review process.

What security vulnerabilities should I look for in a pre-landing code review?▼

In a pre-landing code review, you should look for security vulnerabilities including SQL injection, shell injection, race conditions, and LLM trust boundary violations. Specialist subagents analyze the git diff to detect these critical flaws and enum completeness gaps before merging.

Does pre-landing diff analysis work without external dependencies?▼

Pre-landing diff analysis works without external dependencies by using specialist subagents to scan git diffs internally. However, Greptile integration is available as an optional component for fetching and triaging automated review comments on pull requests.