sgc-bootstraplisted
Install: claude install-skill sdsrss/sgc
# SGC Bootstrap
Load SGC rules, verify `.sgc/` state integrity, route user intent to the correct command.
## ⚠️ Install the CLI before first command
The plugin layer is markdown-only; **every `/sgc:*` command shells out to `sgc <cmd>` (npm-installed) or `bun src/sgc.ts <cmd>` (source-clone)**. If neither is available, every command preflight-fails with help.
**Recommended — npm (global install):**
```bash
npm install -g @sdsrs/sgc # requires bun >=1.3 as the runtime
sgc --version
```
After this, `/sgc:*` commands run from **any** directory.
**Alternative — clone from source** (you want to hack on sgc itself or the npm package is unreachable):
```bash
git clone https://github.com/sdsrss/sgc
cd sgc
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm install
```
In this mode `/sgc:*` commands must run from inside the `sgc/` directory (the preflight checks for `src/sgc.ts` in `cwd`).
`bun ≥1.3` is required as the runtime in **both** modes (`bun --version` to verify). See [README.md#install](../../../../README.md#install) for the canonical install reference.
When a user hits the preflight error, surface this block **once per session** — do not repeat on every command.
## When to Use
At the start of every conversation. Runs before any other SGC skill.
## Initialization Sequence
1. **Read [`plugins/sgc/CLAUDE.md`](../../CLAUDE.md)** — authoritative command table, permission matrix, task levels, and the 7 invariants.
2. **Verify `.sgc/` structure** (`decisions/`, `progress/`,