verify-spec

Validate VDM-SL files with VDMJ and explain syntax, type, and proof obligation results.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/kotaroyamame/formal-agent-contracts --skill verify-spec-kotaroyamame
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verify-spec
Source: https://github.com/kotaroyamame/formal-agent-contracts/tree/main/skills/verify-spec
Command: npx skills add https://github.com/kotaroyamame/formal-agent-contracts --skill verify-spec-kotaroyamame

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validating VDM-SL specifications is error-prone and time-consuming. This Skill automates syntax and type checks via the VDMJ toolchain and generates proof obligations, delivering clear explanations in plain language.

Core Features & Use Cases

  • Syntax checks: Validate VDM-SL files for structural correctness.
  • Type checks: Enforce type safety across modules.
  • PO generation: Produce proof obligations to support formal verification workflows.
  • Plain-language explanations: Translate VDMJ output into approachable guidance for developers without formal methods expertise.

Quick Start

Run the verify-spec skill on a target .vdmsl file to perform syntax checks, type checks, and PO generation.

Frequently Asked Questions about verify-spec

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

FAQPage Schema
How do I validate VDM-SL specification files for syntax and type errors?

You can validate VDM-SL specification files by running automated syntax and type checks using the VDMJ toolchain, which reports structural correctness and type safety issues across multiple .vdmsl files.

What is proof obligation generation in VDM-SL and how does it work?

Proof obligation generation produces formal verification conditions from VDM-SL specifications. The VDMJ toolchain analyzes your .vdmsl files to output these obligations, supporting formal verification workflows for your models.

Do I need a VDMJ JAR to perform type checks and generate proof obligations?

Yes, you need a VDMJ JAR to perform type checks and generate proof obligations. The verification process relies on the VDMJ toolchain to execute syntax validation, type checking, and PO generation on your .vdmsl files.

Can I check multiple .vdmsl files at once for type safety across modules?

Yes, you can check multiple .vdmsl files at once. The validation process enforces type safety across modules and reports any structural or type errors found within the VDM-SL specification files.

Why does my VDM-SL specification fail type checking and how can I understand the errors?

VDM-SL specifications fail type checking due to type mismatches or structural issues. The toolchain translates VDMJ output into plain-language explanations, providing approachable guidance and suggested fixes for developers without formal methods expertise.

What's the best way to explain VDMJ output for developers without formal methods expertise?

The best way to explain VDMJ output is through plain-language translations of syntax and type check results. This approach delivers clear explanations and suggested fixes directly from the VDMJ toolchain output.