Skip to content
Back to skills

Verify

ASecurity

Verify a change to this repository by running it: the suites and the gates the change reaches, then the changed thing itself, a hook fed its input, a script run on a case, a hooks module's kit, a server answering a request. Use when a change is about to be pushed or reported done, before a pull request is opened, and again after any later edit.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 29, 2026
toolsgobashgitdocumentation

Works with

  • claude code
  • claude desktop
  • cli

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add bengous/claude-code-plugins --skill verify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bengous-verify/badge)](https://www.skillsdirectory.com/skills/bengous-verify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verify
description: "Verify a change to this repository by running it: the suites and the gates the change reaches, then the changed thing itself, a hook fed its input, a script run on a case, a hooks module's kit, a server answering a request. Use when a change is about to be pushed or reported done, before a pull request is opened, and again after any later edit."
---

# Verify a change

A passing suite says the tests pass. Verifying means the changed thing ran and did what the change says. Do both, in this order, from the repository's root.

## 1. Install

In a fresh clone:

```bash
bun install --frozen-lockfile
```

Before a change under `vellum/`, `pinpoint/` or `atlas/`, that plugin's own dependencies too, `<plugin>` being its directory:

```bash
bun install --cwd <plugin> --frozen-lockfile --ignore-scripts
```

An install the network refuses is a blocker to name, not a step to skip: the suites below need it.

A cloud session clones shallow, and the release tests read the history (`vellum/CHANGELOG.md > has one section for each version its history set`). When this prints `true`:

```bash
git rev-parse --is-shallow-repository
```

complete the clone before the suites:

```bash
git fetch --unshallow origin
```

## 2. The suites and the gates the change reaches

```bash
bun ./scripts/gates/run-gates.ts
```

```bash
bun ./scripts/gates/affected.ts test
```

`run-gates.ts` prints nothing when every gate passes. `bun ./scripts/gates/affected.ts print` shows which units the change reaches. Both measure from `origin/dev`: fetch it first when the clone is old.

## 3. Run the changed thing

Scratch files go in a directory `mktemp -d` prints, never in the repository.

| What changed | Run it | A good result |
|---|---|---|
| A hook script, a plugin's or one under `.claude/hooks/` | Write the JSON Claude Code would send it to a scratch file (its tests hold examples), then `bun <hook> < <scratch file>`, or `bash <hook> <arguments> < <scratch file>` | The exit code and the output the change means: 0 and no output when it lets the call through, 2 and its message on stderr when it blocks |
| A script or a CLI, under `scripts/` or in a plugin | Run it on a case the change is about, in a scratch git repository when it reads or writes one, with its `--dry-run` when it has one | The output the change means. Never run it against GitHub or against `origin`: a script that pushes, tags, labels or comments is verified by its tests and its dry run alone |
| A hooks module: `vellum`, `todos`, `secret-pane`, `pinpoint`, `atlas`, `griller` | `claude plugin validate <plugin>`, then `claude plugin test <plugin>` | Both exit 0 |
| A server or its page: `vellum`, `pinpoint`, `atlas` | Start it as the plugin's `AGENTS.md` or `README.md` says, request the changed route with `curl` | The response the change means. A change to what a page shows is checked by vellum's browser suite, `bun run --cwd vellum e2e -- --project=light-1440`, once `bun run --cwd vellum e2e:install` has installed Chromium; where that install fails, the pull request's `e2e` job is the check: say so |
| The text of a skill, a command, an agent or a rule | `bun ./scripts/gates/validate-frontmatter.ts --all`, then run once, as written, each command the text tells the model to run that writes nothing outside the clone | The gate exits 0 and each command runs as the text says |
| A workflow under `.github/workflows/` | Nothing runs it here | `none`: the pull request's own checks run it |
| Documentation alone | Nothing to run | `none` |

## 4. Prove it

What the pull request's **Proof** shows: for each situation the change meets, the command run and what it returned, as a fenced block of the command and its output, or a table row per input. Run each one before the pull request; the review costs a round for every finding a run would have shown.

| The change | Run | **Proof** shows |
|---|---|---|
| Code that reads an open input: Markdown, a command line, a JSON a hook receives, a file a user writes | A scratch script, in the `mktemp -d` directory, that feeds the parser generated inputs, a few hundred from a fixed seed, the edge cases among them: empty, one character, unclosed, nested, repeated, non-ASCII, CRLF, the longest the format allows. It asserts what holds for every input (no throw, a round trip, an invariant the change states) | The generator's command and what it returned: inputs run, failures, each failing input and its fix |
| A new behaviour | `bun ./scripts/verify/proof.ts red-green <test file>... [-t <test name>]`, with any new helper or fixture the test reads, or their directory, among the paths | Its output: the test red on the base, green on the change. Exit 1 when the base passes it: the test proves nothing, rewrite it |
| An edit of an existing test | `bun ./scripts/verify/proof.ts assertions` | Each assertion among the lines it lists, every hunk of an existing test that removes or changes a line, named, with why the new one is no weaker. One that is weaker is put back |
| A bug fix | A test whose input reproduces the bug, written before the fix, then `proof.ts red-green` on it | The input, and the output: red on the base, green on the change |
| A behaviour section 5 names, which this container cannot play | Nothing here | Named as not played, by its cause: no regression is claimed for it |

`proof.ts` measures from the merge-base with `origin/dev`; `--base <ref>` names another. It copies the given paths into the base's tree and runs `bun test` there and in the working tree: it prints each failure line under its run. A red base whose only failure is an import error, `Cannot find module` or `Export named … not found`, proves no bug: it names a path the copy lacks, or a function the base has under another name. Pass that path too, or name the test whose code the base has with `-t`. A new script or module is red on the base that way alone, and **Proof** says so.

## 5. What this cannot show

A panel, a band, a toast, a skill's flow in a live session and anything in Claude Desktop need a live session: the `field-test` skill plays them on the owner's machine, with tmux and the desktop app, which a cloud session has not. Name a change to one of those in the session's report, so the owner plays it.

A cloud session's container fails some tests the code passes on CI and on the owner's machine. `affected.ts test` stops at its first red run, so where the change reaches them, run the next runs by hand to get their numbers. Name each of these in the session's report as not run in the container, by its cause; the pull request's `test` job runs them.

| The container | Fails | As |
|---|---|---|
| has no IPv6 | `scripts/ci/mutation.integration.test.ts` under `a pass leaves the checkout as it found it`, two tests; `pinpoint/server/serve.integration.spec.ts`, the `[::ffff:127.0.0.1]` address | the 60 s budget, at any budget: Stryker's server cannot listen on `::`; 502 for 508 |
| runs as root, past every file mode | the tests of a file or a folder the process cannot read, write or rename: vellum's `fs.spec.ts`, `queue.spec.ts` and `preview.integration.spec.ts` (`draft`), atlas's `cli.integration.spec.ts` and `inventory.integration.spec.ts`, pinpoint's `a seq that does not read` | a read or a write that succeeds where the test made it fail |
| has a PID 1 that reaps no orphan | `agents-bridge/scripts/codex-run.integration.test.ts`, `cancel also stops the commands codex started` | the killed child left a zombie, which still answers a signal 0 |

A session that starts with a message from `cloud-tools.sh` runs in an environment that did not run `.github/factory/setup.sh` as the clone holds it, or whose tool install failed: quote the message in the session's report, and name there each test or gate the missing tool kept from running.

## 6. Report

In the session's report: each command run and its result, with numbers (tests passed, exit codes), and what section 5 left unplayed. For a change with nothing to verify, the gates that ran, with their count. The pull request body repeats no suite or gate, which its checks show; its **Proof** shows the runs of section 4 and names what section 5 left unplayed (`github-flow/skills/pr/`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.