CtrlK
BlogDocsLog inGet started
Tessl Logo

claude-hook-writer

Expert guidance for writing secure, reliable, and performant Claude Code hooks - validates design decisions, enforces best practices, and prevents common pitfalls. Use when creating, reviewing, or debugging Claude Code hooks.

Invalid
This skill can't be scored yet
Validation errors are blocking scoring. Review and fix them to unlock Quality, Impact and Security scores. See what needs fixing →
SKILL.md
Quality
Evals
Security

Evaluation results

82%

25%

Protect Sensitive Configuration Files in a Fintech Codebase

Sensitive file blocking hook

Criteria
Without context
With context

Correct blocking exit code

0%

100%

Sensitive file patterns

100%

100%

JSON input validation

80%

100%

Path traversal check

0%

0%

Project directory validation

0%

0%

Quoted variables

100%

100%

Absolute script path

60%

100%

PreToolUse event

100%

100%

Specific matcher

100%

100%

Error to stderr

100%

100%

set -euo pipefail

0%

100%

100%

34%

Automated Code Formatter for a Multi-Language Repository

Performance-aware formatter hook

Criteria
Without context
With context

Tool existence check

100%

100%

Graceful skip on missing tool

100%

100%

PostToolUse event

100%

100%

Specific matcher

100%

100%

Absolute script path

0%

100%

Quoted file path variable

100%

100%

JSON input validation

100%

100%

File existence check

0%

100%

Timeout configured

0%

100%

Command hook type

100%

100%

set -euo pipefail

0%

100%

100%

18%

Asynchronous Test Runner for a Node.js Project

Background test runner hook

Criteria
Without context
With context

Background execution

100%

100%

Immediate hook exit

100%

100%

Lock file deduplication

100%

100%

Lock file cleanup

25%

100%

Test output to log file

100%

100%

PostToolUse event

100%

100%

Specific matcher

100%

100%

Absolute script path

100%

100%

Quoted variables

100%

100%

JSON input validation

0%

100%

set -euo pipefail

0%

100%

Repository
secondsky/claude-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.