verified-spec-code-mapper

Map formal specifications to verified code components in Markdown reports.

142|14|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill verified-spec-code-mapper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verified-spec-code-mapper
Source: https://github.com/ArabelaTso/Skills-4-SE/tree/main/skills/verified-spec-code-mapper
Command: npx skills add https://github.com/ArabelaTso/Skills-4-SE --skill verified-spec-code-mapper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill establishes explicit traceability between formal specifications (like preconditions, postconditions, and invariants) and the verified code components they govern, along with their correctness proofs.

Core Features & Use Cases

  • Traceability Reporting: Generate structured Markdown reports that map each specification to its implementation and proof evidence.
  • Verification Auditing: Facilitate audits of formal verification processes by providing clear documentation of coverage and proof status.
  • Use Case: When auditing a critical system that has undergone formal verification, use this Skill to generate a report that clearly shows which specifications are met by which code sections and what proof supports each claim, highlighting any gaps.

Quick Start

Use the verified-spec-code-mapper skill to map specifications to code and generate a verification report for the 'sorting' module.

Frequently Asked Questions about verified-spec-code-mapper

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

FAQPage Schema
How do I map formal specifications to verified code for an audit?

To map formal specifications to verified code, analyze specification statements, code locations, and proof evidence to generate a comprehensive Markdown traceability report. This structured output explicitly links preconditions, postconditions, and invariants to their governing code components and correctness proofs.

What is specification traceability in formal verification?

Specification traceability in formal verification establishes explicit links between formal specs and the verified code components they govern, alongside their correctness proofs. It produces structured documentation detailing coverage and proof status to facilitate system auditing.

Can I use this to document verified systems in Coq or Dafny?

Yes, you can document verified systems in Coq, Dafny, or Isabelle. The process applies to various proof assistants by analyzing specification statements and proof evidence to generate comprehensive verification coverage reports for certification.

How do I generate a verification coverage report highlighting proof gaps?

Generate a verification coverage report by analyzing detailed specification statements, code locations, and proof evidence. The resulting structured Markdown report clearly shows which specifications are met by which code sections and what proof supports each claim, highlighting any gaps.

Does formal verification traceability work without proof evidence?

No, establishing formal verification traceability requires detailed analysis of proof evidence alongside specification statements and code locations. Proof evidence is necessary to produce comprehensive reports that document verified systems and support certification processes.