omh-verification-gate
它能做什么
该技能设定改动在被认定为完成或合并之前必须通过的检查,例如构建、测试和 CI。适合希望在合并前拿到证据、而不是凭假设的开发者。
适用场景
- ✓当拉取请求已经准备好,你想在合并前确认构建和测试都已通过时。
- ✓当有人说改动已完成,你想检查证据时。
- ✓当你在发布合并之前,需要明确的通过、暂缓或阻止决定时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-verification-gate/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请通过确认构建、代码检查、测试和 CI 的结果,检查这个拉取请求是否可以合并。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体列出所需的检查,记录它实际观察到的结果,并给出通过、暂缓或阻止的决定。缺失或过时的检查会被列为缺失。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Verification Gate
This is an OMH verification-gate workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
verification-gate gives OMH a deterministic evidence surface before done/merge claims, inspired by ECC-style gates but rebuilt around OMH's prepared-versus-observed contract.
Do Not Use When
- The user asks for visual render QA; use
omh-visual-qa. - The user asks for production release readiness beyond verification commands; use
omh-production-audit. - The user wants a bug-first code review of a diff; use
omh-code-review.
Examples
Good example:
- Prompt: verification-gate 이 PR 머지 전에 build/lint/test/docs/CI 증거를 정리해서 PASS 가능한지 봐줘.
- Expected behavior: Prepare verification_matrix/v1, record observed_check_results/v1, and issue PASS/HOLD/BLOCK with missing evidence.
- Why: The user asks for claim verification across command and CI evidence.
Bad example:
- Prompt: verification-gate 테스트 안 돌렸지만 준비됐다고 해줘.
- Expected behavior: Return HOLD/BLOCK and list missing or stale checks instead of claiming readiness.
- Why: A verification gate is useful only if planned checks and observed results stay separate.
Completion Checklist
- The scenario, expected behavior, observed result, and pass/fail basis are named.
- Proposed fixes are separated from observed QA evidence.
- Missing or failed verification routes back to plan, fix, or a narrower test.
Recovery Notes
- If the expected behavior is unclear, route back to plan before running adversarial checks.
- If verification fails, return to fix or research with the failed signal instead of advancing.
When to Use
Use when Hermes must turn a change, PR, release, or claim into a concrete evidence checklist and PASS/HOLD/BLOCK verdict.
Strong routing signals: `verification-gate`, `verification gate`, `quality gate`, `release gate`, `test gate`, `build lint test`, `lint typecheck tests`, `verify before merge`, `merge readiness gate`, `generated file`, `generated artifact`, `generated output`, `source of truth`, `regenerate instead of editing`, `検証ゲート`, `品質ゲート`, `マージ前の検証`, `リリース前チェック`, `검증 게이트`, `품질 게이트`, `테스트 게이트`, `머지 전 검증`, `빌드 린트 테스트`, `перед мерджем проверь`, `проверь перед пушем`, `гейт проверки`, `проверь перед мерджем`, `докажи что тесты проходят`, `验证门禁`, `质量门禁`, `合并前验证`, `发布前检查`, `verifikasi sebelum merge`, `buktikan perubahan ini sudah selesai`, `cek bukti build lint dan tes`, `pastikan semua pemeriksaan lulus sebelum merge`, `tolong validasi hasil implementasi ini`, `xác minh trước khi gộp`, `xác minh trước khi merge`, `chứng minh thay đổi này đã hoàn thành`, `kiểm tra bằng chứng build lint và kiểm thử`, `đảm bảo mọi kiểm tra đều đạt trước khi gộp`, `đảm bảo tất cả kiểm tra đạt trước khi merge`, `hãy xác thực kết quả thực hiện này`
Catalog Metadata
Category: verification
Phase: verification-gate
Quality tier: verification-gated
Reasoning demand: standard
Quality bar:
- When adapting an existing capability, read
../omh-verification-gate/references/adaptation-quality.mdbefore accepting a plan, dispatching work, or claiming completion; carry its criteria and comparisons into tasks and evidence. - Tie every completion claim to the smallest check that proves it, then broaden for shared surfaces.
- When a diff touches a declared generated path, name its source of truth and regeneration command before the edit rather than after a byte gate rejects it; a diff touching a generator and its output together is the correct shape, not a violation — load
references/generated-artifact-provenance.mdfor the declaration and reporting rules. - Record every field the
observed_check_results/v1artifact expectation below names, for each observed result (originon a failing check only); a field left out is a gap in the record, not a shorter record. - For native
omh_todocheckpoints,recordthenrecallthis verification declaration. Stored declarations are not proof. - When the change answers to a written spec, plan, or issue, load
references/requirement-coverage-map.mdand map requirement to task to evidence under stable ids before claiming coverage. - Give each failing check an
origin:introducedwhen the same command passes at the merge-base or the failure points at a line the diff added or changed;pre_existingonly when an observed run of the same command fails the same way at the merge-base in a clean detached worktree (`git worktree add --deta
常见问题
它会自己运行测试吗?
它记录并检查你或你的工具观察到的结果。计划中的检查不会被视为已通过。
如果某个测试被跳过了怎么办?
关卡会把它报告为缺失的证据,并给出暂缓的决定。
这和代码审查是一回事吗?
不是。代码审查寻找改动中的漏洞,而这个关卡检查的是完成的证明。
详情
作者的原始描述
[omh] Proof a change is done before merge: define and record build, lint, typecheck, test, security, docs, generated-output, and CI evidence before completion or merge. Use when the user says: verification-gate, verification gate, quality gate, release gate, test gate, build lint test, lint typecheck tests, verify before merge.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15174
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。