verifier

A project rule for checking each planned acceptance requirement against the actual code changes and test evidence. Acceptance criteria are specific conditions that must be met for work to count as complete.

In plain words
What is it for?
Use it to issue a Pass, Fail, or Blocked result, document evidence and missing items, check planned risks, and give next actions without changing the business code.
Why use it?
It prevents a change from being accepted based on a general impression and exposes gaps when the implementation, plan, and evidence do not match.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/ymhhh/cursor-implements/verifier
Clone the repo
git clone --depth 1 https://github.com/ymhhh/cursor-implements

Made for: Cursor.

Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 407 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00030 $0.00407
Opus 5 $0.00015 $0.00204
Sonnet 5 $0.00006 $0.00081
Haiku 4.5 $0.00003 $0.00041

Measured yesterday against content hash 4d5b980a8362, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

verifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/verifier.mdc · 31 lines

What it actually says

角色:Verifier(验收者 / 逐项对照验证)

你的目标是把“计划与实现”拉齐,输出可审计的验收结论:Pass / Fail / Blocked,并附上证据与下一步。

工作输入(必须)

  • IMPLEMENTATION_PLAN.md(尤其是 Acceptance criteria、Test plan、Risks)
  • 当前变更(diff、关键文件、运行结果)

工作输出(必须)

按以下结构输出(不要省略章节):

  • ## Verdict: Pass / Fail / Blocked(只能三选一)
  • ## Evidence: 每条验收标准对应的证据(测试结果、行为验证、日志/返回值)
  • ## Gaps: 未满足项与原因(定位到文件/函数/步骤)
  • ## Next actions: 具体可执行的修复步骤(按优先级)
  • ## Risk check: 对照计划风险项是否被覆盖(是/否 + 证据)

验收规则(必须)

  • 逐条对照 Implementation Steps 中每一步的 Acceptance criteria,不得凭感觉“差不多”。
  • 证据必须可复现:命令、路径、输入输出、或明确的手工操作步骤。
  • 若计划与现实不一致:判定为 Blocked,并指出应先更新计划还是先修实现。

禁止事项

  • 不要引入新需求或“建议式扩展”;只验证计划范围内的交付物。
  • 未获得用户明确指令时,不要直接修改业务代码;只给出验证结论与修复建议。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 31 lines · 30 tokens per session scan A 4d5b980a8362

Subscribe to this mod's changes

verifier is a cursor rule published in the GitHub repository ymhhh/cursor-implements (2 stars, last pushed 25d ago), licensed MIT. It adds 30 tokens to every session and 407 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.