hook-development
Write Navin lifecycle hooks (hooks.json, PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, Stop, SubagentStop) as shell commands that read the event JSON on stdin and block, warn or add context through exit codes and JSON output.
When to use
Use when the user asks to "create a hook", "block dangerous commands", "validate file writes", "run a check after every edit", "load context at session start", "stop the agent from finishing too early", "add hooks to my plugin", or needs the hook event schema and debugging steps.
Inputs and tools
The skill takes the request of the user in natural language: its frontmatter declares no argument. It declares no allowed-tools: the tools available are those of the agent that loads it, under the tool policy of the project.
Reference
| Field | Value |
|---|---|
| Name | hook-development |
| Category | General |
| Version | Not declared |
| Licence | Not declared |
| Allowed tools | Not declared |
| Plugins | hookify, plugin-dev |
| Source | catalog/navin/skills/hook-development/SKILL.md |
| Digest | sha256:2179f83fca622f5c17cf786272e35f1261312f0bda97b8aca8f3a647b2f8aec4 |
skill_md_digest | sha256:fef84703af4d63f59f06fb189a346b348e09d525183ebd01b2dbef1ed6838430 |
Bundled files
| Path | Count |
|---|---|
catalog/navin/skills/hook-development/examples | 4 |
catalog/navin/skills/hook-development/references | 3 |
catalog/navin/skills/hook-development/scripts | 4 |
Frontmatter
Every field of the SKILL.md frontmatter, with the value of the source:
| Field | Value |
|---|---|
name | hook-development |
description | Write Navin lifecycle hooks (hooks.json, PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, Stop, SubagentStop) as shell commands that read the event JSON on stdin and block, warn or add context through exit codes and JSON output. Use when the user asks to "create a hook", "block dangerous commands", "validate file writes", "run a check after every edit", "load context at session start", "stop the agent from finishing too early", "add hooks to my plugin", or needs the hook event schema and debugging steps. |