# Model check risky code

> Sets up formal verification for the riskiest code, like races and state machines, where tests fall short.

- Page: https://youraiskill.com/skill/backnotprop-create-formal-verification-skill
- What it does: Generate a project-local skill that formally verifies the code where a bug costs the most and tests reach the least, in any language, with whichever verification tool fits. Use for /create-formal-verification-skill, "model-check this race", "prove this invariant", or when concurrency, retries, state machines, parsers, or unsafe code need more than tests.
- Niches: coding, testing
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (2 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
