asymptotic-codeasymptotic-codeOfficialยท1 Agent Skills Included

sui-prover

Formal verification of Move smart contracts on Sui

Verifies the correctness of Move smart contracts on the Sui blockchain using the Boogie engine and Z3 solver. Writes and checks formal specifications with preconditions, postconditions, loop invariants, and ghost variables. Eliminates manual security auditing by mathematically proving code cannot abort or violate business rules. Helps developers debug verification failures with counterexamples, traces, and plain-language explanations.
npx skills add asymptotic-code/sui-prover --all -g -y
Available:

Instructs your AI agent on the prover's architecture, build commands, testing workflow, and how to write and debug Move specifications when working in this codebase.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install sui-prover?โ–ผ

Run `npx skills add asymptotic-code/sui-prover --all -g -y` in your terminal to install the skill globally. The prover binary itself can also be installed via Homebrew with `brew install asymptotic-code/sui-prover/sui-prover`.

What does Sui Prover do?โ–ผ

It formally verifies Move smart contracts on the Sui blockchain, mathematically proving that your code meets its specifications and cannot abort unexpectedly. It uses the Boogie verification engine and the Z3 solver under the hood.

How do I write a specification for my Move contract?โ–ผ

Create a spec function annotated with `#[spec(prove, target = ...)]` in a sibling Move package, using `requires` for preconditions and `ensures` for postconditions. Then run `sui-prover --path ./specs` to verify it.

How do I debug a failed verification?โ–ผ

Add the `focus` attribute to verify only that spec, then run with `--verbose` to see counterexamples and execution traces. 'Code aborts' errors mean missing asserts, while 'Assert does not hold' means the condition logic needs fixing.

Does Sui Prover work with Claude Code?โ–ผ

Yes. The included skill lets your agent write specifications, run the prover, and debug verification failures directly from natural language requests.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’