- Suggest creating a custom /command for operations run frequently.
- When you ask for permission often, suggest adding it in
.claude/settings.local.json.
+- Never commit changes unless explicitly asked to do that.
+- When multiple Bash PreToolUse hooks share a matcher, each script must
+ exit 0 for commands outside its domain. Check the command string from
+ stdin and return early if the command doesn't match the script's
+ responsibility. This keeps settings.json free of `if` conditions and
+ makes policy fully script-resident.
# Style