@zgeoff/skill-gate 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,8 +25,9 @@ import { runSkillGate } from '@zgeoff/skill-gate';
|
|
|
25
25
|
await runSkillGate();
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
`
|
|
29
|
-
Register the entry point
|
|
28
|
+
The `hook-skill-gate` entry of repo-sync delivers this file from zgeoff/tools. `runSkillGate` reads
|
|
29
|
+
the hook payload from stdin, prints the hook output, and exits the process. Register the entry point
|
|
30
|
+
in `.claude/settings.json`:
|
|
30
31
|
|
|
31
32
|
```json
|
|
32
33
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgeoff/skill-gate",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A Claude Code PreToolUse hook that denies an edit until the session loads the skills the path needs, and warns on a Bash command that writes a gated path",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|