verify-before-push
Skill0 starsChanged 37 days agoMITView on GitHub
Never push red — run the full verification loop (build, test suites, behavior exercise, watch CI to completion) and report evidence, not plausibility. Use before every push, merge, or release, when a change needs testing, or when a CI/test failure needs triage.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- rootkit-lab/skinktheir own version, first seen Aug 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- rootkit-lab/skink★ 0same name
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.
- templates/AGENTS.mdAGENTS.md
- agent-wavesSkill
- pr-stackSkill
- ship-milestoneSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Full sweep before declaring substantial work done: every suite the repo has, green.
- Distinctive: line 41
When full-stack verification is impractical in the moment (long boots, missing services), say exactly what was verified (unit/integration …
- Distinctive: line 66
Isolated: No verification step may hit a real external service or paid API.
- Distinctive: line 72
Honest gaps: If tests were not run (toolchain missing, services down), the honest output is "not verified, here's why and what's needed".
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verify before push
Prove that things work. The bar is evidence, not plausibility: you ran something, and you can say what it printed.
1. Suites by area
- Build + full test suite on the dev machine. Fix everything red before touching remote — CI is for verification, not discovery.
- Define per-area commands once (AGENTS.md), then run the ones the diff
touches: JVM →
./gradlew test, Python →pytest, Go →go test ./..., compose →docker compose config --quiet, and so on. - A change that crosses a shared contract (schema, message format, golden fixture) must pass every suite that asserts it — drift must fail on both sides.
- Lint/format in the same pass if the project has it configured.
- Full sweep before declaring substantial work done: every suite the repo has, green.
2. Behavior verification (beyond suites)
Suites prove the logic holds; the task promised an observable behavior — an endpoint response, a message flow, a state transition. Verify that too, at the smallest scope that proves it:
- Name the observable behavior the task promised.
- Bug-fix tasks — capture the failure first. Reproduce the broken behavior before writing the fix and keep the artifact (failing test output, curl request/response, query result). That capture is the "before" half of the evidence pair. Never invent a before state; if the fix is already in the working tree, use the test that fails without it, or say so.
- Exercise it for real: call the endpoint (and prove an invalid credential is rejected), watch the message flow through the queue, check the state transition in the datastore. Fixtures and test doubles only — never a live external service in a verification context.
- When full-stack verification is impractical in the moment (long boots, missing services), say exactly what was verified (unit/integration suites) and what was NOT (the end-to-end path) — never imply more confidence than you earned.
3. Remote loop
- Push, then watch CI to completion. Do not assume green; do not context-switch away first.
- For releases: the tag's release workflow must finish, and the artifact must be verified (download it, run it) before announcing anything.
4. Environment gotchas (they look like code bugs but aren't)
- Exec bits stripped by Windows checkouts →
git update-index --chmod=+x <script>(CI symptom: exit code 126 on a script step). - GitHub Actions major-version deprecation warnings → bump the action version in the same commit, not "later".
- Non-interactive shells missing toolchain init (SDKman, nvm, etc.) → export
JAVA_HOME/PATHexplicitly in remote build commands.
5. Rules
- Deterministic. Rerunning a suite gives the same result. Flakiness is a finding, not noise to retry past.
- Isolated. No verification step may hit a real external service or paid API. If a change seems to require live calls to verify, that's a design smell — flag it.
- Failures verbatim. Report the command, the failing assertion, the error — then fix within the task's scope or escalate. Never summarize a failure away.
- Honest gaps. If tests were not run (toolchain missing, services down), the honest output is "not verified, here's why and what's needed".
- When red anyway: report the exact failing command and its raw output, fix forward, and only then move on. A workaround that turns CI off is a bug you shipped on purpose.
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.

