Stats
Actions
Tags
From claude-rudder
Validates anti-patterns in code after Write/Edit operations using a Python script, and runs an orientation script at session start. Modifies files during validation.
2 events · 2 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
Write|Editpython3 -c "import json,sys
d=json.load(sys.stdin)
fp=d.get('tool_input',{}).get('file_path','')
if any(p in fp for p in ('CONTEXT.md','context.md','CLAUDE.md','context-data/')):
print('Context file modified. Remember to keep CONTEXT.md (human context) and CLAUDE.md (agent briefing) synchronized. Use /context-to-claude or /claude-to-context if needed.')
" 2>/dev/null || truestartupif [ -f 'CONTEXT.md' ] || [ -f 'context.md' ]; then echo 'CONTEXT.md detected in this repository. This file contains detailed human-authored context about the project. Consider reading it for deeper understanding of the project vision and requirements.'; fi; if [ -d 'context-data' ]; then echo 'context-data/ directory detected. This repository uses chunked context files. Review context-data/README.md for the organization structure.'; finpx claudepluginhub danielrosehill/claude-code-plugins --plugin claude-rudder