Xpersona
G

gstack-review-skill

CLAWHUB · Unverified

Garry Tan's gstack-inspired multi-perspective code review for OpenClaw. Triggered when user asks to review code, run /review, review a PR/branch/changes, or... Skill: gstack-review-skill Owner: klesenchang Summary: Garry Tan's gstack-inspired multi-perspective code review for OpenClaw. Triggered when user asks to review code, run /review, review a PR/branch/changes, or... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-27T16:42:12.644Z | user - Initial release of gstack-review providing a multi-perspective code review framework for OpenClaw. - Reviews code from CEO (pr

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bfbb7sbr07teev94kw17qmd83qqv5:gstack-review-skill
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-klesenchang-gstack-review-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

10,020 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: gstack-review
version: 1.0.0
description: |
  Garry Tan's gstack-inspired multi-perspective code review for OpenClaw.
  Triggered when user asks to review code, run /review, review a PR/branch/changes,
  or wants a thorough code review with business, engineering, and QA perspectives.
  Analyzes git diffs, runs tests, checks code quality, and provides actionable feedback
  from three viewpoints: CEO (product value), Engineering (architecture), QA (correctness).
---

# gstack-review: Multi-Perspective Code Review

## Review Framework

When asked to review code, follow this three-perspective framework. Run all steps systematically.

### Step 0: Detect What to Review

**Priority order for review scope:**
1. Uncommitted changes (`git diff HEAD`) — if working directory is dirty
2. Specific files mentioned by user
3. Branch diff vs main — if on a feature branch
4. Recent commits — if no clear scope

```bash
# Check working tree status
git status --short

# Get uncommitted changes
git diff HEAD

# Get committed changes on current branch vs origin/main
BRANCH=$(git branch --show-current 2>/dev/null || git rev-parse --abbrev-ref HEAD 2>/dev/null)
MAIN_BRANCH=$(git main-branch 2>/dev/null || echo "main")
git log ${MAIN_BRANCH}..${BRANCH} --oneline 2>/dev/null | head -20
git diff ${MAIN_BRANCH}..${BRANCH} 2>/dev/null | head -500

# List changed files
git diff --name-only ${MAIN_BRANCH}..${BRANCH} 2>/dev/null
```

### Step 1: Gather Context

Before reviewing, collect:

```bash
# Project type and language
ls *.json *.toml *.yaml *.gradle *.xml Makefile package.json 2>/dev/null | head -5
cat package.json 2>/dev/null | grep '"name"\|"scripts"' | head -5

# Run tests (silently, capture exit code)
TEST_OUTPUT=$(npm test 2>&1 || pytest 2>&1 || cargo test 2>&1 || true)
TEST_EXIT=$?

# Type check / lint
LINT_OUTPUT=$(npm run lint 2>&1 || npx tsc --noEmit 2>&1 || true)

# Build check
BUILD_OUTPUT=$(npm run build 2>&1 || cargo build 2>&1 || true)
BUILD_EXIT=$?
```

### Step 2: Read Changed Files

For each changed file, read the full content to understand context. Don't just look at the diff — read the surrounding code.

```
For each file in the diff:
  1. Read the full file (not just changed lines — context matters)
  2. Identify what the code actually does vs. what the diff claims
  3. Note any files that are only binary/generated (skip detailed review)
```

### Step 3: CEO / Product Perspective

**Ask: Does this code serve the business and users?**

Review from a product-thinking perspective:
- **Correctness**: Does this actually solve the stated problem?
- **Complexity**: Is this 10x simpler than the previous approach? Or did we add an abstraction layer that solves nothing?
- **Product signal**: Is this a feature users asked for, or engineer-invented complexity?
- **Scope creep**: Did the diff grow beyond its original purpose?
- **Tech vs business**: Is this engineering for its own sake, or does it genuinely ship value?

**Key question:** "If I had to expl

_meta.json

{
  "ownerId": "kn75fpj1nex2hw22az6ms791z1805507",
  "slug": "gstack-review-skill",
  "version": "1.0.0",
  "publishedAt": 1774629732644
}

skill-card.md

## Description:

Garry Tan's gstack-inspired multi-perspective code review for OpenClaw that analyzes git diffs, runs project checks, and returns actionable feedback from product, engineering, and QA viewpoints.

This skill is ready for commercial/non-commercial use.

## Publisher:

[klesenchang](https://clawhub.ai/user/klesenchang)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineering teams use this skill to review uncommitted changes, branches, pull requests, or specified files through product, architecture, and QA lenses. It helps structure findings, test status, build and lint results, and concrete action items for code review decisions.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill may run repository test, lint, type-check, and build commands that execute code from the project under review.

Mitigation: Use static review for untrusted changes, or run checks in a disposable sandbox with no credentials and restricted network access.

## Reference(s):

- [gstack](https://github.com/garrytan/gstack)

## Skill Output:

**Output Type(s):** [Analysis, Markdown, Shell commands, Guidance]

**Output Format:** [Markdown review report with inline shell commands and action items]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Review output is organized by CEO/Product, Engineering, and QA perspectives with summary, check status, verdicts, and prioritized action items.]

## Skill Version(s):

1.0.0 (source: frontmatter, release evidence, artifact metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to gstack-review-skill and adjacent AI workflows.