tlaplus-from-source
OfficialTurn source code into verifiable TLA+ models.
Authortlaplus
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps engineers convert imperative source code (C, C++, Rust, and similar languages) into a concise, formal TLA+ model by extracting core state, transitions, and concurrency patterns, enabling formal reasoning about correctness.
Core Features & Use Cases
- Phase-based workflow: understand the code, identify abstractions, write the TLA+ specification, and propose properties.
- Supports modeling of multi-threaded and concurrent patterns by capturing per-thread program counters and shared state semantics.
- Use cases include validating safety invariants, exploring liveness under concurrent execution, and deriving a compact specification suitable for model checking.
Quick Start
Provide your source code (C, C++, Rust, or similar) and request a high-level TLA+ model; the tool will generate Init, Next, core abstractions, and proposed invariants ready for verification.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tlaplus-from-source Download link: https://github.com/tlaplus/AgentSkills/archive/main.zip#tlaplus-from-source Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.