mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-20 11:19:56 +08:00
perf: shallow clone for faster install (#484)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
13
README.md
13
README.md
@@ -46,7 +46,7 @@ Fork it. Improve it. Make it yours. And if you want to hate on free open source
|
|||||||
|
|
||||||
Open Claude Code and paste this. Claude does the rest.
|
Open Claude Code and paste this. Claude does the rest.
|
||||||
|
|
||||||
> Install gstack: run **`git clone https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup`** then 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, /review, /ship, /land-and-deploy, /canary, /benchmark, /browse, /qa, /qa-only, /design-review, /setup-browser-cookies, /setup-deploy, /retro, /investigate, /document-release, /codex, /cso, /autoplan, /careful, /freeze, /guard, /unfreeze, /gstack-upgrade. Then ask the user if they also want to add gstack to the current project so teammates get it.
|
> Install gstack: run **`git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup`** then 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, /review, /ship, /land-and-deploy, /canary, /benchmark, /browse, /qa, /qa-only, /design-review, /setup-browser-cookies, /setup-deploy, /retro, /investigate, /document-release, /codex, /cso, /autoplan, /careful, /freeze, /guard, /unfreeze, /gstack-upgrade. Then ask the user if they also want to add gstack to the current project so teammates get it.
|
||||||
|
|
||||||
### Step 2: Add to your repo so teammates get it (optional)
|
### Step 2: Add to your repo so teammates get it (optional)
|
||||||
|
|
||||||
@@ -54,6 +54,11 @@ Open Claude Code and paste this. Claude does the rest.
|
|||||||
|
|
||||||
Real files get committed to your repo (not a submodule), so `git clone` just works. Everything lives inside `.claude/`. Nothing touches your PATH or runs in the background.
|
Real files get committed to your repo (not a submodule), so `git clone` just works. Everything lives inside `.claude/`. Nothing touches your PATH or runs in the background.
|
||||||
|
|
||||||
|
> **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
|
||||||
|
> ```
|
||||||
|
|
||||||
### Codex, Gemini CLI, or Cursor
|
### Codex, Gemini CLI, or Cursor
|
||||||
|
|
||||||
gstack works on any agent that supports the [SKILL.md standard](https://github.com/anthropics/claude-code). Skills live in `.agents/skills/` and are discovered automatically.
|
gstack works on any agent that supports the [SKILL.md standard](https://github.com/anthropics/claude-code). Skills live in `.agents/skills/` and are discovered automatically.
|
||||||
@@ -61,7 +66,7 @@ gstack works on any agent that supports the [SKILL.md standard](https://github.c
|
|||||||
Install to one repo:
|
Install to one repo:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/garrytan/gstack.git .agents/skills/gstack
|
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git .agents/skills/gstack
|
||||||
cd .agents/skills/gstack && ./setup --host codex
|
cd .agents/skills/gstack && ./setup --host codex
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -70,7 +75,7 @@ When setup runs from `.agents/skills/gstack`, it installs the generated Codex sk
|
|||||||
Install once for your user account:
|
Install once for your user account:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/garrytan/gstack.git ~/gstack
|
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/gstack
|
||||||
cd ~/gstack && ./setup --host codex
|
cd ~/gstack && ./setup --host codex
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -81,7 +86,7 @@ discovery from the source repo checkout.
|
|||||||
Or let setup auto-detect which agents you have installed:
|
Or let setup auto-detect which agents you have installed:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/garrytan/gstack.git ~/gstack
|
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/gstack
|
||||||
cd ~/gstack && ./setup --host auto
|
cd ~/gstack && ./setup --host auto
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user