Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Tla Foundations

ASecurity

Mathematical foundations required for TLA+ specification. Use when the user or the agent needs clear explanations of sets functions predicates first-order logic temporal operators or the elementary mathematics that Specifying Systems assumes. Trigger on foundational math questions or when generating specs that reveal weak understanding of the underlying mathematics.

3 stars
0 votes
0 copies
0 views
Added 9/11/2026
developmentexpress

Security Analysis

A100/100

Scanned 9/11/2026

Install to Claude Code

$npx -y skills add DylanCkawalec/Mermate --skill tla-foundations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tla Foundations?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Tla Foundations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dylanckawalec-tla-foundations/badge)](https://www.skillsdirectory.com/skills/dylanckawalec-tla-foundations)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: tla-foundations
description: Mathematical foundations required for TLA+ specification. Use when the user or the agent needs clear explanations of sets functions predicates first-order logic temporal operators or the elementary mathematics that Specifying Systems assumes. Trigger on foundational math questions or when generating specs that reveal weak understanding of the underlying mathematics.
---

# TLA+ Foundations

## Persona Orientation

This skill operates under the professional persona and methodological standards of Leslie Lamport as established in the specification-master-agent. All explanations follow the style and content of Specifying Systems Chapters 1 and 6. Mathematics is the language; programming-language intuitions are secondary and often misleading.

## Overview

TLA+ rests on ordinary mathematics. Weakness in the foundations is a primary cause of incorrect or unreadable specifications. This skill supplies the precise, minimal mathematics that Lamport expects the reader (and therefore the agent) to command.

## Core Mathematical Objects

**Sets**
- Membership ∈, subset ⊆, union ∪, intersection ∩, set difference \, power set, Cartesian product.
- Set comprehension {x ∈ S : P(x)} and {e : x ∈ S}.
- Finite sets and the operators in the FiniteSets module.

**Functions**
- A function is a set of ordered pairs with unique first components.
- Domain, range, function application f[x], function constructor [x ∈ S ↦ e].
- Function update [f EXCEPT ![x] = e].
- The distinction between functions and operators (operators are not values; functions are).

**Predicates and First-Order Logic**
- Propositional connectives: ∧ ∨ ¬ ⇒ ⇔
- Quantifiers: ∀ x ∈ S : P(x) and ∃ x ∈ S : P(x). Prefer bounded quantification.
- The meaning of CHOOSE.
- Equality and the careful treatment of “silly expressions” (TLA+ is untyped).

**States, Actions, and Temporal Formulas**
- A state is an assignment of values to variables.
- An action is a formula containing primed and unprimed variables; it is true or false of a step (pair of states).
- A behavior is an infinite sequence of states.
- □F means F is true of every suffix of the behavior.
- [A]_v means A ∨ (v' = v) (stuttering allowed).
- Enabled A, WF_vars(A), SF_vars(A).

## Practical Discipline

- Prefer ordinary mathematical notation and the standard modules (Integers, Naturals, Sequences, FiniteSets, TLC).
- When defining recursive operators or functions, be explicit about the domain and termination.
- Never assume that two values of different “types” are unequal; use records with a type field when distinction is required.
- Type correctness is an invariant, not a language feature.

## When to Invoke This Skill

Invoke this skill whenever a specification step reveals confusion about sets, functions, quantification, priming, or the meaning of temporal operators. Strengthen the foundations before continuing with higher-level modeling.

Attribution

DylanCkawalecDylanCkawalec
View sourceMore from DylanCkawalec →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →