bash-guard
in plugin architecture-review · v1.1.0
Read-only Bash guard for architecture-reviewer: allows only read-only git commands inside the repository.
Tags
Compatibility
- Claude Code ≥ 2.1.318
- Windows
- macOS
Install with architecture-review
/plugin install architecture-review --marketplace lindigo-design/devdigest-marketplaceAlso installs: engineering-paved-path ^1.0
Hook
PreToolUse hook on Bash: runs hooks/bash-guard.mjs.
- Event
- PreToolUse
- Matcher
- Bash
- Type
- command
- Command
node "${CLAUDE_PLUGIN_ROOT}/hooks/bash-guard.mjs" architecture-review:architecture-reviewer=review- Script
- hooks/bash-guard.mjs
- Timeout
- 10 s
- Declared in
- plugins/architecture-review/hooks/hooks.json
Runs commandsPreToolUse on Bash