{ "name": "block-destructive-commands", "version": "0.2.0", "description": "Denies Bash commands that match destructive patterns (recursive rm on roots, force push, hard reset, destructive SQL, disk formatting) before they run. A tool.call hook with a Bash matcher that returns { deny } without calling next.", "author": { "name": "claude-code-templates", "url": "https://www.aitmpl.com" }, "repository": "https://github.com/davila7/claude-code-templates", "license": "MIT", "keywords": [ "mod", "function-hooks", "security" ], "userConfig": { "patterns": { "type": "string", "title": "Extra patterns", "description": "Comma-separated regex sources to deny on top of the built-in rules, e.g. \\bkubectl\\s+delete\\b", "default": "" } } }