verify-change
Skill5 starsChanged 13 days agoMITView on GitHub
Prove a change in developerz-ai/db-mcp-gateway before committing or opening a pull request — the repo's own install, run and check commands. Use before every commit.
- Installs packages
23 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- Apicurio/apicurio-registrytheir own version, first seen Nov 9, 2026
- dnsdoctor/claude-plugintheir own version, first seen Nov 8, 2026
- developerz-ai/gold-standards-in-aiedited, first seen Nov 8, 2026
- developerz-ai/claude-task-masteredited, first seen Nov 8, 2026
- newkirkjosh/skillstheir own version, first seen Nov 1, 2026
- ekajaya740/skillstheir own version, first seen Nov 1, 2026
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- developerz-ai/claude-task-master★ 822% same
- developerz-ai/gold-standards-in-ai★ 244% same
Wrote their own version · 21
- ComposioHQ/composio★ 31ksame name
- RLinf/RPent★ 1.7ksame name
- Apicurio/apicurio-registry★ 951same name
- exelearning/exelearning★ 153same name
- liiiiiiiiil/agent-from-scratch★ 93same name
- liiiiiiiiil/coding-agent-from-scratch★ 93same name
- stoyan-stoyanov/wavefunction★ 20same name
- dativo-io/talon★ 18same name
- augchan42/inkstone★ 5same name
- dnsdoctor/claude-plugin★ 3same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- stackSkill
- state-migrationsSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 79
Run every command from the repo root — the scripts cd there themselves.
- Very specific: line 99
Every job that did not run is named in the output and repeated in the final summary, which then reads ✓ Local quality checks passed for the …
- Distinctive: line 106
Add the test that fails first, then the fix — a green run that never went red proves nothing.
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verify a change in developerz-ai/db-mcp-gateway
House skill — established by dz-runner setup mode from this repo’s own detected commands. Correct it in place; setup never overwrites a skill that exists.
The one gate
bin/check is the local gate and delegates to bin/ci. CI does not invoke it:
.github/workflows/ci.yml independently configures fmt with SHA-pin validation,
both clippy configurations, scrub-feature validation, all-target/all-feature
tests, dependency audit and the tracked-token scan with its regex regression.
The local gate runs the checks it can run faithfully — lint, the SHA-pin scan
and the tracked-token scan (ports of the workflow's greps: the token scan's
exact command line pinned by the orchestration regression, both scans'
verdicts exercised by it), CI's exact audit command, the token-regex
regression from the same script CI runs
(tests/bin/secret-scan-regex.test.sh), the all-feature
test invocation and Pages parity — plus isolated shell orchestration
regressions. Both scans fail closed: the SHA-pin scan checks each grep's
status on its own, so a scan that cannot read .github/workflows is a
tooling error rather than an empty result, and the tracked-token scan reports
a hit by location (path:line) — never the credential it matched.
The gate also runs the Pages-parity job — website typecheck, production build
and the post-build sensitive-asset denylist from .github/workflows/pages.yml —
whenever the site toolchain is present (Node 20+, npm, installed website
dependencies). When that toolchain is absent, that one job is reported NOT RUN
and the gate still grades everything else. Pages retains its existing path
filters; CI stays the authority for the audit and Pages jobs. See
CONTRIBUTING.md#local-quality-gate-matrix for the mapping. Local success does
not guarantee CI publishing or deployment success.
Prepare Rust (rustc, rustfmt and clippy), a C compiler (cc), make, Bash,
GNU grep, Docker Compose and a running Docker daemon. These are REQUIRED: a
missing one returns 75, because the gate cannot grade anything at all. The
refusal lives in bin/check's preflight — the gate's single entry point — so
missing-tool handling has one owner.
Two toolchains are GATE-SCOPED — each belongs to exactly one job: cargo-audit
(the audit job) and Node 20+/npm plus the installed website dependencies (the
Pages job). When one is absent, that job reports
NOT RUN: <job> - <reason> (<how to enable it>) and the gate keeps grading
every other job. The skip is printed and repeated in the final summary; it is
never silent.
bin/check installs nothing. The local audit command is CI's exact command,
cargo audit --ignore RUSTSEC-2023-0071; the ignore set is unchanged (only
RUSTSEC-2023-0071, justified in .cargo/audit.toml and audit.toml).
bin/setup alone is insufficient: it does not install cargo-audit or website
dependencies. Prepare both separately to have every job run.
bin/test always runs docker compose -f docker-compose.dev.yml up -d --wait
before cargo, including when the state DB is already running. All four services
(state-db, target-db, permissions-mysql, target-mongo) must be healthy.
A stack that never became healthy returns 75 without invoking cargo, and the
report names every unhealthy service with its state and health. 75 is reserved
for an unreachable resource or a confirmed health failure: a malformed compose
file or any other compose command failure keeps its own exit status, so the
platform blames the change and not the box. Test arguments are forwarded
unchanged.
Registry login, image/manifest pushes, release publication, artifact upload and Pages deployment are separate credentialed CI-only steps, not local validation. CI cache cleanup is also deliberately not reproduced locally.
| Step | Command | What it is |
| install | bin/setup | export PATH="$HOME/.cargo/bin:$PATH" && (dpkg -s build-essential openssl curl >/dev/null 2>&1 || (sudo -n apt-get update && sudo -n apt-get install -y --no-install-recommends build-essential openssl curl)) && cargo fetch --locked && docker compose -f docker-compose.dev.yml up -d --wait |
| run | bin/dev | cd "$(dirname "$0")/.."; c="docker compose -f docker-compose.dev.yml"; case "${1:-up}" in up) $c up -d --wait;; down) $c down;; logs) shift; $c logs -f "$@";; psql) case "${2:-state}" in state) $c exec -T state-db psql -U "${STATE_DB_USER:-gateway}" "${@:3}";; target) $c exec -T target-db psql -U "${TARGET_DB_USER:-app}" "${@:3}";; esac;; esac — on developerz.ai runs, start it with code_bash_background when you need a running stack |
| prove | bin/check | cd "$(dirname "$0")/.." && export PATH="$HOME/.cargo/bin:$PATH" && bin/ci |
Rules
- Run every command from the repo root — the scripts
cdthere themselves. bin/checkred is not a pull request. Fix the cause, never silence the gate.
Exit codes bin/check must use
A coding box runs this gate before it commits, and it has to tell a FAILING change from a gate it could not run — otherwise correct work is thrown away as if it were red. Exit 1 cannot carry that difference, so one code is reserved:
| Exit | Means | What the platform does |
| 0 | every job that ran passed; any job that did not run is named in the summary | commit it |
| 75 | a REQUIRED resource is unreachable (cargo/rustc/rustfmt/clippy, cc, make, grep, the Docker CLI/daemon/Compose, a dev stack that never became healthy) — it refused to grade | refuse the commit, and blame the environment, never the change |
| any other non-zero | the gate ran and the change is red | refuse the commit, and blame the change |
- Guard the REQUIRED preconditions FIRST and
exit 75when one is unmet.exit 1there tells the platform your change is broken when it is your environment that is. - A job whose own toolchain is absent is not an environment blocker: report
NOT RUN: <job> - <reason> (<how to enable it>)and keep grading. A job that runs and fails keeps its own non-zero code — never turn a red job into a skip. - Every job that did not run is named in the output and repeated in the final
summary, which then reads
✓ Local quality checks passed for the gates that ran (no publishing or deployment)instead of claiming a full pass. A gate that stops early names the jobs it never reached the same way: each gets aNOT RUN: <job> - <reason>notice and an entry in the final list. - Changed a dependency? Re-run
bin/setupbeforebin/check, or you are proving a stale tree. - Add the test that fails first, then the fix — a green run that never went red proves nothing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

