Skip to content

Commit ef0a3c6

Browse files
sjnimsclaude
andcommitted
docs: add missing PermissionRequest hook event
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 <noreply@anthropic.com>
1 parent e84cc83 commit ef0a3c6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Use this workflow for structured, high-quality plugin development from concept t
6060
**What it covers:**
6161
- Prompt-based hooks (recommended) with LLM decision-making
6262
- Command hooks for deterministic validation
63-
- All hook events: PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification
63+
- All hook events: PreToolUse, PermissionRequest, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification
6464
- Hook output formats and JSON schemas
6565
- Security best practices and input validation
6666
- ${CLAUDE_PLUGIN_ROOT} for portable paths

plugins/plugin-dev/skills/plugin-structure/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ hooks/
235235
}
236236
```
237237

238-
**Available events**: PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification
238+
**Available events**: PreToolUse, PermissionRequest, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification
239239

240240
**Usage**: Hooks execute automatically in response to Claude Code events
241241

0 commit comments

Comments
 (0)