agentleFS
7xuanlu7xuanlu/wenlan/.claude/skills/verify/SKILL.md

verify

Skill79 starsChanged 5 months agoApache-2.0View on GitHub

Drive/evidence recipe for verifying wenlan changes at their real surfaces (daemon HTTP, CLI, MCP stdio). The handle file the built-in verify protocol expects; launch primitives live in the run-wenlan skill, deeper machinery (mutation audit, behavior trace, weekly sweep) in the prove skill.

175 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build-fix, lazy 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.
  • diego-tobalinaSkill

    build-fix

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

    Also in 8 projects that use this

  • vasuag09Skill

    lazy

    Build the minimum that actually works — question whether the task needs to exist (YAGNI), reach for stdlib before custom code, native platform features before dependencies, one line before fifty. A persistent generation-reduction bias for the Implement phase. Use when the user says "be lazy", "lazy mode", "minimal", "simplest solution", "do less", "yagni", or complains about over-engineering, bloat, boilerplate, or needless dependencies. Levels: lite, full (default), ultra. Off: "stop lazy" / "normal mode".

    Also in 3 projects that use this

  • TheKREATORSSkill

    instinct-export

    Export instincts from project/global scope to a file

    Also in 3 projects that use this

  • TheKREATORSSkill

    instinct-import

    Import instincts from file or URL into project/global scope

    Also in 3 projects that use this

  • qtzx06Skill

    eval

    Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.

    Also in 7 projects that use this

  • vltingSkill

    scope

    Interactive planning + orchestration. Approval-gated workflow covering saga→epic→task hierarchy via progressive scoping.

    Also in 6 projects that use this

  • +2 more from TheKREATORS

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No TMPDIR: Always give mktemp -d an explicit template.

    line 44

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

Verifying wenlan — drive the real surfaces

Launch: use the run-wenlan skill — build, isolated boot, stop, the port allocation (manual instance :17878, smoke-cli.sh :17881, smoke-mcp.sh :17882 — they are not interchangeable), and the daemon lifecycle checklist all live there. Never verify against the shared prod daemon on :7878.

Drive by surface — these scripts ARE the drive recipes (read them for the flow, run them for a full round-trip):

  • Daemon HTTP: curl the changed route on the isolated port; recipe in .claude/skills/prove/references/daemon.md.
  • CLI: bash scripts/smoke-cli.sh (capture → memories → search, black-box).
  • MCP: bash scripts/smoke-mcp.sh (stdio JSON-RPC initialize → capture → recall).

Gotchas (drive-time):

  • Ingest is async (batcher + embedding): poll search up to ~60s before calling a miss a failure.
  • Record evidence: prefix any check with bash scripts/attest.sh. It appends one JSON line to .claude/attest.jsonl — the ledger the weekly sweep audits — and passes the command's exit status through unchanged. If it cannot write the ledger it exits non-zero even when the command passed: an unrecorded run reads to the sweep as "the smoke never ran", so it must never be reported as a pass. (~/.claude/bin/attest.sh is a personal macOS helper; it is optional, and it does not exist on Windows or in a fresh checkout. Use the repo script.)
  • WENLAN_NO_AUTOSTART=1 on every command that talks to a daemon. Without it a connect failure starts the user's registered background service, and the check then passes against the wrong instance.

Windows (Git Bash)

Both smokes run here as-is; the platform differences are handled inside them via scripts/lib/host-process.sh. What changes for hand-driven checks:

  • No lsof. Port checks go through netstat -ano (see run-wenlan). A probe that could not run is not a free port — treat a failed probe as fatal, never as "nothing is listening".
  • No TMPDIR. Always give mktemp -d an explicit template.
  • MSYS paths are not daemon paths. Convert with cygpath -m at the daemon boundary only, into a second variable; the shell keeps the MSYS spelling for its own cleanup.
  • $! is not the OS pid, and killing by pid alone can kill a recycled pid's new owner. Resolve the WINPID and compare the image path before killing.
  • python3 may not exist — python is the usual spelling. scripts/smoke-mcp.sh resolves it; do the same in ad-hoc checks rather than assuming.
  • bash scripts/attest.sh works here, so Windows /verify satisfies its own evidence contract. .claude/skills/prove/SKILL.md names the same repo wrapper.

Deeper verification — mutation audit (suite), behavior trace (behaviors), weekly verify-the-verifier (sweep): invoke the prove skill.

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.