runtime-verification
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…
от fcsouza★ 29 звёзд на GitHub
Установить runtime-verification в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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 `.clau
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- NOTICE.md
- references/control-cli-example.ts
- references/control-cli.md
- references/create.md
- references/drive-options.md
- references/feature-map-example/README.md
- references/feature-map-example/create-note.md
- references/feature-map-example/delete-note.md
- references/feature-map-example/search-notes.md
- references/maintain.md
- references/proof-standards.md
- references/sources.md
- references/verify-skill-template.md
FAQ
Что делает скилл runtime-verification?
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".
Как установить скилл runtime-verification?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл runtime-verification запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…