verify

verify is a command for coding agents from xu-xiang/everything-claude-code-zh. It costs 8 tokens per session (542 once invoked), scanned A, original, MIT.

A verification command that runs checks such as type checking, linting, tests, coverage, security review, and building the project. Type checking checks code types, while linting checks common code-quality problems.

In plain words
What is it for?
Use it before commits or pull requests to check TypeScript, lint rules, tests, coverage, security concerns, and the production build.
Why use it?
It gathers the main quality checks into one review cycle and shows which parts of the implementation still need attention.

Command

Part of the everything-claude-code-zh plugin — 17 skills, 26 commands, 13 agents shipped together

About the project

everything-claude-code-zh is a Chinese translation of a collection of configurations for Claude Code and other AI coding agents. It provides agents, skills, hooks, commands, rules, and MCP configurations intended to support development workflows such as memory persistence, security scanning, evaluation, and research-first work. The catalogue includes commands, skills, agents, instructions, and a plugin from this configuration set.

xu-xiang/everything-claude-code-zh · 1,927 stars · on GitHub

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 commands/xu-xiang/everything-claude-code-zh/verify
Clone the repo
git clone --depth 1 https://github.com/xu-xiang/everything-claude-code-zh

Or install everything-claude-code-zh, the plugin that ships this one along with the rest of its 17 skills, 26 commands, 13 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for verify

README.md
[![agentmods](https://agentmods.dev/badge/commands/xu-xiang/everything-claude-code-zh/verify.svg)](https://agentmods.dev/commands/xu-xiang/everything-claude-code-zh/verify)
Your own site
<a href="https://agentmods.dev/commands/xu-xiang/everything-claude-code-zh/verify"><img src="https://agentmods.dev/badge/commands/xu-xiang/everything-claude-code-zh/verify.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 542 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.00008 $0.00542
Opus 5 $0.00004 $0.00271
Sonnet 5 $0.00002 $0.00108
Haiku 4.5 $0.00001 $0.00054

Measured 5d ago against content hash c7e032dd28c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

verify 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 5d ago.

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.

.opencode/commands/verify.md · 68 lines

What it actually says

验证(Verify)命令

运行验证循环(verification loop)以校验实现结果:$ARGUMENTS

你的任务

执行全面验证:

  1. 类型检查(Type Check)npx tsc --noEmit
  2. Lint 检查npm run lint
  3. 单元测试(Unit Tests)npm test
  4. 集成测试(Integration Tests)npm run test:integration(如果可用)
  5. 构建(Build)npm run build
  6. 覆盖率检查(Coverage Check):验证 80% 以上的覆盖率

验证清单(Verification Checklist)

代码质量

  • 无 TypeScript 错误
  • 无 Lint 警告
  • 无 console.log 语句
  • 函数行数 < 50 行
  • 文件行数 < 800 行

测试

  • 所有测试通过
  • 覆盖率 >= 80%
  • 覆盖边缘用例
  • 测试异常情况

安全

  • 无硬编码密钥
  • 已包含输入校验
  • 无 SQL 注入风险
  • 无 XSS 漏洞

构建

  • 构建成功
  • 无警告
  • 包大小(Bundle size)在可接受范围内

验证报告(Verification Report)

总结

  • 状态:✅ 通过(PASS) / ❌ 失败(FAIL)
  • 分数:通过了 X/Y 项检查

详情

检查项 状态 备注
TypeScript ✅/❌ [详情]
Lint ✅/❌ [详情]
测试 ✅/❌ [详情]
覆盖率 ✅/❌ XX% (目标: 80%)
构建 ✅/❌ [详情]

待办事项(Action Items)

[如果失败,列出需要修复的内容]


注意:在每次提交(commit)和拉取请求(PR)之前都应运行验证循环。

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. 5d ago First seen · 68 lines · 8 tokens per session scan A c7e032dd28c7

Subscribe to this mod's changes

verify is a command published in the GitHub repository xu-xiang/everything-claude-code-zh (1,927 stars, last pushed 6mo ago), licensed MIT. It adds 8 tokens to every session and 542 once invoked, about $0.0000 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-30.