fuzz
Fuzz React Doctor rules for crashes, slowness, false positives, and mutation-sensitive diagnostics with @react-doctor/fuzz. Use after rule tests pass, when investigating a fuzz finding, or whenever an eval, review, or user report confirms a new false positive.
npx skills add millionco/react-doctor --skill fuzz --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Fuzz rules Use `packages/fuzz` after focused rule tests pass. Read its `README.md` for harness architecture and corpus setup. ## Run the harness Run the target rule first: ```sh FUZZ_RULE=<rule-id> FUZZ_STRICT=1 FUZZ_ITERATIONS=500 nr fuzz ``` Useful variants: ```sh nr fuzz FUZZ_RULE=<rule-id> FUZZ_SEED=42 nr fuzz FUZZ_INVARIANTS=1 nr fuzz FUZZ_CORPUS_DIR=<repository-directory> nr fuzz FUZZ_RULE=<rule-id> FUZZ_PRINT_SILENT=1 nr fuzz ``` Confirm that the target rule fires. A silent rule only exercises early exits. If it stays silent, add a triggering shape to `packages/fuzz/src/snippet-pools.ts` and rerun. Use `FUZZ_TAG=<tag>` instead of `FUZZ_RULE` to exercise an entire registry cohort. Recommended full sweep (e.g. before a rule-batch release), pointing the corpus at real checkouts. Ready-made corpora work on any machine — see the package README "Canonical corpora": `bun scripts/sync-fuzz-corpus.ts` materializes a pinned 48-repo sample (symlinking the RDE cache when present, cloning otherwise), and `bun scripts/build-bench-corpus.ts` extracts react-bench's diagnostic-dense RD-health target files: ```sh cd packages/fuzz bun scripts/sync-fuzz-corpus.ts FUZZ_INVARIANTS=1 FUZZ_ITERAT
- Run the harness
- Triage findings
- Preserve false positives
- Report results
nr fuzz cd packages/fuzz bun scripts/sync-fuzz-corpus.ts bun scripts/hunt-false-positives.ts
What does the fuzz skill do?
Fuzz React Doctor rules for crashes, slowness, false positives, and mutation-sensitive diagnostics with @react-doctor/fuzz. Use after rule tests pass, when investigating a fuzz finding, or whenever an eval, review, or user report confirms a new false positive.
How do I install it?
Run `npx skills add millionco/react-doctor --skill fuzz --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From millionco/react-doctor, a repository with 14,264 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.