skill-release-gate
Skill này làm gì
Skill này kiểm tra một thư mục Agent Skill trước khi bạn chia sẻ hoặc xuất bản. Nó dành cho tác giả skill muốn xác nhận skill hoạt động và an toàn trước khi người khác cài đặt.
Khi nào nên dùng
- ✓Khi bạn sắp xuất bản hoặc chia sẻ một thư mục Agent Skill.
- ✓Khi bạn muốn kiểm tra skill kích hoạt đúng cho các yêu cầu phù hợp và không kích hoạt cho các yêu cầu không phù hợp.
- ✓Khi bạn muốn xác nhận các file chưa thay đổi kể từ lúc kiểm thử.
Liên kết skill
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/phases/13-tools-and-protocols/27-skill-evals-packaging-and-portability/outputs/skill-release-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 bundle skill của tôi trước khi tôi xuất bản và cho tôi biết nếu có gì sẽ lỗi với người dùng khác.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc hợp đồng phát hành và các ca kiểm thử, rồi rà soát cấu trúc, ví dụ kích hoạt, kết quả script, kết quả an toàn, mã băm file và khả năng tương thích với môi trường. Nó báo cáo những gì đạt và những gì cần sửa.
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.
Skill release gate
Use this skill before publishing or distributing an Agent Skill directory bundle.
Workflow
- Resolve
SKILL_ROOTto the absolute directory containing this installedSKILL.md. Do not assume the process cwd is the installed bundle. - Resolve
TARGET_ROOTfrom the original workspace working directory and resolve the user-supplied candidate as an absoluteTARGET_BUNDLE. - Read
references/eval-contract.mdfromSKILL_ROOT. - Inspect the positive and near-miss trigger cases in
evals/cases.jsonunderTARGET_BUNDLE. - Inspect the shared baseline and with-skill assertions in
evals/artifacts.jsonunderTARGET_BUNDLE. - Inspect the explicit script and safety results in
evals/evidence.jsonunderTARGET_BUNDLE. - Inspect the declared runtime capabilities in
assets/hosts.jsonunderTARGET_BUNDLEand verify the target file hashes against itsassets/manifest.json. - For production, replace deterministic predictions, artifacts, evidence,
and host capabilities with captured results; set all four captured modes;
and bind every raw trigger observation, both artifacts, the complete
evidence set, and the non-empty host matrix to non-empty sources and
matching SHA-256 provenance digests. These local checks can set
localEvidenceReady, but locally recomputable hashes do not prove capture. - Obtain an external JSON attestation whose
evidenceRootmatches the report, plus the SHA-256 of its exact bytes from a separate trusted policy or release channel. The attestation must be a regular file outside the target bundle. - Before execution, show the exact resolved argv. The installed evaluator is
scripts/evaluate_skill.pyunderSKILL_ROOT. For the shipped lesson fixture, build argv frompython3, that absolute evaluator path,--fixture-demo, and the absoluteTARGET_BUNDLE. For production, use the same installed script with--attestation,--trusted-attestation-sha256, and the absoluteTARGET_BUNDLE, without--fixture-demo. - Return
checksPassed,fixturePassed,localEvidenceReady,trustAnchorValid,productionReady, andpassedwith the evidence root, evaluation modes, failed checks, precision, recall, every raw trigger observation, per-case repeated-run rates, artifact comparison, script and safety evidence, installed-tree verification, and portability matrix. Include the resolved script path, resolved target path, cwd, exact argv, and exit code. Mark unavailable observations unverified.
Output contract
Return the complete JSON evaluation report. Preserve every layer-specific check and its evidence so a passing aggregate cannot hide a routing, artifact, script, safety, installed-tree, or portability failure. fixturePassed reports a successful teaching fixture. localEvidenceReady reports only local digest integrity. passed is true only when productionReady also has a valid out-of-bundle trust anchor.
Failure behavior
If configuration is invalid, provenance is absent or mismatched, the trusted attestation is missing or invalid, a file hash differs, a required capability is absent, or any production gate fails, stop with a nonzero result and report the failed layer. The explicit --fixture-demo path may exit successfully only when fixturePassed is true, and it never makes a release claim. Never publish, install elsewhere, repair evidence, create the trust decision, or weaken a threshold automatically.
Do not publish a bundle merely because SKILL.md parses or one positive prompt activates. Do not label a package portable when a target drops required companion files or ignores required runtime extensions.
Câu hỏi thường gặp
Nó kiểm tra gì về việc kích hoạt?
Nó kiểm tra các ví dụ dương tính nên kích hoạt skill, và các ví dụ gần giống nhưng không nên kích hoạt.
Nó có xác minh tính toàn vẹn file không?
Có. Nó so sánh mã băm của các file đích với một manifest.
Kiểm tra cục bộ có đủ để phát hành không?
Skill nêu rằng kiểm tra cục bộ không thể chứng minh kết quả đã được ghi nhận, nên kết quả sản xuất cần bằng chứng được ghi lại.
Chi tiết
Mô tả gốc của tác giả
Evaluate an Agent Skill bundle for structural integrity, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity, and target-host portability before release.
Độ phổ biến
- Sao GitHub
- 76k
- Vị trí xếp hạng
- #2633
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
blueprint-figure
76kGiúp agent của bạn vẽ các sơ đồ SVG tĩnh, rõ ràng cho bài học, README và sách hướng dẫn, thể hiện cách các phần thực của hệ thống kết nối.
build-project
76kĐóng vai gia sư dự án, hướng dẫn bạn qua từng giai đoạn của một dự án AI thực hành, với gợi ý và bộ chấm, nhưng không đưa đáp án đầy đủ.
check-understanding
76kKiểm tra bạn bằng một bài quiz về một giai đoạn đã hoàn thành của khóa AI Engineering from Scratch, để bạn xem mình đã nắm gì trước khi đi tiếp.
claude-certification
76kĐóng vai gia sư từng bước cho các lộ trình chứng chỉ Claude trong khóa AI Engineering from Scratch, với bài học, bài thực hành và đề thi thử.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.