qedgen

Validate .qedspec files and generate tests, proofs, and scaffolds for Solana programs.

67|7|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/QEDGen/solana-skills --skill qedgen-qedgen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qedgen
Source: https://github.com/QEDGen/solana-skills/tree/main
Command: npx skills add https://github.com/QEDGen/solana-skills --skill qedgen-qedgen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Solana developers often need to prove program correctness and keep verification artifacts in sync with code. qedgen provides a spec-driven workflow to define guarantees in a .qedspec, validate it, and generate tests, proofs, and scaffolds for agent-fill Rust code across multiple targets.

Core Features & Use Cases

  • Linting, validation, drift checks, and report generation from a single .qedspec
  • Codegen for Rust scaffolds, Lean proofs, Kani harnesses, proptest tests, and CI workflows
  • Brownfield onboarding: audit existing programs and ratify findings into a spec
  • Greenfield workflow: start from spec and generate artifacts across multiple targets (Anchor, Quasar, Pinocchio)

Quick Start

Install qedgen and run qedgen check --spec your_program.qedspec to validate, then qedgen codegen --all to scaffold artifacts.

Frequently Asked Questions about qedgen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform formal verification for Solana programs?

Formal verification for Solana programs is performed spec-driven by validating a .qedspec file to generate tests, proofs, and Rust scaffolds across Anchor, Quasar, and Pinocchio backends.

Can I use spec-driven verification on existing Anchor or Pinocchio projects?

Yes, spec-driven verification supports brownfield onboarding to audit existing Anchor or Pinocchio programs, allowing you to ratify audit findings into a spec and generate verification artifacts.

What is the best way to generate Lean proofs and Kani harnesses for Solana smart contracts?

The best way to generate Lean proofs and Kani harnesses is using a spec-driven workflow that validates a .qedspec file and uses codegen to automatically scaffold these verification artifacts for your Rust code.

How do I start a greenfield Solana project with formal verification from scratch?

To start a greenfield Solana project with formal verification, define your guarantees in a .qedspec file, run validation, and use codegen to generate scaffolds and verification artifacts across multiple backends like Anchor and Quasar.

Does qedgen support drift reporting and linting for Solana program specs?

Yes, qedgen supports linting, validation, and drift reporting from a single .qedspec file to ensure your verification artifacts remain synchronized with your Solana program code during development.