cursor avatar

Create Formal Verification Skill

Generate a project-local skill that model-checks or proves the riskiest code path, beyond what tests reach.

CCM score
58 of 100
skills.sh installs
2.3K
GitHub stars
19.4K
last updated
Nov 25, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers choosing the highest-harm promise in the repo, then picking a model checker, verifier, or proof tool that fits the question
  • Requires each check to fail on a broken variant of the code, with findings reported as counterexamples rather than weakened properties
  • Records the covered files, the verification scope and bounds, and the commit it was last confirmed against for later changes
  • Designed for teams with concurrency, retries, state machines, parsers, or unsafe code where tests reach too few cases

Install

$ npx -y skills add cursor/plugins --skill create-formal-verification-skill -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Create a formal verification skill

A test checks the cases that someone thought to write. Formal verification checks every case in a stated scope: every order of steps in a model, every input up to a bound, or every input. This skill finds the part of the repo where that matters most, verifies one property of it, and leaves a project-local skill that lets the next agent check a change against that property. Write that skill for an agent who reads it cold, mid-change, and has never seen your work. The user must be able to trust the result and act on it without learning the verification language.

Choose the target from the code

Answer from the codebase, and ask the user only what you cannot observe. If the user named an area or a bug, start there.

A good target is a promise the code makes, where a break harms users and tests rarely reach the case that breaks it. Choose the strongest such target in the repo, not the one that is easiest to verify.

Let the question choose the tool

Details

Repository
github.com/cursor/plugins
First seen
Nov 25, 2026

More from cursor/plugins

All 93

Similar to Create Formal Verification Skill