~/CLIRank
HookVerified

Test on Change Hook

Automatically run relevant tests when source files change.

Install
Add to .claude/hooks/post-edit.sh

About

Configure Claude Code to run related tests whenever it modifies source files. Maps source files to their test files and runs only the affected tests after each edit. Catches regressions immediately during development. Supports Jest, Vitest, pytest, and other test runners with configurable patterns.

Tags

testingautomationtddqualityci

Score Breakdown

CLI Score Breakdown9/11
Official SDK on npm/pip+2
Env var authentication (no browser OAuth)+2
Works in headless/CI environments+2
CLI tool available+1
JSON response for piping/parsing+1
Docs have curl/CLI examples0
Reasonable rate limits for scripted use+1
Machine-readable pricing (md/JSON/static)0
Quality Score Breakdown
npm weekly downloads0
GitHub stars30k
Days since last release11d
Issue close ratio85%
TypeScript typesYes
Docs qualitygood
Breaking changesrare

Scores

CLI
9
Quality
8
AuthorCommunity
Weekly installs0
Last updated3/20/2026

Related

HookVerified
0/wk

Pre-commit Lint Hook

Automatically lint and fix code before every commit.

CLI
9
Quality
8
Add to .claude/hooks/pre-commit.sh
Hook
0/wk

Notification Hook

Send Slack or desktop notifications when long-running tasks complete.

CLI
7
Quality
7
Add to .claude/hooks/post-task.sh
HookVerified
0/wk

Auto-format Hook

Format code with Prettier/Black after every Claude Code edit.

CLI
9
Quality
8
Add to .claude/hooks/post-edit-format.sh