summaryrefslogtreecommitdiff
path: root/plugins/hookify/examples/dangerous-rm.local.md
diff options
context:
space:
mode:
authorNoah Zweben MacBook <noahz@anthropic.com>2025-11-20 11:47:24 -0800
committerNoah Zweben MacBook <noahz@anthropic.com>2025-11-20 11:47:24 -0800
commit4ca561fb8532594e7a5faef945e85096fcec0616 (patch)
tree0218e6f274b7fb9872d470da3b4dc1f6b28dd9e8 /plugins/hookify/examples/dangerous-rm.local.md
creating intital scaffolding for claude code pluginsnoahz/initial_scaffold
Diffstat (limited to 'plugins/hookify/examples/dangerous-rm.local.md')
-rw-r--r--plugins/hookify/examples/dangerous-rm.local.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/hookify/examples/dangerous-rm.local.md b/plugins/hookify/examples/dangerous-rm.local.md
new file mode 100644
index 00000000..8226eb19
--- /dev/null
+++ b/plugins/hookify/examples/dangerous-rm.local.md
@@ -0,0 +1,14 @@
+---
+name: block-dangerous-rm
+enabled: true
+event: bash
+pattern: rm\s+-rf
+action: block
+---
+
+⚠️ **Dangerous rm command detected!**
+
+This command could delete important files. Please:
+- Verify the path is correct
+- Consider using a safer approach
+- Make sure you have backups