Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
From wigtn-coding
Intercepts Bash commands for security scanning, blocks editing tools until verification passes, and runs cleanup on stop. Executes node-based hooks for pre-bash, post-edit, and stop-turn events.
3 events · 4 hooks
npx claudepluginhub wigtn/wigtn-plugins-with-claude-code --plugin wigtn-codingSafety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
bash -c 'echo "Pipeline session complete. Review changes before pushing."'Bashbash -c 'INPUT=$(cat); CMD=$(echo "$INPUT" | jq -r ".tool_input.command // empty"); if echo "$CMD" | grep -qE "rm\s+-rf\s+/|git\s+push\s+.*--force|git\s+push\s+.*-f\s|git\s+reset\s+--hard|drop\s+database|DROP\s+TABLE"; then echo "BLOCKED: Dangerous command detected. Please confirm before executing: $CMD" >&2; exit 2; fi'Write|Editbash -c 'INPUT=$(cat); FILE=$(echo "$INPUT" | jq -r ".tool_input.file_path // .tool_input.filePath // empty"); if echo "$FILE" | grep -qE "\.(tsx?|jsx?|css|scss)$"; then echo "Reminder: Run formatter (prettier/eslint) on $FILE before committing."; fi'bash -c 'INPUT=$(cat); FILE=$(echo "$INPUT" | jq -r ".tool_input.file_path // .tool_input.filePath // empty"); if echo "$FILE" | grep -qE "\.(ts|js|py|go|java)$"; then echo "Reminder: Verify backend pattern compliance (error handling, input validation, logging) for $FILE."; fi'Share bugs, ideas, or general feedback.