Skills DirectoryCurated open-source Skills from GitHub

reviewcommit ed10791 · v1.0.0SKILL.md · Code Review

gstack Pre-Landing PR Review

Reviews a PR's diff against the base branch for structural issues tests miss, auto-fixing mechanical findings and asking before others.

Applies some fixes without asking, may reply to Greptile comments on the PR, and logs telemetry through gstack scripts.

npx skills add garrytan/gstack --skill review
Permissions
  • read-repo
  • write-files
  • shell
  • network
Compatible with
Claude Code, Codex, Cursor, Copilot
GitHub
138.5k
Source
Community · Garry Tan
Status
Scan passed
License
MIT
Category
Code Review

Core rule

Fix-first, not read-only: AUTO-FIX items are applied directly, ASK items only after approval, and it never commits, pushes or creates PRs.

Execution Phases

  1. Phase 01Find base and scope

    Detect the git host and base branch, confirm a diff exists, and check scope drift against TODOS.md, commits and the PR description.

  2. Phase 02Read checklist and diff

    Read the review checklist and any Greptile comments, get the full diff, and run the diff scans.

  3. Phase 03Critical pass

    Run the CRITICAL then INFORMATIONAL passes, sweep other call sites for the same pattern, and add specialist, exploratory QA and adversarial reviews.

  4. Phase 04Fix-first

    Classify findings as AUTO-FIX or ASK, apply the former directly, batch-ask about the latter, and apply approved fixes.

  5. Phase 05Re-review and record

    Re-review after edits (at most 3 cycles), persist the review result, reply to Greptile comments, and report.

Permissions (summarised from SKILL.md)

CapabilityNeededDetails
File writesRequiredEdits code directly for AUTO-FIX items and after approval for ASK items; never commits or pushes.
Command executionRequiredRuns git, gh/glab, gstack helper scripts and exploratory QA probes.
Network outboundRequiredMay use WebSearch to research fixes, read PR data via gh, and reply to Greptile comments.

SKILL.md frontmatter (YAML)

SKILL.md frontmatter (YAML)commit ed10791 · v1.0.0
---
name: review
preamble-tier: 4
version: 1.0.0
description: Review this PR's diff. (gstack)
allowed-tools:
  - Bash
  - Read
  - Edit
  - Write
  - Grep
  - Glob
  - Agent
  - AskUserQuestion
  - WebSearch
triggers:
  - review this pr
  - code review
  - check my diff
  - pre-landing review
---

Related skills

A rule scan cannot catch every risk. Read this skill's SKILL.md and check its permissions before installing.