gstack README

README проекта с github.com/garrytan/gstack. Одним файлом markdown: README.md.

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. See the cut list for the numbers and alternatives, or browse every eval plan and result in gstack-evals.

How it works

Captured /qa, /review, and /gstack-ship demo run on a billing app.

64-second run where /qa fixes a browser bug, /review flags a payout race with a second model, and /gstack-ship opens a PR with its check record (re-record).

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 and can auto-install pinned, checksum-verified Bun if missing), 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

Or add the Claude Code plugin with /plugin marketplace add garrytan/gstack and /plugin install gstack@gstack.

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 stable. Team mode, channels, platform notes and hooks live in docs/install.md. Codex CLI now has full support; other agents live in docs/hosts.md. Uninstall steps live in 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.

Turn on the opt-in PR receipt footer (gstack-config set pr_receipt_footer true) for a commit-bound check line; opted-in public PRs feed the weekly public count.

Real PR check record

Shipped check record from PR 4923 with commit SHA, tests, and second-model review.

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 covering what shipped, streaks, test health and the weekly digest.

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.

Running parallel crews

The factory numbers above come from Capy, where /captain runs agent crews and lands verified PRs in merge trains (setup). Without Capy, run local Claude Code or Codex CLI worktrees via crew/bin/gstack-crew (Captain without Capy (local worktrees)).

Real 18-PR release

v1.105.3.0 release notes showing 18 verified PRs landed together.

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 · Cut list · Install · Other agents · PR receipt · Weekly digest · 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.

gstack (garrytan/gstack)

Ищем в базе…

143.1K ·GitHub
Что это такое?gstack — это персональная настройка Claude Code от Гарри Тана: набор из 23 навыков (skills) со своим подходом, которые внутри Claude Code работают как полноценная инженерная команда (CEO, инженерный менеджер, дизайнер, ревьюер, QA, специалист по безопасности, инженер релизов).
Это библиотека для кода или что-то другое?Это не библиотека и не фреймворк, который подключают к коду. Это 23 узкоспециализированных навыка и 8 мощных инструментов, все реализованы как слэш-команды в формате Markdown, которые работают внутри Claude Code (или в других поддерживаемых ИИ-агентах для программирования).
Как установить gstack?Вставьте инструкции по установке в Claude Code: он клонирует gstack в ~/.claude/skills/gstack и запускает ./setup. Затем выполните /office-hours, чтобы описать, что вы создаёте, и последовательно пройдите /plan-ceo-review, /review и /qa.
Что нужно установить до запуска setup?Нужны Claude Code, Git и Bun v1.0+; Node.js требуется только в Windows. На macOS рекомендуется браузер Aside (macOS 15+), чтобы навыки для работы с браузером использовали ваши реальные сессии, в которые вы уже вошли, а не встроенный резервный браузер.
Работает ли gstack как набор разрозненных команд или нужно следовать его процессу?gstack построен как спринт-процесс, а не как набор отдельных инструментов: навыки передают результаты друг другу по порядку (Think, Plan, Build, Review, Test, Ship, Reflect). Без браузера Aside на macOS навыки, которые работают с браузером, переходят на встроенный в gstack браузер вместо ваших авторизованных сессий.
Для кого это создано?Для основателей и CEO, которые всё ещё хотят писать код, для тех, кто впервые использует Claude Code и хочет структурированные роли вместо пустого промпта, а также для техлидов и ведущих инженеров (staff engineers), которым нужны строгая проверка кода, QA и автоматизация выпуска для каждого PR.
Работает ли gstack только с Claude Code?Нет. Он поддерживает 10 ИИ-агентов для программирования, включая OpenAI Codex CLI, OpenCode, Cursor, Factory Droid, Kiro, Slate, OpenClaw, Hermes и GBrain. Установка автоматически определяет, какие из них у вас есть. Любой другой агент, который читает файлы с правилами, может использовать облегчённую сводку, содержащую только инструкции.
Есть ли подвох с лицензией или ценой?Подвоха нет: gstack полностью бесплатен и распространяется по лицензии MIT, его можно форкать и изменять.
Что на самом деле делает навык /office-hours?Он начинается с шести жёстких вопросов, которые оспаривают вашу формулировку продукта ещё до написания кода, и создаёт проектный документ (design doc), на который опираются все последующие навыки (проверка CEO, инженерная проверка, QA).
Как gstack связан с OpenClaw?OpenClaw запускает сессии Claude Code через ACP, поэтому после установки gstack для Claude Code вы можете просто общаться со своим агентом OpenClaw обычным языком (например, попросить провести аудит безопасности). Он запустит подходящий навык gstack, например /cso или /autoplan.
Продолжает ли gstack работать автоматически после установки в общем репозитории?Да. «Командный режим» настраивает репозиторий так, что участники команды получают gstack автоматически, с тихой ежечасной проверкой обновлений. Сторонние файлы в репозиторий не копируются, и ручные обновления не нужны.
Что происходит именно с OpenAI Codex?Установка читает модель, указанную в вашем файле Codex config.toml, и генерирует соответствующий профиль поведения (если модель не задана, используется модель по умолчанию). Для некоторых моделей, например gpt-5.6-sol, предусмотрены особые инструкции с ограниченным объёмом работы.
Какие есть похожие проекты?pstack, superpowers-zh, testsprite-cli, pstack-claude, open-pstack, tokscale, newsjack, nuwa-skill
Автор
garrytan
Размер
284.9 MB
Звёзды
143.1K
Возраст
8 мес
Коммиты · 90 дней