Run Tests After Changes
Hooks post-tool 1,895
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.
npx claude-code-templates@latest --hook post-tool/run-tests-after-changes claude-code — run-tests-after-changes
Content
JSON
{
"description": "Automatically run quick tests after code modifications to ensure nothing breaks...."
"hooks": {
"PostToolUse": [1 item]
}
}