hook-development by anthropics

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

Coding
55.4K Stars
4.0K Forks
Updated Jan 11, 2026, 12:28 AM

Why Use This

This skill provides specialized capabilities for anthropics's codebase.

Use Cases

  • Developing new features in the anthropics repository
  • Refactoring existing code to follow anthropics standards
  • Understanding and working with anthropics's codebase structure

Skill Snapshot

Auto scan of skill assets. Informational only.

Valid SKILL.md

Checks against SKILL.md specification

Source & Community

Repository claude-code
Skill Version
main
Community
55.4K 4.0K
Updated At Jan 11, 2026, 12:28 AM

Skill Stats

SKILL.md 713 Lines
Total Files 1
Total Size 0 B
License NOASSERTION