/gabbe-coding:fuzz-differential-testingfrom gabbe-coding
Fuzzes parsers, decoders, and deserializers with coverage-guided fuzzing (AFL++, Atheris, Jazzer, cargo-fuzz, Go built-in). Supports differential testing against a reference implementation and triages crashes into regression tests.
Ships in gabbe-coding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Find inputs that crash, hang or disagree, by generating many inputs guided by code coverage. Output: fuzz targets in the repo, a seed corpus, and a regression test for every crash found. A fuzzer samples; a clean run is not a proof.
| Ecosystem | Fuzzer | Setup and run |
|---|---|---|
| Go (1.18+) | built in | func FuzzX(f *testing.F) with f.Fuzz(func(t *testing.T, b []byte){...}); go test -fuzz=FuzzX -fuzztime=30s; failures land in testdata/fuzz/FuzzX/ |
| Rust | cargo-fuzz | rustup install nightly, cargo install cargo-fuzz, cargo fuzz init, cargo fuzz run <target>; crashes in fuzz/artifacts/<target>/ |
| Python | Atheris | pip3 install atheris; target takes bytes, calls atheris.Setup(sys.argv, TestOneInput) then atheris.Fuzz(); run the script with python3 |
| Java/Kotlin | Jazzer | jazzer-junit from Maven Central; a @FuzzTest method; fuzz mode: JAZZER_FUZZ=1 and run the test |
| JavaScript/TypeScript | Jazzer.js | npm install --save-dev @jazzer.js/core; export fuzz(data); npx jazzer FuzzTarget |
| C/C++ | AFL++ | afl-fuzz -i seeds -o out -- ./target @@ after compiling with afl-cc |
Other languages: use property tests with generated inputs (pbt-strategy.skill.md) and say the fuzzer is missing.
3. Write the target so it is fast and deterministic, with no network, clock or shared files. The check is "no crash, no hang, no unhandled error"; add a round-trip check where one exists (decode(encode(x)) == x).
4. Seed the corpus with a few valid inputs and the known-bad inputs from past bugs. Commit the seeds.
5. Run for a fixed budget (for example 60 seconds per target in CI, longer nightly). Record the budget in the report; it is part of the claim.
6. Triage each crash: reproduce it from the saved file, minimise it (Go and cargo-fuzz do it; otherwise by hand), find the cause, fix the code, and commit the input as a regression test. Done when the corpus replays clean in the normal test run.
7. Differential testing: when a reference exists (the old implementation, a standard library, a trusted slow version), feed the same generated inputs to both and assert equal outputs, or equal error class. Disagreements are either a bug in the new code or a documented difference; write the difference down, do not hide it.
Fuzz targets in the repository, the committed seed corpus, a regression test for each crash, and a report that states the run budget.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Go, Rust, Python, Java, Kotlin, JavaScript, TypeScript, C++
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-coding30 skills in this plugin
/agent-trajectory-evalScore an agent's run by its tool calls and state transitions, not only its final answer: tool and parameter F1, in-order match, legal transitions, pass^k. Use when you evaluate how an agent reached an answer or need a reliability figure over repeated runs./artisan-commandsRun Laravel Artisan commands safely: check the project and environment, run the command, verify the result. Use when the user asks to scaffold a controller or model, run migrations or manage a Laravel app with php artisan./browser-tddWrite Playwright tests that check a UI in a real browser (DOM, computed styles, scroll, screenshots) before the code. Use when a UI task is about layout, sticky or fixed elements, modals, animations or anything that only works when it renders correctly.Other plugins' skills for the same job