Skip to main content
skill CX Codex

create-verification-skill · michael-denyer — Claude Code skill: how to install

Generates a repo-local verification skill that exercises your application like a real user. Helpful when a codebase lacks automated scripts to prove UI, CLI, or API behavior.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add michael-denyer/pstack-claude --skill create-verification-skill -a claude-code
Open on GitHub

What create-verification-skill does

The skill inspects the repository, identifies the user-facing surface (CLI, web UI, or API), and finds run commands directly from project scripts or docs. If the checkout fails to build immediately, fix that before generating anything. It outputs .claude/skills/verify/SKILL.md structured around Launch, Doctor, Drive, Evidence, and Cleanup.

Alongside the driver, it seeds a feature map in features/ with real selectors, command flows, and observable end states. The generator then proves its own output end to end: starts the app, executes a doctor check, exercises one feature, collects artifacts, and clears instances without deleting evidence. In Claude Code, version 2.1.200 or later is necessary for a root-level verify to override the built-in command.

What it helps with

  • generate an automated verification harness for an unfamiliar repository
  • document launch and teardown steps without manual intervention
  • capture execution evidence such as logs, screenshots, and database state
  • seed a structured user-journey map for subsequent agent runs

Example prompts for the agent

  • /create-verification-skill
  • Make a driver skill for this repo
  • Create a verification skill to exercise this app like a user

How to install create-verification-skill

1Skills CLI (Vercel)

npx skills add michael-denyer/pstack-claude --skill create-verification-skill -a claude-code

2Manually: put the files in place

~/.claude/skills/create-verification-skill/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/create-verification-skill/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about create-verification-skill

How do I install create-verification-skill in Claude Code?

Run npx skills add michael-denyer/pstack-claude --skill create-verification-skill -a claude-code in your terminal. This downloads and links the skill to your Claude Code environment.

What does create-verification-skill generate?

It creates a local verify skill in .claude/skills/verify/ alongside a features/ directory. The generated file provides structured steps for launching, diagnosing, driving, and tearing down the application while preserving run evidence.

Why does Claude Code version 2.1.200 matter for this skill?

Claude Code 2.1.200 or later allows a root-level verify skill to replace the bundled /verify command so other playbooks can invoke it. In monorepos, the generator writes into the touched package directory instead.

Source text

SKILL.md · MIT
---
name: create-verification-skill
description: "Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform. Use for /create-verification-skill, \"make a control skill for this repo\", \"make a driver skill for this repo\", or when a project has no scripted way to prove UI/CLI/service behavior."
---

# Create a verification skill

On Codex, read the [platform mapping](../poteto-mode/references/codex-tools.md), including its per-skill notes, before following this skill.

On GitHub Copilot, read the [platform mapping](../poteto-mode/references/copilot-tools.md), including its per-skill notes, before following this skill.

On Muse, read the [platform mapping](../poteto-mode/references/muse-tools.md), including its per-skill notes, before following this skill.

Every serious project needs a scripted way to drive the real app and prove behavior: launch it, exercise a feature the way a user would, and capture evidence. This skill generates that as a project-local skill (`.claude/skills/verify/`) tailored to the repo. Name it `verify`. At the repo root a project skill by that name replaces Claude Code's bundled `/verify`, which only the user can invoke, so every playbook that names the driver skill can call the project one ([Claude Code 2.1.200 or later](https://code.claude.com/docs/en/skills#run-and-verify-your-app)). In a monorepo, write it in the touched package directory instead. You write the generator's output for the next agent, not for a human: it will be read cold, mid-task, by an agent that has never seen the app.

## 1. Interview the repo, not the user

Answer these from the codebase and only ask the user what you cannot observe:

- **Surface:** what does a user actually touch? A web UI, a CLI/TUI, a desktop app, an API, a mobile app, a library? A repo can have several; pick the primary one and note the rest.
- **Run:** how does the app start locally? Prefer the repo's own documented dev command (package scripts, Makefile, README quickstart). Note ports, env vars, seed data, auth.
- **Drive:** how can an agent interact with it programmatically? Existing harnesses first — Playwright/Cypress specs, expect scripts, PTY helpers, curl-able endpoints, a debug port. Only then pick a generic recipe: browser/CDP for web and Electron, a tmux/PTY harness for CLI/TUI, plain HTTP for services.
- **Observe:** what evidence can be captured? Screenshots, terminal transcripts, response bodies, logs, exit codes, DB state.
- **Isolate:** can two instances run side by side (ports, data dirs, profiles)? If not, say so in the generated skill: refusing to double-drive a shared instance beats corrupting the user's session.

If the checkout doesn't build or start as-is, fix that first (or report it precisely) before generating; a skill written against a broken base teaches wrong steps. When an irrelevant missing asset blocks startup (a static dir the API never serves, a sample config), the generated skill may create it, clearly marked as verification scaffolding, and remove it in cleanup.

## 2. Generate the skill

Write `.claude/skills/verify/SKILL.md` with YAML frontmatter (`name: verify` and a `description` that names the app, the surface, and when to reach for it — without frontmatter the skill never registers, and with `disable-model-invocation` the model cannot call it) and these sections, each grounded in what the interview actually found (no placeholders left):

- **Launch:** the exact command that starts the app for verification, and how to tell it's ready (a log line, a prompt). Launch must reach a usable state from an empty data dir, including any migrations and seed data. Ready means usable, not just that a process answers. A database health check can pass while its init scripts are still running. Include teardown. For a short-lived CLI or TUI there is no server to keep alive: launch means build the binary (or install deps) once, then start each drive in its own isolated PTY or tmux session.
- **Doctor:** one read-only check that answers "is this instance worth driving?" — process up, right version/build, port owned by us, auth valid. An agent runs this first whenever anything looks off.
- **Drive:** the harness recipe with real selectors/commands from this repo, not examples. Prefer stable handles (ARIA labels, data attributes, prompt strings, route paths) over coordinates and tab order.
- **Evidence:** what to capture for a proof and where it goes. State the proof standards: exercise the real user path, not internal setters or test-only endpoints; capture the action and the resulting state, not just the final screen; verify side effects (files written, rows inserted, messages sent) alongside what's visible; mocks only where a production boundary already isolates the external system. When the safe path is a dry-run or test mode, verify what it actually skips by observing (files, network, git refs) rather than trusting its name: some dry-runs still touch the network or open a browser.
- **Cleanup:** how to tear down instances the run created. Never kill by process name; kill what you started. Cleanup removes instances and scratch state, never the evidence: proof artifacts survive the teardown, in a location the skill names.
- **Helpers:** any script the skill ships is executable and its invocation is shown in the skill body. A helper the reader has to reverse-engineer is not a helper.

## 3. Seed the feature map

Create `.claude/skills/verify/features/README.md` plus one file per user-facing feature you can identify (aim for the top 3-5 to start, from routes, commands, menus, or docs). Follow the shape in [`references/feature-map-example/`](references/feature-map-example/), with a README index and one file per feature. Each file answers, from the user's point of view: what the feature is, how to reach it, how to drive it with the harness, and what observable end state proves it works. The four H2s are `Sub-features`, `How to get to it (user POV)`, `Driving it with <harness>`, and `Gotchas`. If the seed data lacks a precondition that a journey needs, the journey reports a failure and the reason goes in that feature's `Gotchas`. Never weaken the journey to make it pass. The map is the repo's maintained verification source; a proof that drives one convenient entry point is incomplete when the map lists others.

## 4. Prove the generated skill before handing it over

Run its own instructions end to end once: launch, doctor, drive ONE mapped feature (one is enough; the map exists so later runs can cover the rest), capture evidence, clean up. After cleanup, confirm the evidence still exists at the named location — a cleanup that eats the proof fails this step. Fix what fails, and run the generated cleanup after every failed iteration too, so broken attempts don't strand processes and ports. A generated skill that was never executed is a draft, not a deliverable. If you proved it in a stand-in for the real target (a container in place of a fresh VM, a local stack in place of a remote one), list every setup step the stand-in did that the target will not. Those steps stay unverified until a run on the real target covers them.

## 5. Offer the maintenance loop

Point the user at `/maintain-verification-skill` for keeping the map honest as the app changes. Suggest a cadence only if they ask.

© michael-denyer · MIT · michael-denyer/pstack-claude

Similar skills

Everything for Testing and QA →

create-verification-skill by other authors comes first.

create-verification-skill backnotprop Generates a project-local verification skill that exercises your web UI, CLI, or service through real user flows and collects test evidence. CX Codex +1 5,300installs create-verification-skill tester-army Generates a project-local verify-<app> skill on top of e2e. It guides coding agents to launch the app, exercise features like a user, and keep evidence in .e2e/. CX Codex +1 388installs create-formal-verification-skill backnotprop This skill selects code for formal verification and creates a project-local guide for checking it again after changes. Use it when tests leave important invariants or event orderings uncovered. CX Codex +1 1,200installs qa-do kindlmann Routes plain-language QA problems to one or two specialized skills and runs the workflow with a detailed report. CX Codex +1 1,100installs selector-drift-recovery kindlmann Bulk-regenerates broken Playwright selectors after a UI redesign. Diffs aria snapshots and packages updated locators into a reviewable pull request. CX Codex +1 993installs maintain-formal-verification-skill backnotprop Checks whether a project’s formal verification still matches changed code, then reruns it and classifies failures. Useful after merges or refactors that bypassed the usual verification workflow. CX Codex +1 1,100installs verification-gate sentimony A skill that blocks completion claims until fresh evidence backs them: it builds an evidence matrix and returns a verdict for the exact claim set. CX Codex +1 836installs verification-loop affaan-m Runs a session's work through six phases — build, types, lint, tests with coverage, secret grep, diff review — and prints a PASS/FAIL report. CX Codex +1 5,000installs

From the same set7

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor