vs-verify
Use when asked to verify, prove it works, check completion, or before claiming done. Produces evidence-backed PASS/WARN/FAIL status.
- License 许可
- MIT
- 所属仓库
- vltansky/vs
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- vs-verify
- description
- Use when asked to verify, prove it works, check completion, or before claiming done. Produces evidence-backed PASS/WARN/FAIL status.
02 资源文件 1
- 脚本scripts/reject-verify-path.mjs15.3 KB
03 SKILL.md 正文
Verify
Prove that a change actually works before anyone claims completion.
Use this as a standalone check or as the verification building block inside delivery flows. It is intentionally smaller than QA: QA explores user-visible behavior; verify proves the specific promised outcome with the cheapest sufficient evidence.
Flow Contract
- Kind: Building block
- Inputs: Claimed outcome, changed files or branch diff, and any known guardrail commands
- Outputs:
## Verification Resultwith status, evidence, gaps, and next action - Status:
PASS,WARN,FAIL, orBLOCKED - Consumers:
vs:build-it,vs:bugfix,vs:fix-pr,vs:ship-it, standalone pre-handoff checks - Skip conditions: Do not skip for non-trivial changes. For docs-only or trivial diffs, record
SKIPPED_TRIVIALwith the reason.
Delivery gates
Follow
../vs-internal-shared/references/bounded-collaboration.md
when the claimed outcome spans more than one delivery boundary. Add a compact
ledger containing only required gates, and keep code, tests, review, merge,
deployment, live behavior, and monitoring or analytics distinct. Mark each
included gate proven, pending, failed, or blocked; omit irrelevant gates.
The overall status inherits the weakest required gate. A single bounded check
keeps the normal result below without an empty ledger.
Verification Ladder
Use the cheapest check that proves the behavior. Stop when the proof is strong enough; do not run the entire suite by reflex.
- Acceptance evidence - identify the behavior or claim that must be true.
- Targeted tests - run existing focused tests first.
- Guardrails - run typecheck, lint, build, or full tests when they are the meaningful proof for this change.
- Direct checks - run a small command, script, curl, or smoke path that demonstrates the behavior.
- Manual/visual evidence - for UI or integration behavior that automation cannot prove, capture the observable state and any remaining manual gap.
- Independent reproduction - for high-stakes or disputed claims (the user
doubts the fix, the bug already survived one "fixed" claim, production is
involved), dispatch one or more fresh-context agents to reproduce the
behavior without telling them the suspected cause or expected result. Their
observed behavior is the evidence; green unit tests alone stay
WARN. - Artifact identity - for deploy or publish claims, prove the served artifact actually changed: compare bundle hash, version, or etag against the built output. Reachability (HTTP 200) alone proves nothing about which build is live.
User path and observable end state
Every run names both:
- User path — the click/type sequence a person would do to see the claim
- Observable end state — what they see or have when the claim is true
A PASS or CLEAN that only says tests passed, with no user path and no
observable end state, is FAIL. A PASS without a named command is FAIL.
When a visual is in scope, a PASS without a real PNG or JPEG (IHDR+IDAT or SOF+SOS with nonzero entropy after SOS, not header-only image magic) in a real screenshot or baseline file inside the scored run directory (no absolute, ~, or .. paths) is FAIL. An empty {}, [], or non-object baseline, VP8X fourcc-only WebP, or one-byte VP8 chunk is not evidence.
Score runs with
skills/vs-verify/scripts/reject-verify-path.mjs (exit 1 is a fail). Exclusive is the live skill path when it is the pinned published-rejector hash plus published skill hash. this rejector still fails the published bad set and passes the published clean set under test/fixtures/path-end-state. A byte-identical published pair matches those hashes. A phrase-complete SKILL.md beside the live tree, a one-line-changed copy scored by itself, or a sibling stub is not exclusive.
Verify may pin a screenshot or baseline path. New shots compare to that pin. Do not invent a show-me skill. If the user names an Expo or device screenshot path, consume that file as evidence; do not add an Expo agent-device skill.
Verify map
When .vs/verify-map/ exists, read Launch and Doctor (and the relevant feature
file) before claiming PASS — do not guess launch. When it is missing, generate
once per
../vs-internal-shared/references/verify-map.md
into the project. If a mapped step no longer matches the app, run the maintain
pass in that contract. Keep this skill a cheapest-sufficient claim checker; the
factory lives in that shared contract, not here.
Rules
- Never report
PASSwithout naming the command, check, or observation that proved the claim. - Never report
PASSorCLEANwithout a user path and an observable end state. - If a check fails, report
FAILand the smallest useful failure excerpt. - If the environment blocks verification, report
BLOCKEDand name exactly what is missing. - If tests pass but the user-visible behavior was not exercised, report
WARN, notPASS. - A deploy claim verified only by reachability is
WARNuntil artifact identity is confirmed. - Keep logs concise. The result should be a proof summary, not a transcript dump.
Status inheritance
Consumers repeat the verify status; they do not soften it:
- A workflow that includes verification reports the verify status verbatim in
its completion summary. While the status is
WARN,FAIL, orBLOCKED, the summary must not say "fixed", "working", or "complete" — say what was proven and what was not, e.g. "Deployed; fix not verified against the reported crash." - A bug-fix claim requires the reproduction that defined the bug to pass now. Green adjacent tests, passing guardrails, or a successful deploy do not upgrade the claim.
Output
## Verification Result
- Status: PASS | WARN | FAIL | BLOCKED
- Claim: <what was being proven>
- User path: <click/type sequence a person would do>
- Observable end state: <what they see or have>
- Visual baseline: <pinned screenshot path, or none>
- Evidence:
- `<command or observation>` - <result>
- Gaps:
- <anything not proven, or "none">
- Next action:
- <ship / fix / run QA / ask user / unblock environment>
For a multi-boundary claim, insert this before Gaps and include only relevant
rows:
- Delivery gates:
- Merge: proven — <evidence>
- Deployment: pending — <next proof>
- Live behavior: pending — <next proof>
Output style
Apply the shared output style to every user-facing message.
Workflow
Direct: emit Next only. Composed: return to caller.
Prev: /vs-build-it | /vs-bugfix | /vs-fix-pr | /vs-qa
Next: /vs-ship-it
Relevant: /vs-perf | /vs-tdd
04 同仓库更多 Skills
vs-write
Use when asked to write, rewrite, edit, tighten, simplify, or polish prose for clarity, or to put text in STE, ASD-STE100, or controlled language. Produces plain, direct, accessible copy without losing substance or precision.
vs-fake-verify
暂无简介
vs-fake-verify
暂无简介
vs-fake-verify
暂无简介
vs-verify
Use when asked to verify, prove it works, check completion, or before claiming done. Produces evidence-backed PASS/WARN/FAIL status.
vs-ui
Use when user asks to design, redesign, critique, polish, or improve frontend UI. Covers websites, dashboards, product screens, components, forms, onboarding, empty states, and visual fidelity checks.