omh-verification-gate
Skill này làm gì
Skill đặt ra các kiểm tra mà một thay đổi phải qua trước khi được coi là xong hoặc được gộp, như build, kiểm thử và CI. Dành cho lập trình viên muốn có bằng chứng thay vì giả định trước khi gộp.
Khi nào nên dùng
- ✓Khi một pull request đã sẵn sàng và bạn muốn xác nhận build và kiểm thử đã đạt trước khi gộp.
- ✓Khi có người nói một thay đổi đã xong và bạn muốn kiểm tra bằng chứng.
- ✓Khi bạn cần một quyết định rõ ràng là đạt, giữ lại hoặc chặn trước khi gộp để phát hành.
Liên kết skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-verification-gate/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra xem pull request này có thể gộp được không bằng cách xác nhận kết quả build, lint, kiểm thử và CI.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent liệt kê các kiểm tra cần thiết, ghi lại kết quả mà nó thực sự quan sát được, và đưa ra quyết định đạt, giữ lại hoặc chặn. Các kiểm tra còn thiếu hoặc đã cũ được liệt kê là thiếu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Skill có tự chạy kiểm thử không?
Skill ghi lại và kiểm tra các kết quả do bạn hoặc công cụ của bạn quan sát. Kiểm tra đã lên kế hoạch không được coi là đã đạt.
Nếu một bài kiểm thử bị bỏ qua thì sao?
Cổng kiểm tra báo cáo đó là bằng chứng còn thiếu và đưa ra quyết định giữ lại.
Đây có giống rà soát code không?
Không. Rà soát code tìm lỗi trong thay đổi, còn skill này kiểm tra bằng chứng hoàn thành.
Chi tiết
Mô tả gốc của tác giả
[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
Độ phổ biến
- Sao GitHub
- 5.1k
- Vị trí xếp hạng
- #15174
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
omh-accessibility-audit
5.1kGiúp agent của bạn kiểm tra màn hình hoặc luồng có khoảng trống về khả năng truy cập không, như dùng bàn phím, nhãn trình đọc màn hình, tương phản và vùng chạm.
omh-adversarial-consensus
5.1kGiúp agent của bạn tấn công một đề xuất kỹ thuật từ nhiều góc độ độc lập trước khi bạn cam kết, rồi tổng hợp những gì còn đứng vững.
omh-agent-debug
5.1kGiúp agent của bạn tìm hiểu vì sao một agent AI khác bị kẹt, lặp vòng hoặc trôi khỏi nhiệm vụ, và gợi ý cách phục hồi nhỏ nhất an toàn.
omh-agent-instructions
5.1kGiúp agent của bạn viết hoặc cập nhật tệp hướng dẫn, như AGENTS.md hoặc CLAUDE.md, để nói cho các công cụ AI cách làm việc trong một dự án.
Skill tương tự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.