tlaplustlaplusOfficialยท3 Agent Skills Included

AgentSkills

Edit and generate TLA+ formal specifications from source code

Adds new variables to TLA+ specifications, splits actions into sequential steps, and generates formal models from C, C++, or Rust source code. Eliminates tedious manual updates to UNCHANGED statements, Init predicates, and TypeOk invariants that often break specifications. Helps engineers verify concurrent and distributed systems faster with correct, model-checkable TLA+ output.
npx skills add tlaplus/AgentSkills --all -g -y

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install AgentSkills?โ–ผ

Run `npx skills add tlaplus/AgentSkills --all -g -y` in your terminal to install all TLA+ skills globally.

How to add a variable to a TLA+ spec?โ–ผ

The tlaplus-add-variable skill declares the variable, initializes it in Init, and updates every UNCHANGED statement, vars tuple, and TypeOk invariant automatically.

Can AI generate a TLA+ model from my code?โ–ผ

Yes. The tlaplus-from-source skill analyzes C, C++, or Rust code, abstracts the key state and actions, and produces a complete TLA+ module with proposed safety and liveness properties.

How to split a TLA+ action into two steps?โ–ผ

The tlaplus-split-action skill introduces a new program counter state, reroutes the original action, creates the intermediate action, and updates fairness and type constraints.

Do these skills work with Claude Code and Cursor?โ–ผ

Yes. All skills follow the standard SKILL.md format and run in Claude Code, Cursor, and other compatible coding environments.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’