# gstack

> Slash-command skills that review, test and ship the code your coding agent writes

- Category: Agents & Automation / Agent Skills & Plugins
- Language: TypeScript
- Licence: MIT
- Repository: https://github.com/garrytan/gstack
- Canonical page: https://ai-tldr.dev/tools/gstack/

## In short

gstack is Slash-command skills that review, test and ship the code your coding agent writes. It was built by Garry Tan, President and CEO of Y Combinator, is free and MIT-licensed, and is written mainly in TypeScript on Bun. It sits in the Agent Skills & Plugins category of the Agents & Automation tools and is open-source, written in TypeScript and licensed MIT.

## Overview

gstack is a set of slash-command skills that turns a coding agent into what its README calls a small engineering team: a partner who pushes back on your idea, a reviewer who reads the diff for production bugs, a QA lead who opens a real browser, and a release engineer who ships the pull request. It was built by Garry Tan, President and CEO of Y Combinator, is free and MIT-licensed, and is written mainly in TypeScript on Bun.

The work runs as a loop. `/office-hours` challenges the framing of a request and writes a design doc that the later skills read; `/autoplan` runs CEO, design and engineering reviews of the plan and brings only the taste calls back to you; your agent builds; `/review` flags blocking bugs and fixes the obvious ones; `/qa` reproduces bugs in a browser, fixes the cause and adds a regression test; and `/gstack-ship` runs the tests, review and a docs check, then opens a PR whose body records what was checked. Throughout, a guard checks shell commands in Claude Code and asks on or blocks destructive ones such as `rm -rf`, `DROP TABLE` and force-push.

The project publishes its evaluations, losses included, in a separate gstack-evals repository and removes skills that do not beat the same model running without them — `/investigate` and `/cso` were deleted that way. Claude Code is the fully supported host; Codex CLI, OpenCode, Cursor, Factory Droid, Kiro, GitHub Copilot CLI, Antigravity CLI, Gemini CLI, OpenClaw and Hermes are listed as experimental installs in its host matrix.

## What it does

- `/office-hours` pushes back on the request and writes a design doc the other skills build on
- `/review` reads the diff for bugs that pass CI but break production, auto-fixes the obvious ones and asks about the rest
- `/qa` tests a site, API, CLI, job or webhook, reproduces bugs in a real browser, fixes them and re-verifies
- `/gstack-ship` runs tests, review and a docs check, then opens a PR with a receipt of what was verified
- A destructive-command guard (`/careful`, on by default in Claude Code) plus `/guard` for an edit lock
- Plan reviews (`/autoplan`, `/plan-ceo-review`, `/plan-eng-review`, `/plan-design-review`), `/build-check`, `/land-and-deploy` and a weekly `/retro`
- One `./setup --host <name>` installer for Claude Code and a dozen other agents, plus a `gstack-doctor` troubleshooter

## Getting started

gstack needs Claude Code, Git and Bun (plus Node.js on Windows). Installation clones the repo into Claude Code's skills folder and runs its setup script.

1. Install into Claude Code

   Clone the repository into your skills directory and run setup. New installs follow the stable release channel.

```bash
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup
```

2. Add the browsing rule

   Tell Claude Code to use gstack's own browser in your project's CLAUDE.md.

```markdown
## gstack
Use /browse from gstack for all web browsing. Never use mcp__claude-in-chrome__* tools.
```

3. Start with four skills

   Run `/office-hours` on an idea, let your agent build, then `/review` the diff, `/qa` the running app and `/gstack-ship` the pull request.

```bash
/office-hours
/review
/qa https://staging.myapp.com
/gstack-ship
```

4. Other coding agents

   Pick another host with `--host`, or install for every agent setup detects with `--host auto`; `--status` lists each install.

```bash
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/gstack
cd ~/gstack && ./setup --host auto      # or: ./setup --host codex
./setup --status
```

## When to use it

- Put a review and QA gate between an autonomous coding agent and the pull request it opens
- Block destructive shell commands an agent might run while working unattended in Claude Code
- Hand reviewers PRs that carry their own evidence: test counts, review rounds and checks cleared
- Pressure-test a product idea and plan before an agent spends tokens building it
