define-contract

Validate SKILL.md structure and YAML frontmatter for Skill Units.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translates natural-language descriptions of agent roles and I/O into formal VDM-SL specifications to eliminate ambiguity and enable automated verification of inter-agent contracts.

Core Features & Use Cases

  • Interactive guidance for modeling agent interfaces in VDM-SL.
  • Generates type definitions, invariants, and operation skeletons from user input.
  • Supports exploration of inter-agent relationships and contract protocols across teams.

Quick Start

Describe the agent's role and I/O in natural language to generate a VDM-SL contract.

Frequently Asked Questions about define-contract

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

FAQPage Schema
How do I convert natural language agent roles into formal VDM-SL contracts?

To convert natural language agent roles into formal VDM-SL contracts, describe the agent's role and I/O. The Skill generates VDM-SL type definitions, invariants, and operation skeletons to eliminate ambiguity and enable automated verification.

What is VDM-SL used for in multi-agent system contract definition?

VDM-SL is used for multi-agent contract definition to translate natural-language agent interfaces into formal specifications. This eliminates ambiguity and enables automated verification of inter-agent contracts across teams.

How do I generate type definitions and invariants for agent interfaces?

You generate type definitions and invariants for agent interfaces through interactive guidance. Provide a natural language description of the agent's role and I/O to produce formal VDM-SL operation skeletons and structural validation.

Can I use this to explore inter-agent relationships and contract protocols?

Yes, you can use this to explore inter-agent relationships and contract protocols. It supports modeling agent interfaces in VDM-SL to verify interactions and specify communication boundaries across multi-agent teams.

Do I need a SKILL.md file to define multi-agent contracts?

Yes, you need a SKILL.md file at the root to define multi-agent contracts. It requires YAML frontmatter with name and description fields to identify and configure the Skill Unit for formal-specification generation.

Why translate agent roles into formal specifications instead of using natural language?

You translate agent roles into formal specifications to eliminate ambiguity inherent in natural language. Formal VDM-SL contracts enable automated verification of inter-agent contracts and ensure structural safety checks.