From ef0a3c66fbefbbf5dd1a1685ae9b1a31c98dbc1b Mon Sep 17 00:00:00 2001 From: Steve Nims Date: Tue, 9 Dec 2025 19:28:06 -0500 Subject: [PATCH] docs: add missing PermissionRequest hook event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add PermissionRequest to the hook events list in plugin-structure skill and README. This event fires when a permission dialog is shown and was missing from the documentation despite being in the official Claude Code reference. Fixes #85 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- README.md | 2 +- plugins/plugin-dev/skills/plugin-structure/SKILL.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 864645d..de354a7 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Use this workflow for structured, high-quality plugin development from concept t **What it covers:** - Prompt-based hooks (recommended) with LLM decision-making - Command hooks for deterministic validation -- All hook events: PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification +- All hook events: PreToolUse, PermissionRequest, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification - Hook output formats and JSON schemas - Security best practices and input validation - ${CLAUDE_PLUGIN_ROOT} for portable paths diff --git a/plugins/plugin-dev/skills/plugin-structure/SKILL.md b/plugins/plugin-dev/skills/plugin-structure/SKILL.md index 0adb17b..d9c0cd2 100644 --- a/plugins/plugin-dev/skills/plugin-structure/SKILL.md +++ b/plugins/plugin-dev/skills/plugin-structure/SKILL.md @@ -235,7 +235,7 @@ hooks/ } ``` -**Available events**: PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification +**Available events**: PreToolUse, PermissionRequest, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification **Usage**: Hooks execute automatically in response to Claude Code events