summaryrefslogtreecommitdiff
path: root/plugins/hookify/examples/sensitive-files-warning.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/sensitive-files-warning.local.md
creating intital scaffolding for claude code pluginsnoahz/initial_scaffold
Diffstat (limited to 'plugins/hookify/examples/sensitive-files-warning.local.md')
-rw-r--r--plugins/hookify/examples/sensitive-files-warning.local.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/hookify/examples/sensitive-files-warning.local.md b/plugins/hookify/examples/sensitive-files-warning.local.md
new file mode 100644
index 00000000..ae92971d
--- /dev/null
+++ b/plugins/hookify/examples/sensitive-files-warning.local.md
@@ -0,0 +1,18 @@
+---
+name: warn-sensitive-files
+enabled: true
+event: file
+action: warn
+conditions:
+ - field: file_path
+ operator: regex_match
+ pattern: \.env$|\.env\.|credentials|secrets
+---
+
+🔐 **Sensitive file detected**
+
+You're editing a file that may contain sensitive data:
+- Ensure credentials are not hardcoded
+- Use environment variables for secrets
+- Verify this file is in .gitignore
+- Consider using a secrets manager