In short.
Create Formal Verification Skill is an AI coding assistant skill for developers checking one critical software property, but any verification result depends on the model and its assumptions matching the implementation. Its instructions choose TLA+ for concurrent protocols, Lean for arithmetic or algorithms, and Kani for Rust. The intended output is a reusable project skill with source references, assumptions and a verification command. Counterexamples must be investigated, and successful outcomes require a passing rerun. No installation, verification run or generated proof was assessed.
Researched and written by an AI model and checked by a second AI model. How it works
The supplied manifest covers the complete selected folder, skills/create-formal-verification-skill, containing SKILL.md, plus the repository-root LICENSE as a related notice outside that folder. Other repository code, the ledger implementation, companion skills and external verifier documentation are excluded. No installation, assistant execution, formal model, proof, counterexample or runtime behavior was tested.
The overview
Identity
The resource is skills/create-formal-verification-skill/SKILL.md in Yeachan-Heo/oh-my-claudecode. Its internal name is create-formal-verification-skill. The selected folder is [https://github.com/Yeachan-Heo/oh-my-claudecode/tree/main/skills/create-formal-verification-skill].
The metadata credits Lauren Tan’s pstack method and Michael Denyer’s pstack-claude port. The selected file supplies assistant instructions; the captured folder contains no separate verifier implementation.
Assessment
The strongest feature is its connection between a formal model and the implementation: assumptions must cite source lines, unsupported assumptions must be flagged, and counterexamples must be checked against the code. This provides a useful structure for reviewing what a verification result actually establishes.
Practical usability remains unknown. The supplied file contains no completed example, verifier output or evidence that an assistant followed the workflow successfully.
Users
The intended users are developers investigating concurrency, locking, retries, exact arithmetic or Rust invariants that tests may miss. Examples named in the source include backoff schedules, quorum calculations and budget accounting.
For beginners, an invariant is a rule the software must preserve, such as preventing two workers from owning the same lock. The instructions assume enough technical judgment to assess whether the chosen model faithfully represents that rule; they do not provide a formal methods tutorial.
Capabilities
The skill directs an assistant to identify three risky candidate properties and pursue one. It maps concurrent protocols to TLA+ and TLC, arithmetic and algorithmic properties to Lean, and Rust input properties, panics and overflows to Kani.
It specifies a generated skill containing the property, specification path, exact command, pass criteria, assumptions and tracked source lines. It also defines how to record successful verification or a counterexample through the parent package’s verification ledger.
Using it
Requirements
Use requires access to the project code and an appropriate verification toolchain. The listed commands include apalache or TLC, lake build, and cargo kani. Required versions, operating systems, installation steps and hardware capacity are not specified.
The prescribed .claude/skills output path implies an assistant workflow that can discover skills there. Compatibility with other assistants is undocumented. Outcome recording also requires an installed package exposing appendLedgerEntry and defaultLedgerPath from dist/features/verification-ledger/index.js.
Mechanism
The assistant ranks candidate properties by potential harm and likelihood of escaping detection, selects one, and chooses a verifier according to the property’s shape. It writes the specification beside the modeled code and numbers assumptions with source references. Assumptions the implementation does not guarantee receive a (!) marker.
A failed verification should produce a minimized counterexample and an investigation of whether the implementation shares the flaw. The instructions prohibit weakening the property simply to obtain a pass.
The reusable output goes to .claude/skills/verify-formal-<property>/SKILL.md. Ledger entries must use the installed package’s locked writer. The formally-verified outcome requires a passing rerun; counterexamples receive verifier-failed.
Setup
The captured file does not give a complete installation procedure. Before use, make the skill available to the assistant, provision the chosen verifier, and confirm access to the installed package’s ledger API.
The ledger instructions refer to the separate babysit skill for an invocation example. That dependency is outside the supplied material. Setup commands and dependency compatibility were not validated.
Example
A hypothetical application is checking whether two workers can hold the same lock simultaneously. Following the instructions, an assistant would model each atomic protocol step in TLA+, express exclusive ownership as a safety property, and document assumptions about operations and process identifiers with references to the implementation.
The intended deliverable would include the model and a generated skill specifying the exact rerun command and pass criteria. This illustrates the proposed workflow; no such model or verification result is included.
Assessment & evidence
Limitations
A successful verifier run establishes the modeled property under the verifier’s configuration and stated assumptions. It does not automatically establish correctness of the whole application. The supplied file does not establish model bounds, Kani coverage settings or the accuracy of any translation from implementation to specification.
The workflow deliberately handles one property at a time. Source changes can invalidate assumptions and line references. The companion maintenance skill is named but not supplied, and no tool execution or integration behavior was assessed.
Reasoning
This approach is most useful when the difficulty lies in combinations of execution steps or mathematical cases that examples cannot adequately cover. Limiting the task to one property makes the intended deliverable specific enough to inspect.
The reusable command and assumption register can make later rechecks more consistent. Their value still depends on keeping the model aligned with the implementation; rerunning an outdated model can produce a passing result with little relevance to current code.
Alternatives
For ordinary business logic, the source recommends the existing verify skill and the project’s test suite. When an existing formal model needs updating after code changes, it points to maintain-formal-verification-skill.
Neither companion skill is included in the captured material, so their behavior is unknown. TLA+, Lean and Kani are the proposed verification options within this workflow; no comparative performance or usability results are supplied.
Evidence
The instruction source is the unchanged SKILL.md at [https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/dec7e4188c0e3de6b92fb3d734ee5c95326021ed/skills/create-formal-verification-skill/SKILL.md]. The related licence is [https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/dec7e4188c0e3de6b92fb3d734ee5c95326021ed/LICENSE].
These files establish the intended workflow and redistribution terms. They contain no generated project skill, completed proof, model-checking output or observed execution result.
Access & freshness
Costs
Total cost is unknown. The file gives no assistant pricing, model usage, runtime estimates, compute requirements or maintenance effort. The repository licence does not establish the costs of the assistant, verification environment or surrounding services.
Rights
The captured repository LICENSE is the MIT License, with copyright attributed to Yeachan Heo in 2025. It permits use, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions.
The licence provides no warranty and limits liability. SKILL.md also contains upstream credit metadata, which remains part of the captured source.
Freshness
The supplied snapshot is pinned to revision dec7e4188c0e3de6b92fb3d734ee5c95326021ed and was captured on 2026-11-16 at 00:57:58.885 UTC. The file supplies no release number or change history.
The capture date does not establish when the instructions last changed. The current main branch and compatibility with current verifier versions were not assessed.
Actions
Before adopting the skill, confirm that its verifier and ledger dependencies are available. Choose one property whose failure would matter, identify the relevant implementation lines, and review every assumption before accepting a verification result.
Inspect counterexamples against the implementation and retain the exact command and pass criteria. After relevant code changes, recheck assumptions and source references before rerunning the verification.
