Skill / SKILL.md

lean

swingerman/engineer

Use to formally verify real code with Lean 4. Model a function or state machine as written, prove an invariant for every input, and reproduce any counterexample as a failing test. Dispatched by /engineer.harden for all-inputs invariants (parsers, maskers, money math, permission predicates); also usable directly. Triggers — "/engineer.lean", "use lean to verify X", "prove X can't happen", "lean-verify this code".
1 views 165 repository starsUpdated Nov 27, 2026
Overview

Use to formally verify real code with Lean 4. Model a function or state machine as written, prove an invariant for every input, and reproduce any counterexample as a failing test. Dispatched by /engineer.harden for all-inputs invariants (parsers, maskers, money math, permission predicates); also usable directly. Triggers — "/engineer.lean", "use lean to verify X", "prove X can't happen", "lean-verify this code".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/swingerman/engineer' skill-source

Use the complete skill-source/engineer/skills/lean directory with your client’s skill installer.

  • engineer/skills/lean

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory engineer/skills/lean

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
b4f7fd9bf151fdb6f4062894a43fbfb9bfc03b6365093314da2852a4f7507332
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills