Skip to content

[Docs]: Add missing PermissionRequest hook event in plugin-structure skill #85

@sjnims

Description

@sjnims

Which documentation needs improvement?

Skill documentation

Specific Location

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

What's unclear or missing?

The hook events list in SKILL.md is missing the PermissionRequest event.

Current text (line 238):

Available events: PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification

Official docs (https://code.claude.com/docs/en/plugins-reference.md) list:

PreToolUse, PermissionRequest, PostToolUse, UserPromptSubmit, Notification, Stop, SubagentStop, SessionStart, SessionEnd, PreCompact

The PermissionRequest event (fires when a permission dialog is shown) is completely absent from this skill - grep found 0 matches across all skill files.

Suggested Improvement

Update line 238 to include PermissionRequest:

**Available events**: PreToolUse, PermissionRequest, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification

Type of issue

  • Incorrect information
  • Missing information

Additional Context

Found during comprehensive skill review against official Claude Code documentation.

This omission could cause developers to miss the PermissionRequest hook when building plugins that need to respond to permission dialogs (e.g., custom permission handling, logging permission requests, etc.).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions