tlaplus-add-variable

Official

Add a TLA+ variable without changing semantics.

Authortlaplus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you add a new variable to a TLA+ specification without changing its behavior, ensuring the new variable is properly declared, initialized, and integrated into all relevant constraints.

Core Features & Use Cases

  • Update the VARIABLE declaration block to include the new variable.
  • Initialize the new variable in Init.
  • Update all UNCHANGED statements (including converting single-variable UNCHANGED to a tuple) and ensure the new variable is included.
  • Update the vars tuple (if it exists) to include the new variable.
  • Optionally extend TypeOk invariants to constrain the new variable.

Quick Start

Provide the TLA+ specification and the desired variable name, and I will add the variable, initialize it, and update all UNCHANGED statements and related structures to preserve the model's semantics.

Dependency Matrix

Required Modules

None required

Components

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-add-variable
Download link: https://github.com/tlaplus/AgentSkills/archive/main.zip#tlaplus-add-variable

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.