# /review: Catch production bugs in a diff before it merges

Source: https://trendhub.net/skills/garrytan-gstack/review
Skill folder: https://github.com/garrytan/gstack/tree/main/review
Pack: gstack (https://trendhub.net/skills/garrytan-gstack)
Works with: Claude Code, Claude Code (team mode for a shared repo), Codex, Cursor, OpenCode, Gemini CLI and other agents

This pre-landing review compares the branch with its base, checks for scope drift and missing requirements, then reads the full diff against a checklist. It lists every edit to tests, CI or snapshots for scrutiny, dispatches specialist and adversarial reviewers, and classifies each finding as auto-fix or ask. It never commits or opens PRs; that belongs to ship.

## When to use it

- A feature branch is ready and you want a careful review before opening a PR.
- An agent changed tests or CI settings and you want those edits looked at by name.
- You want review bot comments triaged alongside your own findings.

## How it works

1. **Check branch and scope**: The agent stops if there is no diff, then compares commit messages, TODOs and the PR body with the changed files.
2. **Read the full diff**: It reads the checklist and the complete diff, including untracked source, before commenting on anything.
3. **Scan gate edits**: Every change to tests, CI, lint config or snapshots is listed and reviewed, and an unavailable scan counts as missing coverage.
4. **Critical pass and specialists**: Only issues that would make tests fail, break production or lose data block the pass, and each one is searched for at sibling call sites.
5. **Fix first**: Findings become auto-fix or ask items; auto-fixes are applied and ask items wait for your approval.

## What it steers the agent away from

- Comments on issues the diff already fixes.
- Quietly weakened tests, timeouts or suppressions.
- Committing, pushing or opening a PR from the review.

## What it can touch

Runs git and helper scripts, reads code inside and outside the diff, edits source for approved fixes and records review logs.

## Pairs well with

- `/codex`
- `/qa`
- `/ship`

## Questions

### Will it change my code?

Yes for obvious, mechanical fixes. Critical or judgement calls are asked first, and gate edits such as test changes always need approval.

### Does it repeat findings I skipped before?

It suppresses a finding only if you skipped the same one earlier and its file has not changed since.
