Run Tests After Changes

Claude Code Hook · post-tool

run-tests-after-changes एक Claude Code hook है जो code edit के बाद npm run test:quick चलाता है, ताकि तुरंत टेस्ट फेल होने पर पता चल सके। यह उन developers के लिए है जो लगातार कोड बदलते हैं और जल्दी फीडबैक चाहते हैं।

Automatically run quick tests after code modifications to ensure nothing breaks. This hook executes 'npm run test:quick' silently after any Edit operation and provides feedback on test status. Helps catch breaking changes immediately during development. Only runs if package.json exists and the test:quick script is available.

Install

npx claude-code-templates@latest --hook post-tool/run-tests-after-changes

View on GitHub