Merge pull request #81 from Payshak/add-claude-code-hooks-sdk

Add claude-code-hooks SDK to hooks section
This commit is contained in:
Rohit Ghumare
2026-03-30 03:48:20 +01:00
committed by GitHub

View File

@@ -664,6 +664,12 @@ Twenty hook scripts covering all eight Claude Code lifecycle events. Place `hook
| `notification-log.js` | Notification | Log notifications for later review |
| `prompt-check.js` | UserPromptSubmit | Detect vague prompts, suggest clarification |
### Related SDKs
If you prefer a typed, npm-installable foundation for writing hooks rather than raw scripts:
- [claude-code-hooks](https://github.com/Payshak/claude-code-hooks) — TypeScript SDK with `defineHook()`, typed event payloads for all 5 hook events, response builders, and unit-testable `.handle()` method. Zero dependencies.
### Installing Hooks
```bash