hook-audit
Reference Files
Advanced hook patterns and best practices:
- exit-codes.md - Exit code semantics (0=allow, 2=block) with examples
- json-handling.md - Safe JSON stdin parsing patterns
- error-patterns.md - Error handling and graceful degradation
- performance.md - Timeout guidelines and optimization
- examples.md - Good vs bad hook patterns with before/after examples
Hook Audit
Performs comprehensive security and quality audits of Claude Code hooks, ensuring correct JSON handling, exit code semantics, error handling, and performance.
Quick Start
Audit a single hook:
More from philoserf/claude-code-setup
improve-instructions
>-
28map-codebase
>-
16uv-package-manager
Expert in uv, the ultra-fast Python package manager and project tool. Use when setting up Python projects, managing dependencies, creating virtual environments, installing Python versions, working with lockfiles, migrating from pip/poetry/pip-tools, or optimizing Python workflows with uv's blazing-fast performance.
5organize-folders
Provides guidance on organizing folder structures and file system layouts for any project. Use when planning project organization, reorganizing messy directories, setting up folder hierarchies, designing directory layouts, structuring repositories, cleaning up files, suggesting folder structures, establishing naming conventions, or when you need help with folder structure or file organization. Helps with writing projects, code projects, document collections, or any file organization task.
3editing-assistant
Text editing assistant with specialized modes for typos, grammar, flow, headings, citations, and more. Use when editing, proofreading, or improving written content including documentation and markdown files.
3pdf
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, handling forms, and OCR on scanned documents. Use when filling PDF forms, extracting data from PDFs, merging or splitting documents, creating PDFs programmatically, processing documents at scale, or performing OCR on image-based PDFs.
2