docs: add missing build:hooks step to development installation

The development installation instructions were missing the `npm run
build:hooks` step, which is required when installing from a git clone.
Without it, hooks/dist/ doesn't exist and the installer silently skips
hook copying while still registering them in settings.json, causing
hook errors at runtime.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Marc Fargas
2026-04-03 16:27:53 +02:00
parent 2f7f317c24
commit 05cb3e8f3f

View File

@@ -150,14 +150,17 @@ Use `--sdk` to also install the GSD SDK CLI (`gsd-sdk`) for headless autonomous
<details>
<summary><strong>Development Installation</strong></summary>
Clone the repository and run the installer locally:
Clone the repository, build hooks, and run the installer locally:
```bash
git clone https://github.com/gsd-build/get-shit-done.git
cd get-shit-done
npm run build:hooks
node bin/install.js --claude --local
```
The `build:hooks` step is required — it compiles hook sources into `hooks/dist/` which the installer copies from. Without it, hooks won't be installed and you'll get hook errors in Claude Code. (The npm release handles this automatically via `prepublishOnly`.)
Installs to `./.claude/` for testing modifications before contributing.
</details>