/bugfinding:semantic-program-generationfrom bugfinding
Guides semantic program generators that carry types, live objects, effects and required starting state. Use when grammar-valid fuzz inputs rarely reach successful behavior, or when programs and their worlds must be generated and shrunk together.
Ships in bugfinding. 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.
Read when SKILL.md points to them.
Generate the prerequisites of the behavior being checked. A source program can be syntactically valid while lacking the object, range, lifetime or effect relationships needed for a useful execution. Csmith must "interleave static analysis with code generation in order to produce meaningful test cases"; SQLite's dbsqlfuzz "mutates both the SQL input and the database file at the same time", a state-plus-program precedent (Csmith, §2 introduction and §§2.2–2.5, SQLite testing, §4.1.3).
Read the actual language/API contract, enabled configuration and existing generator/executor. Separate malformed-input robustness, specified runtime errors and successful semantic operations. Preserve useful error lanes; add a successful-path lane when rejection prevents evaluating the intended guarantee. Csmith's requirement that every program "be well formed and have a single meaning" serves its differential compiler-comparison oracle, not every language or robustness target (Csmith, §§2.1–2.4).
Count existing structured generation as baseline. An advance might establish a live receiver and permitted mutation, combine initial data with a program, or generate a legal alias/effect interaction. It is not simply another grammar. Select only the additional relationships needed for the target guarantee (Csmith, §§2.3–2.5, SQLite testing, §4.1.3).
Use the target's maintained AST/IR, formatter and supported world/fixture creation paths. Keep a small generation environment: initialized variables and ranges, live identities, available definitions, permissions/capabilities and relevant read/write effects. Select valid operands from those facts or create their prerequisites before use. Csmith's generation context and dependent-domain combinators illustrate these mechanisms; they do not require porting a whole analyzer (Csmith, §2.3, FuzzTest domains, FlatMap).
Update or invalidate facts after mutations and control-flow joins. A fragment safe at construction can become unsafe after a loop backedge or call changes reachable state; re-establish the relevant facts at that boundary. Do not preserve a stale permission, lifetime or index assumption merely because its expression once compiled; in Csmith, "loops and function calls threaten to invalidate previously validated code" (Csmith, §§2.4–2.5). For decisions and a world-effect example, read semantic environments.
Vary target-supported aliasing, state-dependent dispatch, exception effects and boundary values while retaining the lane's validity conditions. Record construction/compile success separately from entry into the intended operation, completion of its effect and evaluation of the oracle. Feature interactions and coverage are different observations; avoid optimizing only syntax variety or execution counts. Csmith deliberately avoided "source-level diversity that is unlikely to improve" intermediate-representation coverage, and reports adding its programs' coverage as "so small as to be a negative result" (Csmith, §§2.2, 2.6, 3.3 and 3.5).
Use correctness-oracles to establish the result/effect discriminator, harness-sensitivity to test its discrimination, and coverage-guided-fuzzing for the chosen runtime's execution mechanics. This skill owns program construction; stateful-property-testing owns general API-sequence models. Read tool choices only for a compatible C/C++ generator/domain integration.
Preserve generation choices, rendered program, initial-world/setup construction, selected semantics/configuration and raw witness. Reduce dependencies together, regenerate through the same owner and check that the selected operation still reaches the same violated guarantee. Wrong-code reduction can introduce undefined behavior ("The resulting programs are small but useless."); a smaller error or mismatch need not preserve the original finding (Csmith, §4).
Read world/program replay for dependency-aware moves and a concrete experiment. Route reducer algorithms and attribution to failure-reduction and evidence-based-triage. Report actual successful property reach, excluded/rejected cases, replay evidence and remaining validity assumptions; do not infer discovery yield from the generator's existence (Csmith, §§3.3, 3.5 and 4). For misleading constructions, read common mistakes.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ctoth/computational-bugfinding-skills-plugin --plugin bugfinding26 skills in this plugin
/bounded-model-checkingGuides source-linked CBMC, JBMC and Kani checks with explicit input domains, unwind bounds and executable counterexamples. Use when finite hard paths or invariants merit solver search beyond fuzzing, or when interpreting bounded verification, vacuous success or counterexample playback./bugfinding-campaignGuides compute-budgeted bugfinding campaigns by finding gaps in existing generators, execution models and correctness oracles. Use when choosing what to test next, extending an established fuzzing setup, or deciding whether more compute will produce useful evidence./configuration-differential-testingOther plugins' skills for the same job