Formal methods toolkit for multi-agent development using VDM-SL
npx claudepluginhub kotaroyamame/formal-agent-contractsFormal methods toolkit for multi-agent development: define agent contracts in VDM-SL, generate Phase 2 design documents (PROTOCOL.md, API-SIGNATURES.md), verify specifications, auto-prove with Z3, generate code scaffolds with runtime contract checks, auto-generate contract tests from specs and design documents, run end-to-end integrated workflows, reverse-engineer specifications from existing code, import natural language specs to VDM-SL, and export human-readable specification documents. Includes evaluation framework with comparative benchmarks.
A formal methods toolkit for multi-agent development. Define inter-agent contracts in VDM-SL and verify them automatically.
マルチエージェント開発における形式手法ツールキット。エージェント間の契約をVDM-SLで定義し、自動検証する。
With Claude's assistance, even developers without formal methods expertise can:
形式手法の知識がない開発者でも、Claudeの支援により、エージェント間インターフェースの厳密な定義、仕様の自動検証、POのSMT自動証明、仕様からのコード自動生成、統合ワークフローによる一気通貫開発、既存コードからの仕様あぶり出しと対話的な真の仕様の発見、さらにMD自然言語仕様のインポートとVDM-SLからの自然言語仕様書エクスポートが可能です。
Describe an agent's role and I/O in natural language, and Claude converts it into a VDM-SL formal specification.
自然言語でエージェントの役割・入出力を説明すると、VDM-SLの形式仕様に変換します。
Triggers: "define an agent contract", "formalize the interface between agents"
Run VDMJ syntax/type checks and proof obligation generation on a VDM-SL spec file, with results explained in plain language.
VDM-SL仕様ファイルに対してVDMJによる構文チェック・型チェック・PO生成を実行し、結果を平易に解説します。
Triggers: "verify the spec", "generate proof obligations"
Convert VDMJ-generated POs to SMT-LIB format and prove them with the Z3 solver. Claude generates SMT-LIB code based on type/expression mapping rules and reports results (proved / counterexample found / unknown).
VDMJが生成したPOをSMT-LIB形式に変換し、Z3ソルバーで自動証明します。
Triggers: "verify POs with SMT", "prove with Z3", "find counterexamples"
Generate TypeScript or Python implementation scaffolds from VDM-SL specifications (types, functions, operations). Includes runtime verification of pre-conditions, post-conditions, and invariants to detect contract violations at execution time.
VDM-SL仕様からTypeScript/Pythonの実装スキャフォールドを生成します。事前条件・事後条件・不変条件のランタイム検証コード付き。
Triggers: "generate code from the spec", "convert to TypeScript", "generate Python code"
Orchestrates the full formal development pipeline in a single session: Define → Verify → Prove → Generate → Test. Handles phase transitions, error recovery (e.g., returning to definition when verification fails), and generates a comprehensive session report.
定義→検証→証明→生成→テストの全パイプラインを1セッションで実行します。フェーズ間の遷移、エラー回復、セッションレポート生成を自動的に行います。
Triggers: "run the full workflow", "end-to-end development", 「統合ワークフローで開発したい」「一気通貫で」
Provides background knowledge on VDM-SL syntax, type system, and the meaning of each PO type.
VDM-SLの文法、型システム、PO種別の意味など、形式手法の背景知識を提供します。
Triggers: "explain VDM-SL syntax", "what is a pre-condition"
Read existing source code and extract a provisional VDM-SL specification. The extracted spec reflects what the code currently does, not what it should do. Every item is tagged [PROVISIONAL] and framed as a question for user dialogue.
既存のソースコードを読み取り、仮の VDM-SL仕様を抽出します。抽出された仕様はコードの「現在の動作」を反映しており、「あるべき動作」ではありません。全項目に [PROVISIONAL] タグが付き、ユーザーとの対話のための問いとして提示されます。
Triggers: "extract spec from code", "reverse engineer the specification", 「既存のコードから仕様を抽出して」
The core of the reverse workflow. Takes a provisional spec as a scaffold and conducts structured dialogue with the user to uncover the true specification in their mind. Differences between code behavior and user intent are recorded as Findings (Bug / Spec Gap / Intentional / Debt).
リバースワークフローの核心。仮仕様を叩き台として、ユーザーとの構造化された対話を通じて真の仕様をあぶり出します。コードの振る舞いとユーザーの意図の食い違いを「発見事項(Finding)」として記録します。
Triggers: "refine the spec", "review the provisional spec", 「仕様を磨きたい」「コードの意図を確認したい」
Compare the confirmed (true) spec against existing code item-by-item. Generate a diff report, produce prioritized code fixes, and auto-generate tests for every spec condition.
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Production-ready workflow orchestration with 84 marketplace plugins, 192 local specialized agents, and 156 local skills - optimized for granular installation and minimal token usage
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations