hook-authoring

Featured

Guide creating Claude Code hooks with security-first design. Use for validation and enforcement.

Code & Development 323 stars 29 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## When NOT To Use - Auditing a hook that already exists (use `abstract:hooks-eval`) - Choosing where a hook should live (use `abstract:hook-scope-guide`) - Authoring a skill rather than a hook (use `abstract:skill-authoring`) ## Table of Contents - [Overview](#overview) - [Key Capabilities](#key-capabilities) - [Quick Start](#quick-start) - [Your First Hook (JSON - Claude Code)](#your-first-hook-json-claude-code) - [Your First Hook (Python - Claude Agent SDK)](#your-first-hook-python-claude-agent-sdk) - [Hook Event Types](#hook-event-types) - [Claude Code vs SDK](#claude-code-vs-sdk) - [JSON Hooks (Claude Code)](#json-hooks-claude-code) - [Python SDK Hooks](#python-sdk-hooks) - [Security Essentials](#security-essentials) - [Critical Security Rules](#critical-security-rules) - [Example: Secure Logging Hook](#example-secure-logging-hook) - [Performance Guidelines](#performance-guidelines) - [Performance Best Practices](#performance-best-practices) - [Example: Efficient Hook](#example-efficient-hook) - [Scope Selection](#scope-selection) - [Decision Framework](#decision-framework) - [Scope Comparison](#scope-comparison) - [Common Patterns](#common-patterns) - [Validation Hook](#validation-hook) - [Logging Hook](#logging-hook) - [Context Injection Hook](#context-injection-hook) - [Testing Hooks](#testing-hooks) - [Unit Testing](#unit-testing) - [Module References](#module-references) - [Tools](#tools) - [Related Skills](#related-skills) - [Next Steps](#next-steps) - [Referenc...

Details

Author
athola
Repository
athola/claude-night-market
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category