runtime-verification
Skill29 starsChanged 17 days agoMITView on GitHub
Use when a project needs a scripted way for an agent to run the real app, drive it the way a user does, and keep evidence of what happened, or when such a setup has gone stale. Create mode writes a project-local verify-[app] skill (launch, doctor, drive, evidence, cleanup, helpers) plus a feature map written from the user's side, then proves it once end to end. Maintain mode audits an existing verify skill and feature map against the app and ends clean, changed or blocked. Use for "make a verification skill for this repo", "give the agent a way to run and click through the app", "prove it works in the running app, not just the tests", "audit the verify skill", "the feature map is out of date", web apps, Electron, CLIs, TUIs and HTTP services. Also use when the user says "cria uma skill de verificação", "prova que funciona no app", "roda o app e me mostra a evidência" or "atualiza o mapa de features".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- jimyag/dotfilestheir own version, first seen Oct 17, 2026
- jcarlosrodicio/normatheir own version, first seen Oct 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- jimyag/dotfiles★ 11same name
- jcarlosrodicio/norma★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- asaasSkill
- betterauth-integrationSkill
- bombadilSkill
- bullmq-game-queuesSkill
- character-design-narrativeSkill
- ci-cd-gameSkill
- claude-agent-sdkSkill
- database-performance-tuningSkill
- elevenlabs-sound-musicSkill
- encode-correctionsSkill
- formal-verificationSkill
- foundry-vtt-devSkill
- game-anti-cheatSkill
- game-backend-architectureSkill
- game-blenderSkill
- game-clientSkill
- game-design-fundamentalsSkill
- game-architectSkill
- game-balanceSkill
- game-buildSkill
- game-expandSkill
- game-loreSkill
- game-questSkill
- game-reviewSkill
- game-devSkill
- game-economy-designSkill
- game-godotSkill
- game-localizationSkill
- gameplay-analyticsSkill
- game-save-loadSkill
- game-state-syncSkill
- game-unitySkill
- judgeSkill
- level-designSkill
- matchmaking-systemSkill
- mmo-designSkill
- monitoring-game-opsSkill
- nuvemshop-sdkSkill
- openclaw-genieSkill
- postgres-game-schemaSkill
- procedural-genSkill
- quest-mission-designSkill
- quest-narrative-coherenceSkill
- react-animationsSkill
- redis-game-patternsSkill
- skill-progression-treesSkill
- story-structure-gameSkill
- stripe-game-paymentsSkill
- ui-ux-gameSkill
- worldbuildingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 12 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 18
No project skill drives the app, or the user asks for one: Create.
- Distinctive: line 35
A generated skill that never ran is a draft: Only a skill you ran end to end is done.
- Very specific: line 41
Read references/create.md before you start.
- Distinctive: line 44
Fix or report a broken base: If the checkout does not build or start, fix that first or report the exact failure.
- Very specific: line 45
Pick the driver: Use an existing harness first.
- Distinctive: line 68
Cleanup: stop what this run started, remove scratch state, keep evidence.
- Very specific: line 69
Helpers: every script is executable, and the skill body shows the exact command that runs it.
- Distinctive: line 89
Reconcile: Every feature has a reader summary.
- Very specific: line 107
Do not call a page proven because curl got 200.
- Distinctive: line 108
Do not trust "ready" when a port answers.
- Very specific: line 109
Do not kill by name (pkill bun, killall node).
- Distinctive: line 110
Do not put evidence inside the data directory cleanup deletes.
- Distinctive: line 111
Do not write a feature file from source alone.
- Distinctive: line 112
Do not assert on text the page always shows.
- Distinctive: line 113
Do not use a bare helper name in feature files.
- Distinctive: line 114
Do not edit the map to match a broken app.
- Distinctive: line 115
Do not prove the skill in a stand-in (a container for a VM, a local stack for a remote one) and call the target done.
- Very specific: line 116
Do not hand over a skill with placeholder text such as <port> or TODO.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Runtime verification
Give an agent the same tools a person uses to check a change: start the real app, use it, look at what happened, and keep the proof. Review then means reading evidence (screenshots, terminal transcripts, read-back state, recordings) instead of trusting a summary.
This skill has two modes. Create writes a project-local skill, .claude/skills/verify-<app>/, and proves it once. Maintain audits that skill against the app as the app changes.
Adapted from the create-verification-skill and maintain-verification-skill skills in pstack v0.15.46 by Lauren Tan, under MIT. Modified: one skill with two modes, Claude Code skill paths and frontmatter, Agent readers, a driver order for Claude Code, and a feature-map example rebuilt from a proof run. Licence details: NOTICE.md.
Pick the mode
- No project skill drives the app, or the user asks for one: Create.
- A
verify-*skill with afeatures/map exists and the app changed, or the user asks to audit it: Maintain. - Several
verify-*skills exist: ask which one. One with afeatures/map drives the app; one that runs a model checker, a prover or property-based tests belongs toformal-verification. None exists and the user asked for Maintain: say so and offer Create. Do not invent a target. - A
verify-*skill exists and the task is to check one change: do not run either mode. Follow that skill.
Rules for both modes
- The real user path. Drive what a user touches: the page, the command, the endpoint a client calls. Internal setters, test-only routes and writes straight to storage do not prove a feature.
- Action and result. Capture what you did and the state it produced, not only the final screen.
- Read side effects back through a second view. A row the UI created is read through the CLI, the API or the data file. A toast that says "saved" is not proof.
- Mocks only at a real production boundary. Stub a payment provider or a mail relay the app already isolates. Never stub the code under test.
- Check what a dry-run skips. Watch the files, network and refs it touches. Some dry-runs still write or call out.
- Doctor first whenever something looks off: before the first drive, after any failed drive, after any surprise.
- Kill what you started. Track the process IDs you launched. Never kill by process name or by port alone.
- Cleanup never removes evidence. Evidence lives in a directory cleanup does not touch, and you list it after cleanup to prove it survived.
- Never weaken a journey to make it pass. A missing precondition is a failure with a reason, written under that feature's
Gotchas. - A skipped entry point is not verified. Driving the CLI does not prove the button. Report the button as not driven.
- A generated skill that never ran is a draft. Only a skill you ran end to end is done.
The full evidence standard is in references/proof-standards.md.
Create mode
Read references/create.md before you start. In short:
- Interview the repo, not the user. Answer five questions from the code: surface (what a user touches), run (how it starts locally), drive (how an agent can operate it), observe (what evidence it can capture), isolate (can two instances run side by side). Ask the user only what the repo cannot answer.
- Fix or report a broken base. If the checkout does not build or start, fix that first or report the exact failure. A skill written against a broken base teaches wrong steps.
- Pick the driver. Use an existing harness first.
references/drive-options.mdlists the order and the commands. - Write the skill at
.claude/skills/verify-<app>/SKILL.mdfromreferences/verify-skill-template.md, with every section filled from what the interview found. Build a small control CLI as its helper when agents would otherwise write throwaway scripts;references/control-cli.mdlists the traits. - Seed the feature map under
features/: aREADME.mdindex and one file per user-facing feature, the top three to five first. Follow the contract below and the worked example inreferences/feature-map-example/. - Prove it once. Follow the generated skill as written: launch, doctor, drive one mapped feature, capture evidence, clean up, then list the evidence. Fix every step that failed or needed knowledge the page did not give, and run cleanup after each failed try. Run
claude plugin validate .claude/skillsto check that the frontmatter parses. - Hand over with the proof output, the evidence location, and every step left unverified.
Frontmatter of the generated skill
---
name: verify-notes
description: Use when you need to run Notes (web page on port 4173 and the `notes` CLI) and prove a change works by driving it as a user. Launch, doctor, drive, evidence and cleanup for this repo, plus a feature map under features/.
---Claude Code loads project skills from .claude/skills/<name>/SKILL.md. Claude decides when to use a skill from its description, so name the app, the surface and the moment to reach for it. name sets the slash command and defaults to the directory name; keep them equal. If the YAML does not parse, the body still loads but Claude cannot match the description. New skill folders are picked up within the session; if one does not appear, run /reload-skills.
Sections the generated skill must have
- Launch: the exact start command, how to tell the app is usable (not only that a port answers), a fresh data directory, and the teardown. For a short-lived CLI, Launch builds once and each drive runs in its own session.
- Doctor: one read-only check. Process up, the right build, the port held by the process this run started, auth valid.
- Drive: real selectors and commands from this repo. Prefer roles, labels, test ids, prompt strings and routes over coordinates.
- Evidence: what to capture, where it goes, and the proof standards, written out in the generated skill.
- Cleanup: stop what this run started, remove scratch state, keep evidence. Show how to check that nothing was left running.
- Helpers: every script is executable, and the skill body shows the exact command that runs it. Refer to scripts as
${CLAUDE_SKILL_DIR}/scripts/<name>so the path works from any directory.
Feature map contract
Each feature file is written from the user's side, so the user and the agent share one name for each part of the app. The file has:
- An H1 with the feature name, then one paragraph on what the user sees.
- Exactly four H2s, in this order:
Sub-features,How to get to it (user POV),Driving it with <harness>,Gotchas. - Under
Driving it with <harness>: aPreconditions:list, then one bullet per step that pairs the user action, the exact command, and the result you can observe.
The README.md index holds baseline preconditions, driving conventions, proof and skip reporting, the contract above, and one link per feature. Keep code paths out of the map. It names what a user does and sees.
The index also says where the helper lives, as a path from the repo root. Claude Code substitutes ${CLAUDE_SKILL_DIR} only in the SKILL.md it loads. Feature files are read later, as plain files, so a short name such as control-notes means nothing there unless the index defines it.
Maintain mode
Read references/maintain.md before you start. In short:
- Locate the verify skill and read its
features/README.md. Fix missing, extra, duplicate and dead index entries. - Readers in parallel. One read-only
Agentcall per feature file, all in one message, with the brief fromreferences/maintain.md. Readers read source and the feature file. They never run the app and never edit. - Reconcile. Every feature has a reader summary. Check cited drift. Look for user-facing surfaces missing from the map, with a concrete source path for each.
- One live pass that drives every feature at least once, even when the readers found nothing. You alone drive. Doctor before the first drive and after every failure.
- Triage. Wrong description: doc drift, fix the map. Working behaviour the harness cannot drive: harness gap, fix the helper and drive it again. Broken app behaviour: product regression, report it and leave the map saying what the product should do.
- End in exactly one outcome:
clean: every feature covered from source and live, nothing to change.changed: proven corrections made inside the verify skill's directory.blocked: coverage could not finish. Name the blocker.
The proof run for this skill ended changed. The clean and blocked paths were not run.
Edit only the verify skill's own directory. Never edit product code during Maintain.
Control CLI
When agents keep writing one-off scripts to click through the app, give the verify skill a small control CLI instead. Agents reuse it, spend fewer tokens, and the CLI itself can be tested. Traits, with examples, are in references/control-cli.md: a few composable commands, --dry-run on anything destructive, errors that say what to do next, rich --help, and JSON output.
Pitfalls
- Do not call a page proven because
curlgot 200. Drive the page in a browser when the surface is a page. - Do not trust "ready" when a port answers. A server can listen before migrations or seed data finish.
- Do not kill by name (
pkill bun,killall node). That kills the user's own dev server. - Do not put evidence inside the data directory cleanup deletes.
- Do not write a feature file from source alone. Drive the steps before you call them correct, and check every "where it is on the page" against a screenshot.
- Do not assert on text the page always shows. A search result check that also matches the full list proves nothing; read the results region in the snapshot.
- Do not use a bare helper name in feature files. Give its path from the repo root in the index.
- Do not edit the map to match a broken app. That hides a regression.
- Do not prove the skill in a stand-in (a container for a VM, a local stack for a remote one) and call the target done. List each step the stand-in covered that the target will not.
- Do not hand over a skill with placeholder text such as
<port>orTODO.
Files
references/create.md: read before Create mode. Interview questions and where to find the answers, broken bases, writing each section, seeding the map, the proof run, the handover.references/maintain.md: read before Maintain mode. The reader brief to copy, reconcile, the live pass invariants, triage, outcomes and the report.references/proof-standards.md: read when you capture evidence or judge whether a proof counts.references/drive-options.md: read when you pick how to drive the app. Driver order and working commands for browsers, Electron, CLIs, TUIs and HTTP services.references/control-cli.md: read when you build or fix the verify skill's helper CLI.references/control-cli-example.ts: the control CLI from the proof run (Bun, Playwright, subprocess). Copy its structure.references/verify-skill-template.md: copy when you write.claude/skills/verify-<app>/SKILL.md.references/feature-map-example/README.md: example index for a small notes app with a web page and a CLI.references/feature-map-example/create-note.md: example feature driven through the page and read back through the CLI.references/feature-map-example/search-notes.md: example feature with scoped assertions and a product regression recorded underGotchas.references/feature-map-example/delete-note.md: example CLI-only feature with a dry run checked before the real delete.references/sources.md: read when you need the page behind a Claude Code claim.NOTICE.md: upstream files adapted and the MIT licence.
Related skills
bombadil: a property-based fuzz pass over the same running app, after the verify skill can launch it.formal-verification: for promises driving cannot reach, such as two retries that overlap.encode-corrections: turn a repeated verification miss into a rule, a lint or a test.judge: review the change before merge; the verify skill's evidence goes in that review. It ships in thestandalone-skillsplugin.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

