agentleFS
mo-cmykmo-cmyk/mazarbul/.claude/skills/verify/SKILL.md

verify

Skill2 starsChanged 35 days agoApache-2.0View on GitHub

Static verification of in-progress work. USE WHEN you want to confirm work before claiming done, before opening a PR, when Stop hook requests verification, or when user says 'does this work?'. Detects changed surfaces (Go/proto/web), runs only relevant fast checks (go vet, golangci-lint --new-from-rev, , # (no frontend), go test -short on changed packages). NOT FOR full pre-PR check (use /preflight) or end-to-end behavior verification (use bundled /verify which launches the app).

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use genie-hacks, workfly and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • automagik-devSkill

    genie-hacks

    Browse, search, and contribute community hacks — real-world patterns for provider switching, teams, skills, hooks, cost optimization, and more.

    Also in 3 projects that use this

  • automagik-devSkill

    workfly

    Discover a procedure and build its saved workflow — dynamic discovery, drafted script, adversarial verification, landed in the catalog.

    Also in 3 projects that use this

  • AviadPSkill

    risk-assess

    Assess the risk and blast radius of a proposed code change before implementing it. Evaluates CI impact, framework-wide vs localized scope, rollback path, and identifies blindspots. Use when user says "what's the risk", "is this safe", "assess the impact", "risk assess", "blast radius", or before applying framework-wide or CI-affecting changes. Do NOT use for code quality review (use code-quality) or plan validation (use design-validator).

    Also in 3 projects that use this

  • sanmidableSkill

    defaults

    Also in 3 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 7 projects that use this

  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 3 projects that use this

  • +2 more from automagik-dev

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 8

    Distinctive

    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
  1. Distinctive:

    Before opening a PR

    line 16
  2. Distinctive:

    After a large refactor (more than ~3 files touched)

    line 17
  3. Distinctive:

    Before saying "this is done" to the user

    line 18
  4. Distinctive:

    When the user asks "does this work?" or "prove this works"

    line 19
  5. Distinctive:

    Run in parallel where possible (independent commands → single Bash tool call set):

    line 39
  6. Distinctive:

    Run the full test suite if only a handful of packages changed (slow, wastes signal)

    line 69
  7. Distinctive:

    Verify generated code that the user didn't touch

    line 72
  8. Distinctive:

    Stop hook , same checks, but automatic at end-of-turn

    line 78

“Common” is measured: kept by at least 6 in 10 of the 167 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/verify , Mid-task verification loop

Boris Cherny's #1 tip from his canonical Jan 2 2026 thread:

"Probably the most important thing , give Claude a verification loop = 2-3× quality."

This skill is the on-demand version of the Stop hook (.claude/hooks/stop-verify.sh). Use it explicitly whenever you want to confirm work before progressing, without waiting for the agent to claim done.

When to invoke

  • Before opening a PR
  • After a large refactor (more than ~3 files touched)
  • Before saying "this is done" to the user
  • When the user asks "does this work?" or "prove this works"
  • Inside a /loop cycle that wants explicit gating

How it runs

Step 1 , Detect changed surfaces

git diff --name-only HEAD

Bucket files into surfaces:

  • Go , *.go (excluding gen/)
  • Proto , *.proto
  • Web , web/**/*.{ts,tsx} (excluding web/src/gen/)
  • Terraform , terraform/**/*.tf
  • SQL , migrations/*.sql

Step 2 , Run only the checks that match

Run in parallel where possible (independent commands → single Bash tool call set):

SurfaceCommand(s)
Gogo vet ./... then go test ./<changed-pkg>/... (not full suite , only packages with diffs)
Proto && -d and (if proto changed) ``
Web# (no frontend currently)
Terraformterraform fmt -check -recursive && terraform validate (from terraform/)
SQL# (no atlas migrations yet) && atlas migrate lint -d file://migrations -t latest

Step 3 , Report

Output exactly one of:

✓ verified , all checks green

OR

✗ blocked , N check(s) failed:
  - go vet: <last 5 lines of failure>
  - # (no frontend): <last 5 lines of failure>

Then suggest the smallest concrete next step (which file to look at, which test to run individually).

What this skill deliberately does NOT do

  • Run the full test suite if only a handful of packages changed (slow, wastes signal)
  • Auto-fix failures , surface them, let the user decide
  • Mask failures behind summaries , show the actual error tail
  • Verify generated code that the user didn't touch

Pairs well with

  • /simplify , verify before simplifying so you have a green baseline
  • /go , composite skill that wraps verify → simplify → ship
  • Stop hook , same checks, but automatic at end-of-turn

Gotchas

  • Don't run mise run test if only one package changed. Slow + noisy. Use go test ./<pkg>/... with the actual diff scope.
  • go vet is fast but incomplete. Pair with package-scoped tests, not just vet alone.
  • # (no frontend) already runs tsc --noEmit , don't double-run tsc separately.
  • ** passes on missing field comments if field_behavior is set.** AIP-192 violations may slip through , also run ``.
  • River workers don't compile-check at proto generation. Need explicit go vet ./internal/jobs/....

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.