AGENT SKILL

verify

Answer "is this shippable / done?" with evidence before a commit or PR — fires on "verify", "is this done", "ready to ship?", pre-commit or pre-PR. Part of the Agentsmith harness; runs the project's verify phases and never claims "passing" without showing the output (R5).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 152
Forks
7

01 前言 Front Matter

name
verify
description
Answer "is this shippable / done?" with evidence before a commit or PR — fires on "verify", "is this done", "ready to ship?", pre-commit or pre-PR. Part of the Agentsmith harness; runs the project's verify phases and never claims "passing" without showing the output (R5).
compatibility
Requires command access; the fast path requires the cross-platform Agentsmith CLI.

03 SKILL.md 正文

Verify — evidence before "done"

"Verified" is not a feeling; it's output you can point at. Never claim passing without showing it (R5 + verification-before-completion).

When this fires

"verify" / "is this done / shippable / ready to merge?" / just before a commit or PR.

Runtime neutrality

The verification runner and evidence standard are client-neutral. Never infer the active agent from this skill's install path: portable canonical content may be copied into a required client adapter such as .claude/skills. Use canonical AGENTS.md when an instruction is relevant.

Fast path — if the Agentsmith CLI is available

  1. Run agentsmith verify (or the installed-project shim .agentsmith/agentsmith verify on macOS/Linux and .agentsmith\\agentsmith.cmd verify on Windows). It runs every phase in .harness/verify.conf and stops at the first failure). --list shows the phases; --only <tag> iterates just one. Add --record <directory> --tree-class <clean-clone|disposable-fixture|linked-worktree|operator-worktree> when deterministic command evidence needs a durable local receipt. The explicit class keeps a dirty operator tree from masquerading as clean-checkout evidence; clean-clone refuses a dirty tree. The destination must be new; relative paths resolve from the project target. Record mode redacts secret-shaped console and sidecar output before either is emitted.
  2. On a failure: read the label + command it printed, explain in plain language what broke, and point at that phase's line in .harness/verify.conf to fix or refine.
  3. Report the actual pass/fail output — not a summary of intent.

The v1 receipt covers deterministic commands only. Keep screenshots, videos, manual assertions, published results, and real runtime or visual checks as separately referenced artifacts. A green receipt does not satisfy an end-to-end gate that requires those observations.

Fallback — no runner or no conf

  1. Say so plainly. With the CLI but no conf, agentsmith verify discover --save <plan> proposes phases from the project; review the plan, then agentsmith verify apply --plan <plan>.
  2. Run the obvious checks for this project directly and show their output: build, test, lint, link/render check, a dry-run. For non-code work, "verify" = open the artifact and confirm it renders / the numbers reconcile / the links resolve.
  3. If nothing is wired yet, propose the phases this project needs and offer to write .harness/verify.conf — but still run the checks by hand this time.

Output you can quote as proof

  • Run it raw. An output-rewriting hook (a token-saving shell wrapper on Bash, for example) can summarise, empty or re-code test, lint, search and git output, and report its own exit status. Run any command whose output you quote through the wrapper's bypass (for rtk: rtk proxy <command>). agentsmith doctor reports such hooks.
  • Absence needs an untruncated, count-based check. "No match" from a truncated or summarised search is not proof that something is absent.
  • CI is green when pending == 0 and failing == 0 on the matching head SHA, read from step conclusions. A cancelled, missing or not-yet-registered check is not green; don't wait for a fixed number of checks.

Report

State each check and its evidence: "build ok, 42 tests green, lint clean" — with the output, not "should pass". Anything skipped is "deferred: reason", never silence.

04 同仓库更多 Skills

PromptPartner
PromptPartner/agentsmith

portable-fixture

Fixture proving that skill identity comes from metadata rather than its installation path.

★ 152
PromptPartner
PromptPartner/agentsmith

portable-fixture

Fixture proving that skill identity comes from metadata rather than its installation path.

★ 152
PromptPartner
PromptPartner/agentsmith

writing-rules

Write or review anything an agent reads — a core rule, a profile gate, a SKILL.md description, an instruction-file line, a subagent prompt, a handoff note, a verify-phase label. Part of the Agentsmith harness; supplies the levers that decide whether a line changes behaviour or only costs tokens — the two loads, context pointers, the ladder, completion criteria, leading words, the no-op test. Its default move is deletion, so it earns most on a draft that already exists.

★ 152
PromptPartner
PromptPartner/agentsmith

wayfinder

Wayfind a foggy, multi-session effort into an accepted repository spec and separate implementation-ticket drafts. Use when the destination is known but important decisions, dependencies, or scope are not yet clear enough to implement safely.

★ 152
PromptPartner
PromptPartner/agentsmith

new-research

Start a durable research / source note that captures what you read and found — fires on "start a research note", "capture these sources", "log my research". Part of the Agentsmith harness; scaffolds docs/research/<slug>.md so findings live in the repo, never in disposable memory (R9), and are never silently deleted.

★ 152
PromptPartner
PromptPartner/agentsmith

new-feedback

Log a harness lesson / post-incident so the SYSTEM improves, not just this one bug — fires on "log a harness lesson", "post-incident", "we should make this less likely", System-Evolution moments. Part of the Agentsmith harness; scaffolds a numbered docs/feedback/NNNN-*.md with the five-stage template (R9 — numbers are never reused).

★ 152