create-formal-verification-skill
БесплатноБез исполняемых скриптовНе проверенWHEN a project needs its first reusable Everystate check for a race, retry or bounded state invariant; NOT for running or refreshing an existing check…
от mintuz★ 38 звёзд на GitHubОб этом скилле
Create a formal verification skill
Deliver a repository-local skill that a developer can run after changing covered code. Inspect existing verification commands, CI, skill discovery and models before choosing files. Extend an existing project verifier when it already owns the flow.
- Start with the requested area or the most consequential ordering-dependent failure you can ground in the code. State one user-visible promise, its authority and the harm if it breaks. Identify all writers, including callbacks, retry and recovery paths. If the question requires unbounded proof, hardware behavior or exhaustive execution of arbitrary code, explain what evidence that requires before claiming coverage.
- Write a finite TLA+ model and configuration for Everystate. Map each action to a named source symbol. Split actions at observable suspension, transaction and ownership boundaries. Model distinct worker identity even when two workers share a logical key. Include relevant failure paths. Declare the bounds, initial states, environmental assumptions and excluded behavior. For liveness, justify fairness and progress assumptions.
- Pin a tested checker version. For example, with Node 20+, run
npx --yes [email protected] -json Spec.tlafrom the model directory. Use the JSON verdict and the process exit code. For an invariant require exit 0 and statusokon the healthy configuration. Change one guard in a separate configuration and require exit 12, statusinvariant, and the intended invariant name. Use the appropriate verdict for a liveness or deadlock property. A parse error, timeout or missing binary is a failed gate. Explain each genuine counterexample as a sequence of product events. - Connect the check to the implementation. Capture ordered JSONL observations at the production boundary, including action, worker identity and state needed to distinguish correct behavior. Run
npx --yes [email protected] conform -json -trace run.jsonl Spec.tla. Check the verdict, expected observation count, matched count and ignored count. When a trace is impractical, use a deterministic regression test through the real entry point and identify the remaining gap. A hand-written trace only tests the model. - Generate the local skill with discovery frontmatter, concrete commands and a per-property coverage record: source paths and symbols, reviewed commit, bounds, assumptions, negative control, implementation evidence and how to interpret failure. Put one runner behind the local verification flow and CI where the project already uses them. A missing required check makes the aggregate fail. Preserve current product failures as findings.
- Follow the generated instructions from a clean start. In a disposable copy, break the corresponding production guard and run the documented gate. Verify the failure identifies the intended property or behavior. Restore the copy and rerun. If only the model mutation fails, disclose that the implementation link is unverified. Report the actual runs, bounds, findings, and remaining gaps. Revisit the coverage record with
maintain-formal-verification-skillafter covered code changes.
Tool reference: Everystate formal verification.
Установить create-formal-verification-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create-formal-verification-skill?
WHEN a project needs its first reusable Everystate check for a race, retry or bounded state invariant; NOT for running or refreshing an existing check; creates a source-mapped project skill and a reproducible verification gate.
Как установить скилл create-formal-verification-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-formal-verification-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic