← Registry

hook-block-commands

Community

yanacuti1121/hook-block-commands

Pattern guide for writing PreToolUse hooks that block dangerous shell commands. Use when: building or auditing a guard-destructive hook, adding new blocked patterns, reviewing what the current hook covers. Covers 3 safety levels (critical/high/strict) and 58+ regex patterns. Inspired by: karanb192/claude-code-hooks block-dangerous-commands pattern (MIT).

Install

skillpm install yanacuti1121/hook-block-commands

Format score

100/100

Spec

v1.0

Installs

0

Published

September 6, 2026