Stats
Actions
Tags
From trainhub
Reminds the user to load the tdder:java or tdder:maven skill before editing Java files or pom.xml. Triggers on Write/Edit tool calls, adding context via PreToolUse hook.
1 event · 1 hook
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
Edit|Writefor f in $CLAUDE_FILE_PATHS; do case "$f" in */weights/*|*/runs/*|*/results/*|*/datasets/*|*/checkpoints/*) echo "BLOCK: trainhub 保护 — 禁止直接修改 weights/ runs/ results/ datasets/ checkpoints/ 下的文件。这些是训练产物,应由训练脚本写入。" >&2; exit 2;; esac; done; exit 0npx claudepluginhub shallow-dusty/claude-plugins --plugin trainhub