@Hamburgerai: Many AI programming failures aren't because the first version of the code can't be written, but because requirements aren't clarified, designs aren't reviewed, code reviews aren't thorough, QA isn't actually run, and no one wraps up before release. When working solo, these steps are the easiest to skip. `garrytan/gstack` turns this into a Claude...
Summary
gstack is an open-source software factory that provides a structured workflow for Claude Code, turning it into a virtual engineering team with slash commands for each development phase. It helps solo developers ship like a team by enforcing engineering discipline.
View Cached Full Text
Cached at: 05/08/26, 09:37 PM
Many AI coding projects fail not because the first version of the code can’t be written, but because requirements weren’t clarified, design wasn’t reviewed, code review wasn’t thorough, QA wasn’t actually run, and no one did the final integration check before release. When working solo, these steps are the easiest to skip. garrytan/gstack turns this into a Claude Code workflow. The README describes it as an open source software factory, using slash commands to compress the roles of product, engineering, design, QA, security, and release into a single pipeline. Its core idea is simple: make Claude Code not just write code, but drive delivery through Think → Plan → Build → Review → Test → Ship → Reflect.
· Sprint structure is clear: the README explicitly lays out Think -> Plan -> Build -> Review -> Test -> Ship -> Reflect, with each step having a corresponding skill.
· Commands map to real work: /office-hours to clarify ideas, /plan-ceo-review for product judgment, /review to catch production risks, /qa to open a real browser for testing, /ship to close out the release.
· Installation path is clear: recommended to clone the repo to ~/.claude/skills/gstack and run ./setup; teams can use ./setup --team for sharing.
· More than roleplay: the README emphasizes that each skill passes its output to the next step — for example, design docs, test plans, review results, and release checks can all be chained together.
It’s designed for people who are already seriously using Claude Code for product development, long-term projects, and real delivery; not for those who just want AI to quickly tweak a small script. gstack’s value isn’t in making AI generate more lines of code — it’s in locking down the engineering steps that are easiest to skip.
Repo: #ClaudeCode #AI编程 #开发工作流 #GitHub开源
garrytan/gstack
Source: https://github.com/garrytan/gstack
gstack
“I don’t think I’ve typed like a line of code probably since December, basically, which is an extremely large change.” — Andrej Karpathy (https://fortune.com/2026/03/21/andrej-karpathy-openai-cofounder-ai-agents-coding-state-of-psychosis-openclaw/), No Priors podcast, March 2026
When I heard Karpathy say this, I wanted to find out how. How does one person ship like a team of twenty? Peter Steinberger built OpenClaw (https://github.com/openclaw/openclaw) — 247K GitHub stars — essentially solo with AI agents. The revolution is here. A single builder with the right tooling can move faster than a traditional team.
I’m Garry Tan (https://x.com/garrytan), President & CEO of Y Combinator (https://www.ycombinator.com/). I’ve worked with thousands of startups — Coinbase, Instacart, Rippling — when they were one or two people in a garage. Before YC, I was one of the first eng/PM/designers at Palantir, cofounded Posterous (sold to Twitter), and built Bookface, YC’s internal social network.
gstack is my answer. I’ve been building products for twenty years, and right now I’m shipping more products than I ever have. In the last 60 days: 3 production services, 40+ shipped features, part-time, while running YC full-time. On logical code change — not raw LOC, which AI inflates — my 2026 run rate is ~810× my 2013 pace (11,417 vs 14 logical lines/day). Year-to-date (through April 18), 2026 has already produced 240× the entire 2013 year. Measured across 40 public + private garrytan/* repos including Bookface, after excluding one demo repo. AI wrote most of it. The point isn’t who typed it, it’s what shipped.
The LOC critics aren’t wrong that raw line counts inflate with AI. They are wrong that normalized-for-inflation, I’m less productive. I’m more productive, by a lot. Full methodology, caveats, and reproduction script: On the LOC Controversy.
2026 — 1,237 contributions and counting:
GitHub contributions 2026 — 1,237 contributions, massive acceleration in Jan-Mar
2013 — when I built Bookface at YC (772 contributions):
GitHub contributions 2013 — 772 contributions building Bookface at YC
Same person. Different era. The difference is the tooling.
gstack is how I do it. It turns Claude Code into a virtual engineering team — a CEO who rethinks the product, an eng manager who locks architecture, a designer who catches AI slop, a reviewer who finds production bugs, a QA lead who opens a real browser, a security officer who runs OWASP + STRIDE audits, and a release engineer who ships the PR. Twenty-three specialists and eight power tools, all slash commands, all Markdown, all free, MIT license.
This is my open source software factory. I use it every day. I’m sharing it because these tools should be available to everyone. Fork it. Improve it. Make it yours. And if you want to hate on free open source software — you’re welcome to, but I’d rather you just try it first.
Who this is for:
- Founders and CEOs — especially technical ones who still want to ship
- First-time Claude Code users — structured roles instead of a blank prompt
- Tech leads and staff engineers — rigorous review, QA, and release automation on every PR
Quick start
- Install gstack (30 seconds — see below)
- Run
/office-hours— describe what you’re building - Run
/plan-ceo-reviewon any feature idea - Run
/reviewon any branch with changes - Run
/qaon your staging URL - Stop there. You’ll know if this is for you.
Install — 30 seconds
Requirements: Claude Code (https://docs.anthropic.com/en/docs/claude-code), Git (https://git-scm.com/), Bun (https://bun.sh/) v1.0+, Node.js (https://nodejs.org/) (Windows only)
Step 1: Install on your machine
Open Claude Code and paste this. Claude does the rest.
Install gstack: run
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setupthen add a “gstack” section to CLAUDE.md that says to use the /browse skill from gstack for all web browsing, never use mcp__claude-in-chrome__* tools, and lists the available skills: /office-hours, /plan-ceo-review, /plan-eng-review, /plan-design-review, /design-consultation, /design-shotgun, /design-html, /review, /ship, /land-and-deploy, /canary, /benchmark, /browse, /connect-chrome, /qa, /qa-only, /design-review, /setup-browser-cookies, /setup-deploy, /setup-gbrain, /retro, /investigate, /document-release, /codex, /cso, /autoplan, /plan-devex-review, /devex-review, /careful, /freeze, /guard, /unfreeze, /gstack-upgrade, /learn. Then ask the user if they also want to add gstack to the current project so teammates get it.
Step 2: Team mode — auto-update for shared repos (recommended)
From inside your repo, paste this. Switches you to team mode, bootstraps the repo so teammates get gstack automatically, and commits the change:
bash (cd ~/.claude/skills/gstack && ./setup --team) && ~/.claude/skills/gstack/bin/gstack-team-init required && git add .claude/ CLAUDE.md && git commit -m "require gstack for AI-assisted work"
No vendored files in your repo, no version drift, no manual upgrades. Every Claude Code session starts with a fast auto-update check (throttled to once/hour, network-failure-safe, completely silent). Swap required for optional if you’d rather nudge teammates than block them.
OpenClaw
OpenClaw spawns Claude Code sessions via ACP, so every gstack skill just works when Claude Code has gstack installed. Paste this to your OpenClaw agent:
Install gstack: run
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setupto install gstack for Claude Code. Then add a “Coding Tasks” section to AGENTS.md that says: when spawning Claude Code sessions for coding work, tell the session to use gstack skills. Include these examples — security audit: “Load gstack. Run /cso”, code review: “Load gstack. Run /review”, QA test a URL: “Load gstack. Run /qa https://…”, build a feature end-to-end: “Load gstack. Run /autoplan, implement the plan, then run /ship”, plan before building: “Load gstack. Run /office-hours then /autoplan. Save the plan, don’t implement.”
After setup, just talk to your OpenClaw agent naturally:
| You say | What happens |
|---|---|
| “Fix the typo in README” | Simple — Claude Code session, no gstack needed |
| “Run a security audit on this repo” | Spawns Claude Code with Run /cso |
| “Build me a notifications feature” | Spawns Claude Code with /autoplan → implement → /ship |
| “Help me plan the v2 API redesign” | Spawns Claude Code with /office-hours → /autoplan, saves plan |
See docs/OPENCLAW.md for advanced dispatch routing and the gstack-lite/gstack-full prompt templates.
Native OpenClaw Skills (via ClawHub)
Four methodology skills that work directly in your OpenClaw agent, no Claude Code session needed. Install from ClawHub:
clawhub install gstack-openclaw-office-hours gstack-openclaw-ceo-review gstack-openclaw-investigate gstack-openclaw-retro
| Skill | What it does |
|---|---|
gstack-openclaw-office-hours | Product interrogation with 6 forcing questions |
gstack-openclaw-ceo-review | Strategic challenge with 4 scope modes |
gstack-openclaw-investigate | Root cause debugging methodology |
gstack-openclaw-retro | Weekly engineering retrospective |
These are conversational skills. Your OpenClaw agent runs them directly via chat.
Other AI Agents
gstack works on 10 AI coding agents, not just Claude. Setup auto-detects which agents you have installed:
bash git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/gstack cd ~/gstack && ./setup
Or target a specific agent with ./setup --host <agent>:
| Agent | Flag | Skills install to |
|---|---|---|
| OpenAI Codex CLI | --host codex | ~/.codex/skills/gstack-*/ |
| OpenCode | --host opencode | ~/.config/opencode/skills/gstack-*/ |
| Cursor | --host cursor | ~/.cursor/skills/gstack-*/ |
| Factory Droid | --host factory | ~/.factory/skills/gstack-*/ |
| Slate | --host slate | ~/.slate/skills/gstack-*/ |
| Kiro | --host kiro | ~/.kiro/skills/gstack-*/ |
| Hermes | --host hermes | ~/.hermes/skills/gstack-*/ |
| GBrain (mod) | --host gbrain | ~/.gbrain/skills/gstack-*/ |
Want to add support for another agent? See docs/ADDING_A_HOST.md. It’s one TypeScript config file, zero code changes.
See it work
`` You: I want to build a daily briefing app for my calendar.
You: /office-hours Claude: [asks about the pain — specific examples, not hypotheticals]
You: Multiple Google calendars, events with stale info, wrong locations. Prep takes forever and the results aren’t good enough… Claude: I’m going to push back on the framing. You said “daily briefing app.” But what you actually described is a personal chief of staff AI. [extracts 5 capabilities you didn’t realize you were describing] [challenges 4 premises — you agree, disagree, or adjust] [generates 3 implementation approaches with effort estimates]
RECOMMENDATION: Ship the narrowest wedge tomorrow, learn from real usage. The full vision is a 3-month project — start with the daily briefing that actually works.
[writes design doc → feeds into downstream skills automatically]
You: /plan-ceo-review [reads the design doc, challenges scope, runs 10-section review]
You: /plan-eng-review [ASCII diagrams for data flow, state machines, error paths] [test matrix, failure modes, security concerns]
You: Approve plan. Exit plan mode. [writes 2,400 lines across 11 files. ~8 minutes.]
You: /review [AUTO-FIXED] 2 issues. [ASK] Race condition → you approve fix.
You: /qa https://staging.myapp.com [opens real browser, clicks through flows, finds and fixes a bug]
You: /ship Tests: 42 → 51 (+9 new). PR: github.com/you/app/pull/42 ``
You said “daily briefing app.” The agent said “you’re building a chief of staff AI” — because it listened to your pain, not your feature request. Eight commands, end to end. That is not a copilot. That is a team.
The sprint
gstack is a process, not a collection of tools. The skills run in the order a sprint runs: Think → Plan → Build → Review → Test → Ship → Reflect
Each skill feeds into the next. /office-hours writes a design doc that /plan-ceo-review reads. /plan-eng-review writes a test plan that /qa picks up. /review catches bugs that /ship verifies are fixed. Nothing falls through the cracks because every step knows what came before it.
| Skill | Your specialist | What they do |
|---|---|---|
/office-hours | YC Office Hours | Start here. Six forcing questions that reframe your product before you write code. Pushes back on your framing, challenges premises, generates implementation alternatives. Design doc feeds into every downstream skill. |
/plan-ceo-review | CEO / Founder | Rethink the problem. Find the 10-star product hiding inside the request. Four modes: Expansion, Selective Expansion, Hold Scope, Reduction. |
/plan-eng-review | Eng Manager | Lock in architecture, data flow, diagrams, edge cases, and tests. Forces hidden assumptions into the open. |
/plan-design-review | Senior Designer | Rates each design dimension 0-10, explains what a 10 looks like, then edits the plan to get there. AI Slop detection. Interactive — one AskUserQuestion per design choice. |
/plan-devex-review | Developer Experience Lead | Interactive DX review: explores developer personas, benchmarks against competitors’ TTHW, designs your magical moment, traces friction points step by step. Three modes: DX EXPANSION, DX POLISH, DX TRIAGE. 20-45 forcing questions. |
/design-consultation | Design Partner | Build a complete design system from scratch. Researches the landscape, proposes creative risks, generates realistic product mockups. |
/review | Staff Engineer | Find the bugs that pass CI but blow up in production. Auto-fixes the obvious ones. Flags completeness gaps. |
/investigate | Debugger | Systematic root-cause debugging. Iron Law: no fixes without investigation. Traces data flow, tests hypotheses, stops after 3 failed fixes. |
/design-review | Designer Who Codes | Same audit as /plan-design-review, then fixes what it finds. Atomic commits, before/after screenshots. |
/devex-review | DX Tester | Live developer experience audit. Actually tests your onboarding: navigates docs, tries the getting started flow, times TTHW, screenshots errors. Compares against /plan-devex-review scores — the boomerang that shows if your plan matched reality. |
/design-shotgun | Design Explorer | “Show me options.” Generates 4-6 AI mockup variants, opens a comparison board in your browser, collects your feedback, and iterates. Taste memory learns what you like. Repeat until you love something, then hand it to /design-html. |
/design-html | Design Engineer | Turn a mockup into production HTML that actually works. Pretext computed layout: text reflows, heights adjust, layouts are dynamic. 30KB, zero deps. Detects React/Svelte/Vue. Smart API routing per design type (landing page vs dashboard vs form). The output is shippable, not a demo. |
/qa | QA Lead | Test your app, find bugs, fix them with atomic commits, re-verify. Auto-generates regression tests for every fix. |
/qa-only | QA Reporter | Same methodology as /qa but report only. Pure bug report without code changes. |
/pair-agent | Multi-Agent Coordinator | Share your browser with any AI agent. One command, one paste, connected. Works with OpenClaw, Hermes, Codex, Cursor, or anything that can curl. Each agent gets its own tab. Auto-launches headed mode so you watch everything. Auto-starts ngrok tunnel for remote agents. Scoped tokens, tab isolation, rate limiting, activity attribution. |
/cso | Chief Security Officer | OWASP Top 10 + STRIDE threat model. Zero-noise: 17 false positive exclusions, 8/10+ confidence gate, independent finding verification. Each finding includes a concrete exploit scenario. |
/ship | Release Engineer | Sync main, run tests, audit coverage, push, open PR. Bootstraps test frameworks if you don’t have one. |
/land-and-deploy | Release Engineer | Merge the PR, wait for CI and deploy, verify production health. One command from “approved” to “verified in production.” |
/canary | SRE | Post-deploy monitoring loop. Watches for console errors, performance regressions, and page failures. |
/benchmark | Performance Engineer | Baseline page load times, Core Web Vitals, and resource sizes. Compare before/after on every PR. |
/document-release | Technical Writer | Update all project docs to match what you just shipped. Catches stale READMEs automatically. |
/retro | Eng Manager | Team-aware weekly retro. Per-person breakdowns, shipping streak tracking, and continuous improvement loops. |
… (the rest of the English README continues)
[Note: The original Chinese text included the entire English README verbatim after the separator. I have translated the Chinese summary above and kept the English README as provided. The translated Chinese summary replaces the original Chinese text before the “—” line.]
Similar Articles
garrytan/gstack
Garry Tan introduces gstack, an open-source software factory that turns Claude Code into a virtual engineering team, enabling solo developers to ship features at an unprecedented pace.
@seclink: https://x.com/seclink/status/2058544316587376710
YC CEO Gary launches open-source AI coding framework GStack, adopting a thin framework with thick capabilities approach, transforming Claude Code into an automated AI development team, significantly lowering the barrier to software development, with over 70k GitHub stars in three weeks.
@NainsiDwiv50980: “I don’t think I’ve typed a line of code since December.” When Andrej Karpathy said that, most people treated it like a…
Garry Tan introduces 'gstack', an open-source tool that orchestrates AI agents to act as a full software team, claiming an 810x increase in development output by shifting from coding to directing AI systems.
@garrytan: https://x.com/garrytan/status/2061454423034110372
Garry Tan argues that developers are over-engineering with excessive code when using AI agents; instead, they should trust the model and build minimal, instruction-based software, exemplified by his open-source project GStack.
@AYi_AInotes: 卧槽,有大神直接用Claude Code,复刻出一整套完整游戏开发工作室。 GitHub 1.8万stars,免费开源,项目名叫Claude Code Game Studios, 48个AI智能体1:1还原线下工作室全岗位,从创意总监到关…
卧槽,有大神直接用Claude Code,复刻出一整套完整游戏开发工作室。 GitHub 1.8万stars,免费开源,项目名叫Claude Code Game Studios, 48个AI智能体1:1还原线下工作室全岗位,从创意总监到关卡设计师全覆盖。 36条斜杠指令一键启动全流程,适配Godot Unity Unreal三大游戏引擎。 自带自动化校验钩子、分路径编码规则、28套行业标准文档模板,架构拉满。 所有AI只做梳理方案不擅自操作,决策权全程握在自己手里。 克隆仓库一键启动,MIT开源可商用,凭空拥有一支专业游戏开发团队。 老规矩GitHub地址评论区自取!