Tooluck logoTooluck
SKILL.md

maintain-formal-verification-skill

Agent skill frombacknotprop/pstack

Bring a project's formal verification back in line with the code after the code changes: find the commits that touched verified code, update the model, harness, or properties to describe the code as it is now, rerun, and say whether each failure is drift in the verification or a bug in the code. Use for /maintain-formal-verification-skill, \"is the model still true to the code\", or after merges and refactors that touched verified code without rechecking it.

How to install maintain-formal-verification-skill

install maintain-formal-verification-skill
# install the pstack pack with the skills CLI
npx skills add backnotprop/pstack

# or add only this skill to Claude Code: copy the folder

skills/maintain-formal-verification-skill/

# into

~/.claude/skills/maintain-formal-verification-skill/ (all projects)

.claude/skills/maintain-formal-verification-skill/ (one project)

skills/maintain-formal-verification-skill/SKILL.md

MITFull file
1# Maintain a formal verification skill
2
3A formal check proves a property of what it describes. When the code changes and the verification does not, the check can keep passing while it describes code that no longer exists. That pass is the dangerous case, because it looks like a proof. This skill is the upkeep loop for a verify skill that `/create-formal-verification-skill` generated, or for any project-local skill that runs a model checker, prover, or code-level verifier against named code. The project-local skill handles a change that an agent makes while it uses that skill. This skill handles the changes that skipped it: merges, edits made without the skill, and drift that builds up across many commits.
4
5## Outcomes
6
7Give each check one outcome, and say which:
8
9- **in sync**: no change since the last sync alters what the check describes, and the check passes.
10- **updated**: the code changed, the verification now describes the new code, and the check passes.
11- **bug**: the verification describes the current code, and the code breaks the property. This is a finding about the code. It is not drift.
12- **blocked**: the check could not be brought back in line or could not run. Say exactly why.
13
14A check can be both updated and bug: the update makes the verification describe the code again, and then the property fails on it.
15
16## Edit scope
17…

Excerpt shown under the repository's MIT license.

More skills in pstack

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates