garrytan/gstack

★ 143,145⑂ 21,110

Ship agent-written code you can trust: review, QA, a destructive-command guard and PRs that carry their own evidence, for Claude Code and other coding agents.

About garrytan/gstack

garrytan/gstack is an open-source project on GitHub, mainly written in TypeScript. Ship agent-written code you can trust: review, QA, a destructive-command guard and PRs that carry their own evidence, for Claude Code and other coding agents. It currently holds 143,145 stars and 21,110 forks with 42 open issues, and was last pushed on 2026-12-01 (repository created 2026-03-11).

Project Overview

Git Homed tracks it on the AI Agent Skills Trending board and on the AI AI Agent Skills Trending list.

GitHub Repository Details

Repository garrytan/gstack · default branch main · size 295844 KB · watchers 764 · source: GitHub REST API and repository README

README

gstack

gstack: ship agent-written code you can trust. Review that catches blocking bugs, a guard that catches destructive commands, and a PR that carries its own evidence. gstack tests itself in public against the same model running without it, and deletes the skills that lose.

It works like a small engineering team inside Claude Code and other coding agents: 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 PR. Start with /office-hours. You run it with slash commands, and it is free and MIT-licensed. Built by Garry Tan, President & CEO of Y Combinator, who uses it every day.

Read next: How one person's agent crews merged 197 PRs in 14 days, and what that number hides · Every eval, wins and losses · Why gstack

Measured

We delete what loses. /investigate was removed after a controlled eval found no measurable gain, and /cso was removed after a plain "audit this repo for security problems" request named more real security advisories in three tries. We publish every eval plan and result, losses included, in gstack-evals.

How it works

The gstack loop: /office-hours writes a design doc, /autoplan reviews the plan, your agent builds, /review flags blocking bugs, /qa reproduces and fixes bugs, and /gstack-ship opens a PR that shows what was checked. In Claude Code, a guard checks shell commands along the way.

An example session:

You:    I want to build a daily briefing app for my calendar.
You:    /office-hours
Claude: I'm going to push back on the framing. What you described is a
        personal chief of staff, not a briefing app.
        [challenges your premises, writes a design doc the next skills read]
You:    /autoplan
        [CEO, design and eng reviews of the plan; asks you only taste calls]
You:    Approve plan. Build it.
You:    /review
        [AUTO-FIXED] 2 issues. [ASK] Race condition → you approve the fix.
You:    /qa https://staging.myapp.com
        [opens a real browser, reproduces a bug, fixes it, adds a test]
You:    /gstack-ship
        Tests: 42 → 51 (+9 new). PR opened with the tests and review results.

Install — about 30 seconds

Needs Claude Code, Git and Bun v1.4.2+ (setup refuses Bun older than 1.3.3), plus Node.js on Windows. Run:

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

Then add the browsing rule to your project's CLAUDE.md:

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

New installs follow the stable release channel. Team mode, update channels, macOS, Linux and Windows notes, and the hooks setup registers are in docs/install.md. Codex, Cursor, OpenCode and other agents: docs/hosts.md. To remove gstack: docs/uninstall.md.

Start with four skills

| Skill | What it does | |-------|--------------| | /office-hours | Start here. Pushes back on your framing and writes a design doc the other skills read. | | /review | Reads your diff for bugs that pass CI and break production. Fixes the obvious ones and asks about the rest. | | /qa | Tests your site, API, CLI, job or webhook. Reproduces bugs, fixes the cause, adds a regression test where it can and re-verifies. | | /gstack-ship | Runs tests, review and a docs check, then opens a PR whose body shows what was checked. |

Stop there. You'll know if this is for you.

The rest of the sprint

| Skill | What it does | |-------|--------------| | /autoplan | Runs the plan reviews that apply (CEO, design, developer experience, eng) and brings the taste and scope calls to you in one approval. | | /plan-ceo-review | Rethinks the problem and finds the better product inside the request. | | /plan-eng-review | Locks architecture, data flow, edge cases and the test plan before code. | | /plan-design-review | Rates each design dimension 0 to 10 and edits the plan to get there. | | /build-check | Runs the repo's typecheck, lint, build and the tests your change needs; fixes and reruns until green, or says why it could not verify. | | /careful | Warns before destructive commands; on by default in Claude Code. /guard adds an edit lock. | | /land-and-deploy | Merges the PR, waits for CI and the deploy, and checks production health. | | /retro | Weekly retro: what shipped, streaks and test health. |

The plan reviews have not shown a measured gain yet, and the tests so far left them little room to show one (what we learned). Use them for the thinking they force.

Design, browser, iOS, memory, Capy factory and maintainer skills are listed by tier in docs/skills.md, with a deep dive for each.

gstack on Capy

The factory numbers above come from running gstack on Capy, where /captain directs crews of agent threads and lands verified pull requests through merge trains. These tools load only on Capy. Setup from zero: crew/docs/recommended-harness.md.

Troubleshooting

Run the doctor: ~/.claude/skills/gstack/bin/gstack-doctor (on other hosts, ./setup --status prints its path). It costs nothing and prints the fix for each problem. Every gstack message is explained in docs/troubleshooting.md; more help is in docs/install.md.

Privacy

Telemetry is off unless you opt in. The update check and outside reviews (which send code to Codex or Claude Code under your login) are on by default; each turns off with one setting (docs/privacy.md).

Docs

Skills · Install · Other agents · Releases · Support tiers · Architecture · Contributing · Changelog · All docs

---

We're hiring. Want to ship real products at AI-coding speed and help harden gstack?
Come work at YC — ycombinator.com/software
Extremely competitive salary and equity. San Francisco, Dogpatch District.

License

MIT. Free forever. Go build something.

GitHub Stars & Activity

143,145Stars
21,110Forks
42Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars143,145
Forks21,110
Open issues42
Primary languageTypeScript
LicenseMIT
Stars gained today0
Created2026-03-11
Last pushed2026-12-01

Trending History

Trending statusnot on today's boards

Related GitHub Projects

1

morluto / rea

TypeScript★ 487,898⑂ 0
→
2

deepseek-ai / deepseek-harness

TypeScript★ 290,449⑂ 0
→
3

firecrawl / firecrawl

TypeScript★ 215,819⑂ 0
→
4

stablyai / orca

TypeScript★ 153,114⑂ 0
→
5

thedotmack / claude-mem

TypeScript★ 121,484⑂ 0
→
6

paperclipai / paperclip

TypeScript★ 119,093⑂ 0
→
7

nexu-io / open-design

TypeScript★ 110,825⑂ 0
→
8

google-gemini / gemini-cli

TypeScript★ 109,547⑂ 0
→

More Trending Repositories