Command Palette

Search for a command to run...

Назад к скиллам
скилл № 50877

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от 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 a features/ map exists and the app changed, or the user asks to audit it: Maintain.
  • Several verify-* skills exist: ask which one. One with a features/ map drives the app; one that runs a model checker, a prover or property-based tests belongs to formal-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

  1. 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.
  2. Action and result. Capture what you did and the state it produced, not only the final screen.
  3. 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.
  4. 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.
  5. Check what a dry-run skips. Watch the files, network and refs it touches. Some dry-runs still write or call out.
  6. Doctor first whenever something looks off: before the first drive, after any failed drive, after any surprise.
  7. Kill what you started. Track the process IDs you launched. Never kill by process name or by port alone.
  8. Cleanup never removes evidence. Evidence lives in a directory cleanup does not touch, and you list it after cleanup to prove it survived.
  9. Never weaken a journey to make it pass. A missing precondition is a failure with a reason, written under that feature's Gotchas.
  10. A skipped entry point is not verified. Driving the CLI does not prove the button. Report the button as not driven.
  11. 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:

  1. 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.
  2. 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.
  3. Pick the driver. Use an existing harness first. references/drive-options.md lists the order and the commands.
  4. Write the skill at .claude/skills/verify-<app>/SKILL.md from references/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.md lists the traits.
  5. Seed the feature map under features/: a README.md index and one file per user-facing feature, the top three to five first. Follow the contract below and the worked example in references/feature-map-example/.
  6. 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/skills to check that the frontmatter parses.
  7. 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

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить runtime-verification с