Garry Tan's gstack: Install This 56k-Star 'Virtual Team' for Claude Code
Open SourceScore: 77

Garry Tan's gstack: Install This 56k-Star 'Virtual Team' for Claude Code

YC CEO Garry Tan open-sourced gstack, a pack of slash commands that turns Claude Code into a structured team of specialists, claiming it helps ship 10k-20k lines of code daily.

GAla Smith & AI Research Desk·16h ago·4 min read·5 views·AI-Generated
Share:
Source: reddit.comvia reddit_claudeCorroborated
Garry Tan's gstack: Install This 56k-Star 'Virtual Team' for Claude Code

Y Combinator CEO Garry Tan has open-sourced gstack—his personal collection of slash commands and skills for Claude Code. Instead of using Claude as a single, general-purpose assistant, gstack structures it into a virtual team with specialized roles, each invoked by a specific command. The repository gained over 56,000 stars almost immediately, signaling strong developer interest in this structured, multi-agent approach to coding.

What It Does — A Team in Your Terminal

gstack is essentially a configuration and prompt pack for Claude Code. It defines a set of roles, each with a specific responsibility and corresponding slash command (/). The core idea is to prevent context dilution and task-switching penalties by giving Claude a clear, singular focus for each interaction.

Here are the key roles and their commands:

  • /ceo: Focuses on product strategy, vision, and high-level planning.
  • /em (Engineering Manager): Provides architecture guardrails and technical oversight.
  • /designer: Reviews UI/UX, catches "AI slop," and improves user experience.
  • /reviewer & /qa: Finds bugs, suggests improvements, and can run tests in a real browser context.
  • /security: Conducts OWASP and STRIDE-based security audits.
  • /release: Handles release engineering, versioning, and deployment logic.
  • /retro, /doc: Facilitates retrospectives and documentation.

Tan claims this structured approach enables him to ship 10,000–20,000 lines of code per day while managing YC.

Setup — How to Install and Configure

Installation is straightforward via the Claude Code CLI. First, clone the repository:

git clone https://github.com/garrytan/gstack.git
cd gstack

Next, run the installation script. This will configure Claude Code to recognize the gstack slash commands by modifying your local Claude Code settings or CLAUDE.md file.

./install.sh

The script typically adds role definitions and system prompts to your Claude Code configuration, making the new commands available in your terminal session. You may need to restart your Claude Code terminal or source the new configuration.

When To Use It — Specific Workflows That Shine

gstack is not for every single-line edit. Its power is unlocked during larger, more complex coding sessions where different phases of work benefit from specialized focus.

  1. Starting a New Feature or Project: Use /ceo to define the scope and vision, then immediately switch to /em to lay down the initial architecture and file structure. This separates the "what" from the "how" cleanly.
  2. The Review & Audit Cycle: After writing a chunk of code, chain the commands. Run /reviewer for logic and bug checks, then /security for vulnerability analysis, and finally /designer for any front-end polish. This creates a machine-driven QA pipeline.
  3. Pre-Release Preparation: Use /release to generate changelogs, bump versions, and check deployment readiness, then /doc to ensure any new features are properly documented.

This follows a broader trend in the Claude Code ecosystem towards structured, multi-agent workflows, as seen in tools like terraphim-agent for verification sweeps, which we covered recently. The core value is enforcing a separation of concerns, which reduces prompt confusion and leads to more deterministic outputs from the AI.

gentic.news Analysis

Garry Tan's release of gstack directly taps into two major, converging trends for Claude Code. First, it exemplifies the move beyond a monolithic assistant towards a multi-agent framework, a concept core to Anthropic's own Claude Agent. This aligns with our recent coverage on adding machine-enforced rules with terraphim-agent—developers are increasingly seeking ways to compartmentalize AI tasks for better results and control.

Second, its viral adoption (56k+ stars) underscores a critical shift in developer mindset. Following incidents like the autonomous git reset --hard command that erased work, there's heightened demand for guardrails and structured processes. gstack provides this by design, embedding roles like "Security Officer" and "Engineering Manager" into the workflow. It’s a community-driven response to the need for safer, more predictable AI collaboration.

This development also highlights the growing importance of the Model Context Protocol (MCP), the architecture Claude Code is built upon. Packs like gstack are essentially sophisticated MCP configurations, showing how the protocol enables deep customization. As Claude Code's usage spikes—it appeared in 153 articles this week alone—the ecosystem around it, from MCP servers to skill packs, is becoming the real battleground for developer productivity.

AI Analysis

Claude Code users should immediately evaluate `gstack` for any non-trivial project work. The key action is to stop using a single, catch-all prompt. Instead, adopt a role-based workflow: start with `/ceo` for planning, use `/em` for architecture, and employ `/reviewer` and `/security` as mandatory pre-commit checks. This isn't just about new commands; it's about changing your mental model from "asking Claude for help" to "orchestrating a specialist team." Integrate these slash commands into your existing routines. For example, after a Claude Code session generates new code, make it a habit to run `/reviewer` before you even look at the diff. Use `/security` on any code that handles user input or external data. The structured separation prevents the model from mixing concerns, which is a common source of context window waste and degraded output quality. Consider `gstack` as a template. Explore its prompt definitions in the repo to understand how it shapes context for each role. You can then customize or create your own roles (e.g., `/perf` for performance reviews) tailored to your stack. This moves you from a consumer of AI tools to a designer of your own AI-augmented workflow.
Enjoyed this article?
Share:

Related Articles

More in Open Source

View all