CtrlK
BlogDocsLog inGet started
Tessl Logo

hook-factory

Generate production-ready Claude Code hooks with interactive Q&A, automated installation, and enhanced validation. Supports 10 templates across 7 event types for comprehensive workflow automation.

Install with Tessl CLI

npx tessl i github:alirezarezvani/claude-code-skill-factory --skill hook-factory
What are skills?

56

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

87%

Setting Up Automated TypeScript Code Formatting

Template mode hook generation

Criteria
Without context
With context

Template mode flag

0%

100%

Language flag used

0%

100%

hook.json created

0%

100%

README.md created

0%

100%

Output in generated-hooks/

0%

100%

Tool detection present

0%

100%

Silent failure pattern

0%

100%

Event type wrapper

30%

100%

Metadata present

0%

100%

TypeScript file pattern

100%

100%

Command logged

0%

100%

Without context: $0.2656 · 1m 19s · 15 turns · 18 in / 4,640 out tokens

With context: $0.3436 · 57s · 12 turns · 15 in / 3,137 out tokens

100%

55%

Automating Test Runs After Agent Coding Sessions

Natural language hook generation

Criteria
Without context
With context

Natural language flag

50%

100%

Test keywords used

100%

100%

Rust language specified

100%

100%

SubagentStop event type

0%

100%

Timeout 120 seconds

100%

100%

Cargo tool detection

0%

100%

Silent failure

0%

100%

Output structure

50%

100%

Event type reported

0%

100%

Timeout reported

100%

100%

Without context: $0.3776 · 1m 50s · 27 turns · 231 in / 5,891 out tokens

With context: $0.5680 · 1m 37s · 19 turns · 1,270 in / 5,500 out tokens

95%

62%

Deploying a Git Pre-Push Safety Hook

Hook installation and deployment

Criteria
Without context
With context

Hook factory used

20%

100%

Pre-push template

0%

100%

Installer used

0%

100%

User-level installation

83%

100%

Correct install syntax

0%

100%

List command used

25%

100%

Backup documented

100%

100%

Output structure

14%

100%

Install command in report

62%

100%

Silent failure in hook

62%

37%

Pre-push timeout

0%

100%

Without context: $0.8317 · 3m 33s · 41 turns · 43 in / 12,151 out tokens

With context: $0.5850 · 1m 12s · 19 turns · 9,887 in / 4,025 out tokens

Evaluated
Agent
Claude Code

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.