Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mizchiv0.1.0MITIn 1 marketplace
Runs only the tests a git diff could plausibly break, using your existing vitest, jest or Playwright setup. Needs a TypeSafe API key; any failure falls back to the full suite.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
test-selection, git-diff, impact-analysis, regression-testing, ci, changed-tests, test, node-test ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
jev-test-filter reads a git diff, asks a model how much that change can
alter the outcome of every single test in the repository, and prints the filter
arguments your test runner already understands. It hands those arguments to the
runner you already use — vitest, jest, node --test, bun test, Playwright,
cargo test, go test or rspec — so the run covers the tests the change could plausibly break
instead of all of them.
It uses Jev, TypeSafe's System One model: one shared
state (the diff), one question per test, one round trip. There is no agent
loop and no file reading by the model.
Requires Node 24 or newer, git, and a TypeSafe API key. --format rust and
--format go additionally need cargo and go on the PATH; --format rspec needs nothing beyond the rspec you already run.
pnpm add -D jev-test-filter
Or without installing anything:
npx jev-test-filter --base main --exec -- vitest run
The command is what runs; the skill is what teaches an agent to drive it —
which runner takes which flag and in which order, why --exec rather than a
composed shell command, and what each exit code means. Most of that is
knowledge an agent cannot guess and gets wrong silently, which is the whole
reason it is written down.
Installing the skill does not install the command. You want both.
As a skill for Claude Code, Codex, Cursor and the other agents the skills CLI knows, into the current project:
npx skills add mizchi/jev-test-filter
As a Claude Code plugin, which brings the same skill plus a /filter-tests
command:
/plugin marketplace add mizchi/jev-test-filter
/plugin install jev-test-filter@jev-test-filter
git clone https://github.com/mizchi/jev-test-filter
cd jev-test-filter
pnpm install
pnpm run build
node dist/cli.js --help
There are three invocation shapes, because "wire it in" means something different in a shell, in another program and in a Makefile.
1. --exec: run the command for you. This is the one to reach for.
Everything after --exec -- is your command, and the selection arguments are
appended to it. They go straight to spawn with no shell in between, so
nothing can be re-split or re-quoted. The command's exit code becomes the
tool's exit code.
$ jev-test-filter --base main --exec -- vitest run
$ jev-test-filter --base main --format node --exec -- node --test
$ jev-test-filter --base main --format bun --exec -- bun test
$ jev-test-filter --base main --format playwright --exec -- npx playwright test
For a text snapshot update, inspect the changed expectations separately:
vitest run --update
jev-test-filter --verify-snapshots --json
--verify-snapshots reviews changed .snap files and inline snapshot edits,
including multiline values. It reads the working-tree diff by default,
does not edit snapshots, and does not run tests. Each changed file receives a
plausible, review, or unknown decision with Jev's score and confidence.
review includes low-confidence answers; a missing answer or failed request is
unknown. Jev returns structured decisions, not written explanations, so the
report does not claim to explain its reasoning. Image snapshots are ignored.
This mode is advisory: it does not fail CI on a suspicious update.
The associated test source is included when it fits the input budget; a
missing or oversized test source yields unknown rather than an approval.
Each .snap file is one question, so a suspicious entry marks the whole file
for review. A score below 1 with confidence at least 0.6 is plausible;
all other usable answers are review. A truncated diff is unknown because
the missing context could change the judgment. --base <ref> reviews committed
changes from that ref; the default reviews uncommitted working-tree changes.
Real output, on this repository:
$ jev-test-filter --base HEAD~1 --format node --exec -- node --test
jev-test-filter: 3/110 tests selected (pattern)
✔ parseCliArgs reads the flags and the paths (0.852375ms)
✔ a bare --replay means the record the last run left (0.121834ms)
✔ --replay still takes an explicit path either way round (0.067125ms)
ℹ tests 3
ℹ pass 3
ℹ fail 0
The commit under review changed how --replay parses its argument. Of 110
tests it picked the three about argument parsing, and left the other 107 —
extraction, gating, the Jev client, the Rust and Go paths — alone.
2. --json: the whole scoring. Every test, with its score, its confidence
and the reason it was kept or dropped. This is the shape to read, to log, or
to feed to another program.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mizchi/jev-test-filter --plugin jev-test-filterPlugins from other owners that cover similar ground