Stats
Actions
Tags
From java-quality
Runs multi-stage code review gates on plan exit, git push, file writes, and session stop. Blocks tool calls when issues are found, with async rewake for fixes. Executes bash and writes files.
3 events · 3 hooks
Safety 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
echo '[java-quality] Session ending. Reminder: run mvn test or ./gradlew test to verify all tests pass before considering this task complete.'Bashecho "$CLAUDE_TOOL_INPUT" | python3 -c "
import sys, json, re
try:
data = json.load(sys.stdin)
cmd = data.get('command', '')
dangerous = [
(r'git push.*--force.*(main|master)', 'Force push to main/master branch'),
(r'git reset --hard', 'Hard reset (discards uncommitted changes)'),
(r'mvn.*-Dmaven.test.skip=true', 'Skipping tests in Maven build'),
(r'./gradlew.*-x test', 'Skipping tests in Gradle build'),
]
for pattern, msg in dangerous:
if re.search(pattern, cmd):
print(f'[java-quality] WARNING: {msg}: {cmd}', flush=True)
except: pass
"Write|Editecho '[java-quality] Java file modified. Consider running /java-security-check or asking the java-security-reviewer agent to check for OWASP vulnerabilities.'npx claudepluginhub ducpm2303/claude-java-plugins --plugin java-quality35plugins reuse this hooks config
First indexed Dec 13, 2025
Showing the 6 earliest of 35 plugins