aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/common/.claude/settings.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/dotfiles/common/.claude/settings.json b/dotfiles/common/.claude/settings.json
index aaf8b1b..542249b 100644
--- a/dotfiles/common/.claude/settings.json
+++ b/dotfiles/common/.claude/settings.json
@@ -17,5 +17,36 @@
"attribution": {
"commit": "",
"pr": ""
+ },
+ "hooks": {
+ "PreCompact": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/precompact-priorities.sh"
+ }
+ ]
+ }
+ ],
+ "PreToolUse": [
+ {
+ "matcher": "Bash",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/git-commit-confirm.py"
+ },
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/gh-pr-create-confirm.py"
+ },
+ {
+ "type": "command",
+ "command": "~/.claude/hooks/destructive-bash-confirm.py"
+ }
+ ]
+ }
+ ]
}
}