claude-hooks

Creates and configures hooks for Claude Code to automate workflows and extend functionality.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "claude-hooks" with this command: npx skills add 89jobrien/steve/89jobrien-steve-claude-hooks

Claude Hooks Skill

Creates and configures hooks for Claude Code to automate workflows and extend functionality.

What This Skill Does

  • Creates PreToolUse validation hooks

  • Sets up PostToolUse logging/cleanup

  • Configures notification hooks

  • Implements custom automation

  • Documents hook patterns

When to Use

  • Tool execution validation

  • Audit logging

  • Custom notifications

  • Workflow automation

  • Security controls

Reference Files

  • references/CLAUDE_HOOK.template.md
  • Hook configuration examples and patterns

Hook Events

Event Trigger Use Case

PreToolUse Before tool executes Validation, blocking

PostToolUse After tool completes Logging, cleanup

Notification Claude sends notification Alerts

Stop Claude stops Final reports

Configuration Location

Hooks are configured in ~/.claude/settings.json under the hooks key.

Best Practices

  • Keep hooks fast (< 1 second)

  • Handle errors gracefully

  • Use specific matchers

  • Test hooks independently

  • Avoid verbose output

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

dead-code-removal

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

ai-code-cleanup

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

python-scripting

No summary provided by upstream source.

Repository SourceNeeds Review