repo-verify-skill

Installation
SKILL.md

Repo Verify Skill

A verify skill lives in the repo it checks, at .claude/skills/verify-<repo>/SKILL.md, so every clone, every machine and every Agent gets it with git pull. It drives the real thing: it builds or launches the app, service or CLI, walks the flows its user walks, and judges each by evidence. Green unit tests alone leave a change unverified; the verify skill is what turns "the tests pass" into "it works".

Two words carry the rest of this file:

  • Surface: where the repo's user meets a change. A CLI's output, an HTTP response, a page in a browser, the files a build writes.
  • Red: the verify skill exits non-zero, and names the broken flow, when a flow it covers is broken. A verify skill that stays green on a broken change proves nothing.

1. Probe

  1. <repo>: the last path part of git remote get-url origin, without .git. No remote → the folder holding git rev-parse --git-common-dir. A worktree's own folder name is not the repo name.
  2. Existing verify skills: any .claude/skills/verify*/SKILL.md under git rev-parse --show-toplevel. Another branch or worktree with verify in its name, other than the one you are in, means another Agent may already be on it: ask the user before going on.
  3. The surface and how to reach it, from what the repo says: README, package.json scripts, pyproject.toml, Makefile, CI config, e2e tests, AGENTS.md / CLAUDE.md. None of these → the header comments of the entry scripts. Still unclear → ask the user what they look at to tell a change worked.
  4. What this machine can drive the surface with: the CLI itself, curl for HTTP, a browser-automation tool only when one is installed and answers. Without one, a web app is driven through its HTTP API. A static build is served from its output folder (python3 -m http.server 0 --directory <out>) and fetched. Code that only runs on a hosting platform (an edge worker, a cloud function) is imported with that platform's objects stubbed, or listed under Boundaries.
  5. Read every script before running it. A command that deploys, publishes, pushes, sends, charges or changes real data stays out of the verify skill and goes under Boundaries, even when it is the repo's usual "run".

Done when you can name the surface, the launch or build command, the ready signal (a port answering, a log line, or for a one-shot build its exit code and last line) and the drive tool. Then go to the section for the request: none exists → 2, one exists → 3, a list of repos → 5.

Installs
2
Repository
lancetw/skills
GitHub Stars
6
First Seen
6 days ago