gstack is an open-source skillset developed by @garrytan (President of Y Combinator), providing a system of slash commands like /review, /qa, and /office-hours to structure Claude Code’s workflow into standardized technical processes, eliminating the need to type lengthy, distracting prompt chains.

1. What is gstack and why should developers integrate it?
When using vanilla Claude Code, you often have to repeat long prompts: “Please review this diff carefully, check for race conditions, find security flaws, and verify logic”. This not only consumes context tokens but also lacks consistency across sessions.
gstack solves this problem by packaging real-world engineering practices into shortcut commands (skills):
- Workflow Standardization: Simply type a short command like
/reviewor/qa, and Claude Code will automatically trigger a chain of in-depth tasks. - Browser QA with a “Vision”: Automatically opens a headless browser via Playwright, performs exploratory clicks on the staging URL, takes screenshots, and inspects real-world console logs.
- Token Cost Optimization: gstack commands are finely tuned to be concise, eliminating verbose boilerplate and focusing directly on source code analysis.
After installing gstack, you instantly gain 4 powerful commands: /review (code review), /qa (real-world web testing), /office-hours (architectural shaping), and /ship (release preparation), turning Claude Code into a virtual Senior Tech Lead working right by your side.
2. System Requirements and Environment Preparation
To install gstack smoothly without dependency errors, prepare the following foundational tools beforehand:
- Claude Code CLI (from Anthropic).
- Git (to clone the repository from GitHub).
- Bun version v1.0 or higher.
- macOS / Linux: Git and Bun are all you need.
- Windows: Requires Node.js LTS installed and must be run using PowerShell as Administrator.
If your computer does not have Bun yet, open your Terminal and install it quickly using the following command:
After installing Bun, restart your Terminal so the system recognizes the bun command before moving on to the next step.
3. Step-by-step guide to installing gstack
The gstack installation process is fully automated with just a single command line. Choose the command corresponding to your operating system:
Step 3.1: Run the automated installation command
For macOS / Linux (open Terminal and run):
For Windows PowerShell (run as Administrator):
The setup script downloads dependencies, compiles the required skills, and links the gstack directory to ~/.claude/skills/ so Claude Code automatically loads it every time you launch your project.
Step 3.2: Launch Claude Code and verify detection
Open any coding project folder on your computer, then launch Claude Code:
Try typing a forward slash / in the Claude Code prompt interface. If you see the list of commands /review, /qa, and /office-hours appear, the system is 100% successfully installed.
4. Three core slash commands to get started
Below are the 3 most important practical commands you should use daily to get the most out of gstack:
1. /office-hours: Shaping Initial Architectural Thinking
Use this when starting a new project or preparing to build a complex feature. Claude will take on the role of a Senior Architect to interview you, break down the problem, and define the technical workflow before writing any code:
2. /review: Production-Grade Code Review
Inspect the entire current git diff against the strictest standards: catch race conditions, check edge cases, protect trust boundaries, and identify potential security vulnerabilities:
3. /qa: Test the UI Directly on the Staging URL
Completely different from AI blindly guessing code, the /qa command launches a headless browser to access your actual URL, test-click buttons, catch red console errors, and capture verification screenshots:
5. Share gstack into the project repo for the entire team
If you work in a team, add gstack directly into the project’s repository. This ensures that whenever any member clones the source code, they will have the synchronized toolset ready to go without needing individual installations:
Copy command on macOS / Linux:
Copy command on Windows PowerShell:
After running the command above, commit the .claude/skills/gstack directory to your project’s Git repository. Your teammates only need to pull it to start using it immediately.
6. Update gstack to the Latest Version
The gstack community continuously adds new skills and patches compatibility fixes for the latest versions of Claude Code. When an update notification appears, simply run the following command:
If you have shared gstack within your project’s repository, do the same inside the repo’s .claude/skills/gstack directory and commit the changes so the entire team can use the latest version.
7. Common Errors and Troubleshooting
If you encounter issues during the installation or operation of gstack, select the corresponding error below to resolve it quickly in 1-2 steps:
8. Frequently Asked Questions (FAQ)
Quick answers to common questions about the performance and operation of gstack:
Read next: End-to-End Meta Ads Campaign Automation With Claude AI

Chưa có bình luận nào. Hãy là người đầu tiên chia sẻ góc nhìn!