Run Tests After Changes

Hookhook1,9701Verified

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 CommandLocked
npx claude-code-templates@latest --skill ••••••••••••••••••••
Unlock to reveal command
ByCommunity
claude-code — hooks post tool run tests after changes
$

Interactive Terminal Locked

Unlock this skill to run and inspect the interactive installation sequence.

CookApps Fine Software Cuisine
CONTENT

{

"description": "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.",

"hooks": {

"PostToolUse": [

{

"matcher": "Edit",

"hooks": [

{

"type": "command",

"command": "if [[ -f package.json ]] && npm run test:quick --silent >/dev/null 2>&1; then echo '✅ Tests passed'; else echo '⚠️ Tests may need attention'; fi"

}

]

}

]

}

}

How to Use & Getting Started

Protected

# Step 1: Initialize skill agent setup

npx skills add Run Tests After Changes --install-production

python -m pip install -r requirements.txt

codex plugin install Run Tests After Changes@latest

export API_KEY=secret_token_key_here

Installation Runbook & Walkthrough Locked

Unlock this skill to reveal complete step-by-step setup guides, terminal commands, configuration recipes, repository links, and interactive installation video walkthroughs.

Unlock full access to Run Tests After Changes

Get instant access to complete setup guides, repository source code, and integration assets.