|
Download plugins/hookify/examples/require-tests-stop.local.md from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 500 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/plugins/hookify/examples/require-tests-stop.local.md
- Command line
-
hf download hf://SaylorTwift/claude-code/plugins/hookify/examples/require-tests-stop.local.md
-
curl -L -o require-tests-stop.local.md https://huggingface.co/SaylorTwift/claude-code/resolve/main/plugins/hookify/examples/require-tests-stop.local.md
500 Bytes
metadata
name: require-tests-run
enabled: false
event: stop
action: block
conditions:
- field: transcript
operator: not_contains
pattern: npm test|pytest|cargo test
Tests not detected in transcript!
Before stopping, please run tests to verify your changes work correctly.
Look for test commands like:
npm testpytestcargo test
Note: This rule blocks stopping if no test commands appear in the transcript. Enable this rule only when you want strict test enforcement.