program-synthesis

Community

Prove correctness, not just pass tests.

Authorthistleknot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Program-synthesis helps you generate code that is formally verified against a specification so correctness holds for all inputs, not only the sampled cases covered by tests.

Core Features & Use Cases

  • Formal verification with proof artifacts: Produces a proof/ghost-spec artifact that must pass the selected verifier.
  • AutoVerus-style generate→refine→debug loop: Iteratively improves invariants and repair steps based on verifier failures.
  • Multi-target support (Verus, Dafny, Lean 4): Uses the most appropriate toolchain for Rust ghost specs, SMT-backed contracts, or theorem proving.
  • Escalation for safety-critical properties: Takes over when properties are universally quantified, security invariant–heavy, or concurrent correctness is required.

Quick Start

Use program-synthesis to verify a Rust (Verus) function by providing the target code and a correctness specification to the agent loop until the verifier succeeds.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: program-synthesis
Download link: https://github.com/thistleknot/skills/archive/main.zip#program-synthesis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.