hooks-eval

Featured

Evaluate hook security, performance, and SDK compliance. Use for audits.

AI & Automation 339 stars 35 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 94/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 - Writing a new hook (use `abstract:hook-authoring`) - Evaluating skills (use `abstract:skills-eval`) - Evaluating rules in `.claude/rules/` (use `abstract:rules-eval`) # Hooks Evaluation Framework ## Overview This skill provides a detailed framework for evaluating, auditing, and implementing Claude Code hooks across all scopes (plugin, project, global) and both JSON-based and programmatic (Python SDK) hooks. ### Key Capabilities - **Security Analysis**: Vulnerability scanning, dangerous pattern detection, injection prevention - **Performance Analysis**: Execution time benchmarking, resource usage, optimization - **Compliance Checking**: Structure validation, documentation requirements, best practices - **SDK Integration**: Python SDK hook types, callbacks, matchers, and patterns ### Core Components | Component | Purpose | |-----------|---------| | **Hook Types Reference** | Complete SDK hook event types and signatures | | **Evaluation Criteria** | Scoring system and quality gates | | **Security Patterns** | Common vulnerabilities and mitigations | | **Performance Benchmarks** | Thresholds and optimization guidance | ## Quick Reference ### Hook Event Types ```python HookEvent = Literal[ "PreToolUse", # Before tool execution "PostToolUse", # After tool execution "UserPromptSubmit", # When user submits prompt "Stop", # When stopping execution "SubagentStop", # When a subagent stops "TeammateIdle", # When teammate agent...

Details

Author
athola
Repository
athola/claude-night-market
Created
10 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category