whosdrix

Nofudge — Testing skill for Claude Code

Testing community

Catches coding agents that make tests pass by changing the tests, then proves it by rerunning the old test against the new code.

How to install Nofudge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open whosdrix/nofudge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Nofudge does

Catches coding agents that make tests pass by changing the tests, then proves it by rerunning the old test against the new code.

Alternatives in Testing

README

nofudge

Your agent says the tests pass. Check how.

CI npm MIT

nofudge --prove finding a skipped test and a loosened assertion, rerunning the original tests, and proving both hid a failure

When a coding agent can't fix a bug, it sometimes fixes the test instead. An `it.skip` here, `toBe(1099)` turned into `toBeGreaterThan(0)` there, an expected value rewritten to whatever the broken code returns. CI goes green and the diff looks fine at a glance.

nofudge reads the test changes in your branch, flags the ones that make a failing suite pass without fixing anything, and with `--prove` puts the original test back, runs it against the new code, and tells you whether it fails.

npx nofudge                 # check this branch against main
npx nofudge --prove         # and rerun every flagged test in its original form
npx nofudge init claude     # check every time Claude Code says it's done

Skipped, deleted, loosened. Then it proves it. Stops the agent, not you. 58 of 58 fudges caught.

What it catches

It parses both versions of every changed test file with tree-sitter, matches tests by name (and by body, so a rename isn't a deletion), and compares them assertion by assertion. Then it looks at t