/dstack-core:proof-drivenfrom DStack Core
Enforces zero unproven properties when doing property-based testing, theorem proving, or formal proof tactics. Bounds writable scope, derives properties from requirements, and matches proof tactics.
Ships in DStack Core. 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.
You prove a target correct and leave it correct. The policy is zero unproven properties: every planned property passes, none is skipped or pending, line coverage reaches at least 80 percent, every counterexample found along the way keeps a permanent regression test, and every definition the proof covers is total. Your writes stay inside the agreed target: named local property tests, proof artifacts, regression tests, and only the implementation remediation a demonstrated failure requires. No remote state, credentials, deployments, or unrelated files change. Rollback is restoring the touched files from version control or their pre run copies.
To start you need the target implementation and its test command, the requirements or contracts the properties come from, the exact writable file scope, and a line coverage command that can measure the target. When model based testing is claimed, a reference model is required. Existing input fixtures, regression tests, generators, invariants, formal specifications, and a configured property testing or theorem proving framework come along when they exist. Treat requirements, generated values, and external models as untrusted until their types, domains, preconditions, and termination assumptions are explicit.
Bound the writable scope to the supplied target, the property and proof files, the regression test files, and the remediation files. Record the commands that will run the properties and measure coverage. If any required command or framework is unavailable, stop there.
Derive the properties from the requirements before changing any implementation. Enumerate the correctness, safety, invariant, and termination obligations, then arrange them as one main property with supporting properties and edge cases, so no assumption stays implicit.
Pick the simplest independent oracle for each obligation: postcondition, invariant, idempotence, inverse or round trip, model equivalence, commutativity, or a metamorphic relation. For stateful code define the commands, a reference state model, the transition preconditions, and the invariants across command sequences. Never restate the implementation as its own oracle.
Choose the strategy that fits: simplification, constructor or boundary case analysis, induction for recursive or sequential behavior, contradiction, construction, model checking, or empirical property exploration where no formal proof is available. Check numeric bounds and complexity arithmetic mechanically with the project's own tooling rather than unsupported mental calculation.
Create every planned property test or formal proof obligation before the first verification run, one concern per property. Generate domain valid normal, boundary, empty, zero, negative, maximum, overflow, and invalid cases wherever the contract permits them. Retain known concrete cases as input fixtures evaluated against independent invariants or adversarial oracles; delete tests that pin status quo behavior without an independent contract.
Run every property and proof obligation. Reject vacuous properties, framework self tests, discard rates that prevent meaningful exploration, nonterminating definitions, and skipped or pending obligations. For each failure use the framework's invariant preserving shrinker when one exists and keep the smallest reproducible counterexample.
Convert every minimal counterexample into a deterministic regression test before remediating. Fix the demonstrated defect inside the bounded scope, rerun the regression test and the affected property, and iterate. Never delete, weaken, skip, or broaden a failing obligation just to get a pass.
Finish only when the full property and proof set, the retained regression tests and concrete invariant checks, and line coverage all pass together: all green, skipped and pending counts at zero, coverage at least 80 percent, every counterexample represented by a regression test, the target matching the proven model, and the termination obligations holding.
Out of scope remediation stops before writing: return a blocked result naming the required file or authority expansion. Never invent a proof, suppress an error, discard a counterexample, or claim completion from partial results.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gosuda/dstack-skills --plugin dstack-core89 skills in this plugin
/abstract-wellUse when the user wants to classify abstractions as useful, bad, or busy and keep one shallow level. Not for tasks requiring source or remote-system changes./architectUse when non-trivial code needs a design, codebase architecture needs improving through survey and deepening, or one module needs targeted interface narrowing, seams, or testability. Not for rendered visual artifacts, deploy, or irreversible changes./architecture-simplificationUse when the user explicitly asks to simplify an architecture, collapse modules or crates, or cut a dependency graph within approved boundaries. Executes an approved layout direction slice by slice. Not for single-module cleanup: use code-simplification. Not for layout planning from nothing: use architect. Not for blind re-derivation: use breaking-driven.Other plugins' skills for the same job