The Problem

A single developer with Claude Code gets a blank prompt and ad-hoc habits. No structured roles, no enforced review, no repeatable release process. The result is AI-generated code that ships without design review, QA, or security checks — fast but sloppy. gstack addresses this by turning Claude Code into a virtual engineering organization with defined roles and gates.

What This Does

gstack is a set of 23 Claude Code slash-command "specialists" (CEO, Eng Manager, Designer, QA, Release Manager, Security Officer) plus 8 power tools, all implemented as Markdown skill files and TypeScript CLIs. The bin/ directory holds 82 gstack-* executables covering everything from bin/gstack-verify-gate (CI gates) to bin/gstack-ios-qa-daemon (mobile QA). The browse/ directory (240 files) implements a real browser automation layer via CDP — browse/src/browser-manager.ts, browse/src/cdp-bridge.ts — so QA agents can open actual pages, not mocks. The autoplan/ directory contains the planning pipeline with phase documents (ceo-phase.md, design-phase.md, eng-phase.md).

The README claims the author ships at ~810× their 2013 pace using this tooling, with a methodology doc at docs/ON_THE_LOC_CONTROVERSY.md.

How It Is Wired

Control flow starts in Claude Code, which loads skill files (SKILL.md templates in autoplan/, browse/, design/). Those skills invoke the bin/gstack-* CLI scripts. Three main entry points matter: browse/src/cli.ts (browser automation CLI), browse/src/server.ts (local HTTP server for browser sessions), and design/src/cli.ts (design review). The browser server manages Chrome via CDP, handles cookies, screenshots, and network capture — it touches the filesystem for session persistence (browse/src/session-persist.ts) and the network for CDP traffic.

The wiring is extensive but not yet fully mapped for this briefing. The test/ directory (482 files) and 723 total test files suggest the tooling tests itself heavily. CI runs through both .gitlab-ci.yml and 14 GitHub workflow files covering quality gates, dependency review, and OSV scanning.

How To Use It

Setup requires Claude Code, Git, and Bun v1.0+. From the README:

git clone --single-branch --depth 1 https://github.com/garrytan/gstack

Then inside Claude Code, run /office-hours to describe the project, /plan-ceo-review for feature planning, /review on a branch, and /qa on a staging URL. Configuration lives in .env.example; the bin/gstack-config script manages settings.

Real-World Use

A solo founder building a SaaS product: run /office-hours to define scope, /plan-ceo-review to get architecture decisions, iterate with the engineer role, then run /review before merging. The QA specialist launches a real browser via browse/src/server.ts, clicks through the staging URL, and files issues. The release manager produces the PR. This replaces a 5-person team's process for one person.

Code Health & Issues

Static analysis flagged one issue:

  • Lowlib/diagram-render/package.json declares dependencies without a lockfile, making builds non-reproducible.

The repo otherwise shows strong hygiene: 723 test files, 14 CI workflows, OSV scanner config, dependency review, and a secret-scan gate (.github/scripts/gate-secret-scan.mjs). The docs/ directory (49 files) and ARCHITECTURE.md suggest maintained documentation. The 82 CLI scripts in bin/ are a maintenance surface — each is a potential integration point that can drift.

The Bottom Line

gstack is a serious, opinionated toolkit for AI-assisted development with real engineering discipline behind it: tests, CI, security scanning, and structured roles. It is a fork of a 130K-star repository and carries that lineage's maturity. It is not a library you import — it is a workflow you adopt, and its value depends entirely on how closely you align with Garry Tan's process. Worth trying if you live in Claude Code and ship solo; overkill if you already have a team process.