specgate-project-setuplisted
Install: claude install-skill thanhtung2693/specgate
# Setting Up SpecGate
Apply the [SpecGate operating contract](../specgate/SKILL.md#operating-contract).
This phase configures SpecGate; it does not create specifications or product
work.
## 1. Ensure the CLI is available
Use the host shell's command lookup before running any SpecGate command:
```bash
command -v specgate
```
```powershell
Get-Command specgate -ErrorAction SilentlyContinue
```
When lookup succeeds, run `specgate --version` and continue to inspect the
current state.
Installing from skills.sh does not install the SpecGate CLI; it provides agent
instructions only. If the command is missing on macOS, Linux, or WSL2,
show the user the exact installer command and wait for explicit approval before
running it:
```bash
curl -fsSL https://raw.githubusercontent.com/thanhtung2693/specgate/main/scripts/install-cli.sh | sh
```
A general request to set up or initialize SpecGate is not approval to download
and execute the installer. On native Windows, offer WSL2 with the command above
or direct the user to
`https://github.com/thanhtung2693/specgate/releases/latest`; do not invent a
PowerShell installer. After installation, run `specgate --version`. If lookup
still fails, report the install path and PATH recovery printed by the installer.
Completion criterion: the installed CLI version is recorded, or setup is
paused for explicit installer approval or native Windows installation.
## 2. Inspect the current state
```bash
specgate doctor --json
```
Use the doctor's re