From f8129a947646c590e944cf19802cdc17b6b1ae1e Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sat, 18 Apr 2026 14:35:23 +0800 Subject: [PATCH] docs: collapse team-mode setup into one paste-and-go command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 2 was three separate code blocks: setup --team, then team-init, then git add/commit. Mirrors Step 1's style now — one shell one-liner that does all three. Subshell (cd && ./setup --team) keeps the user in their repo pwd so team-init + git commit land in the right place. "Swap required for optional" moved to a one-liner below. Co-Authored-By: Claude Opus 4.7 (1M context) --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0931f491..1a98787b 100644 --- a/README.md +++ b/README.md @@ -52,22 +52,16 @@ Open Claude Code and paste this. Claude does the rest. ### Step 2: Team mode — auto-update for shared repos (recommended) -Every developer installs globally, updates happen automatically: +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 -``` - -Then bootstrap your repo so teammates get it: - -```bash -cd -~/.claude/skills/gstack/bin/gstack-team-init required # or: optional -git add .claude/ CLAUDE.md && git commit -m "require gstack for AI-assisted work" +(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. + > **Contributing or need full history?** The commands above use `--depth 1` for a fast install. If you plan to contribute or need full git history, do a full clone instead: > ```bash > git clone https://github.com/garrytan/gstack.git ~/.claude/skills/gstack