Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Verify Changes?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/atemaguer-verify-changes)
---
name: verify-changes
description: The check, test, and build gates for this repository. Read before reporting any change complete.
---
# Verify changes
Run from the repository root after `pnpm install`.
## Gates
```sh
pnpm check # biome, typecheck, docs
pnpm test # vitest: Node bridges, Worker SDK, repository checks
pnpm build # tsc --build
cargo test --manifest-path core/Cargo.toml --locked --workspace --all-features
cargo clippy --manifest-path core/Cargo.toml --locked --workspace --all-targets --all-features -- -D warnings
```
`pnpm docs:check` checks every documented `supertag` command and flag against
`docs/reference/cli.md`.
Rust tests that start a Node bridge need it built first
(`pnpm --filter @supertag/worker-cursor build`, and likewise for Claude Code, OpenCode, and
Modal) and `SUPERTAG_RUST_TEST_NODE` set. PostgreSQL cases need
`SUPERTAG_RUST_TEST_POSTGRES_URL_FILE` and `-- --include-ignored`. Set
`SUPERTAG_RUST_TEST_REQUIRE` so a missing prerequisite fails instead of skipping; see
CONTRIBUTING.md.
After `supertag-ai` changes, run `pnpm --filter supertag-ai typecheck` and, with
`SUPERTAG_RUST_TEST_CLI` naming a built `supertag`, `pnpm --filter supertag-ai test:package`.
After Python SDK changes, install it with `python -m pip install "./sdks/python[dev]"` in a virtual
environment, then run `ruff check sdks/python` and `pytest sdks/python/tests`.
After terminal UI, `.bun-version`, or release packaging changes, run
`python3 scripts/native_archive.py tui --output DIR/supertag-tui` (Bun from `.bun-version` on
`PATH`) and `python3 scripts/smoke_native_archive.py --terminal-ui DIR/supertag-tui`. CI runs
them, with `bun test .test.tsx` and `bun run bench/perf.tsx` in `apps/tui`, in the `tui` job of
`.github/workflows/e2e.yml`.
After desktop or `apps/client` changes, run `pnpm --filter @supertag/desktop build` and
`pnpm vitest run apps/client apps/desktop`. CI runs the suites in the `typescript` job of `.github/workflows/ci.yml`, and the integration suites against a built CLI in `.github/workflows/desktop.yml`.
After terminal UI or `apps/client` changes, also run `pnpm vitest run apps/tui`, then, in `apps/tui`
with the pinned Bun, `bun test .test.tsx` (screens) and `bun bench/perf.tsx` (it exits 1 when a
performance budget is missed); `apps/tui/README.md` describes the end-to-end run against a
throwaway `supertag up`.
After changes under `proto/`, decide whether the protocol version changes and update
`proto/protocol.lock` (see "Changing `proto/`" in `AGENTS.md`); `cargo test -p supertag-protocol
--test protocol_lock` checks it.
After changes under `proto/` or `sdks/`, regenerate and check the bindings and run the round trip:
```sh
uv run --python 3.13 --script scripts/generate-bindings.py --check
uv run --python 3.13 --script scripts/wire-roundtrip.py
```
After changes under `scripts/`, run the script tests and the release version gate:
```sh
node --test scripts/*.test.mjs
uv run --with PyYAML==6.0.3 python -m unittest discover -s scripts -p 'test_*.py'
python3 scripts/release_version.py --check
```
After changes to Workspaces, delivery, landing, Work Sessions, or a harness adapter, run the
end-to-end journeys on a disposable `supertag up`: local, continuation, remote, merge, a merge
conflict and its re-land, and remotes that need an HTTPS token or an SSH key (the SSH one needs
Docker). They use the fixture adapter, so no model is called. Add `--harness codex`, `claude-code`,
`cursor` (needs `CURSOR_API_KEY`), or `opencode` (needs its model provider's API key) to run that
harness instead, which spends about a dozen small turns:
```sh
cargo build --manifest-path core/Cargo.toml -p supertag-cli --features test-fixtures \
--bin supertag --bin supertag-fixture-adapter
SUPERTAG_E2E_BINARY=core/target/debug/supertag python3 scripts/test_e2e_journeys.py
```
CI runs the fixture journeys in the `journeys` job of `.github/workflows/e2e.yml`. The script
discovery under "After changes under `scripts/`" finds this file too but, without
`SUPERTAG_E2E_BINARY`, skips every journey: a passing discovery says nothing about them.
After changes to the Modal provider or remote Workspaces in sandboxes, add `--provider modal` to run
one Claude Code turn in a Modal sandbox on the signed-in Modal CLI's profile instead (it costs a
fraction of a cent of Modal time plus the turn; see `ModalJourney` for what it needs).
## Notes
- If a gate cannot run in your environment, say so explicitly and state what you verified
instead. Do not report a change complete on the strength of the gates you skipped.