Back to Hooks

Run Tests After Changes

Hooks post-tool 1,970 Scanned by NVIDIA SkillSpector

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 Command
npx claude-code-templates@latest --hook post-tool/run-tests-after-changes
View on GitHub
claude-code — run-tests-after-changes

Scanned by NVIDIA SkillSpector

Automated static analysis (no LLM) · v2.12.0 · 2026-10-17

2 observations
scanner score 12/100

SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them.

  • Autonomous Decision Making
    Excessive Agency · SKILL.md:3
  • Autonomous Decision Making
    Excessive Agency · run-tests-after-changes.json:2

Learn more about NVIDIA SkillSpector.

Content

JSON
{
"description": "Automatically run quick tests after code modifications to ensure nothing breaks...."
"hooks": {
"PostToolUse": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.