formal-coverage-audit

Audit formal verification coverage across TLA+, Kani, and proptest artifacts.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/strawgate/agent-skills --skill formal-coverage-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: formal-coverage-audit
Source: https://github.com/strawgate/agent-skills/tree/main/formal-coverage-audit
Command: npx skills add https://github.com/strawgate/agent-skills --skill formal-coverage-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the lack of visibility into formal verification coverage, helping teams identify gaps in their TLA+, Kani, and proptest strategies to prevent critical correctness regressions.

Core Features & Use Cases

  • Traceability Mapping: Connects implementation code paths to specific verification artifacts like TLA+ specs or Kani harnesses.
  • Gap Analysis: Scores verification gaps based on impact, exploitability, and effort to prioritize remediation.
  • Use Case: Use this to audit a Rust codebase before a major release to ensure that critical protocol state machines and parsers are covered by both safety and liveness proofs.

Quick Start

Run the formal coverage audit skill on the current repository to generate a traceability matrix and a prioritized gap backlog.

Frequently Asked Questions about formal-coverage-audit

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

FAQPage Schema
How do I audit TLA+ and Kani verification coverage for security gaps?

Formal verification gap analysis scores uncovered state machine and protocol logic paths by impact, exploitability, and remediation effort. It connects implementation code to TLA+, Kani, and proptest artifacts, producing a prioritized backlog of safety and liveness proof gaps.

When do I need formal verification coverage for high-assurance software?

You need formal verification coverage when preparing high-assurance software for a major release to prevent critical correctness regressions. It validates that critical protocol state machines and parsers are covered by safety and liveness proofs in TLA+ and Kani.

How do I generate a traceability matrix for proptest and Kani harnesses?

Generate a traceability matrix by running a formal coverage audit on your repository to connect implementation code paths to specific proptest and Kani harnesses. This maps verification artifacts directly to source code for visibility.

Does formal verification gap analysis work with Rust codebases and proptest?

Yes, formal verification gap analysis works with Rust codebases and proptest artifacts to audit protocol state machines and parsers. It identifies uncovered paths in Kani harnesses and proptest strategies to harden correctness proofs.

What is the best way to prioritize formal verification gaps by exploitability?

The best way to prioritize formal verification gaps is by scoring them based on security impact, exploitability, and remediation effort. This risk-based scoring highlights critical correctness gaps in TLA+ specs and Kani harnesses for immediate attention.