Chuyển đến nội dung
Skillpedia
Agent76k · #2633

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.md

Sao 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

Hãy dùng skill này để giúp tôi: 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.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

  1. Resolve SKILL_ROOT to the absolute directory containing this installed SKILL.md. Do not assume the process cwd is the installed bundle.
  2. Resolve TARGET_ROOT from the original workspace working directory and resolve the user-supplied candidate as an absolute TARGET_BUNDLE.
  3. Read references/eval-contract.md from SKILL_ROOT.
  4. Inspect the positive and near-miss trigger cases in evals/cases.json under TARGET_BUNDLE.
  5. Inspect the shared baseline and with-skill assertions in evals/artifacts.json under TARGET_BUNDLE.
  6. Inspect the explicit script and safety results in evals/evidence.json under TARGET_BUNDLE.
  7. Inspect the declared runtime capabilities in assets/hosts.json under TARGET_BUNDLE and verify the target file hashes against its assets/manifest.json.
  8. 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.
  9. Obtain an external JSON attestation whose evidenceRoot matches 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.
  10. Before execution, show the exact resolved argv. The installed evaluator is scripts/evaluate_skill.py under SKILL_ROOT. For the shipped lesson fixture, build argv from python3, that absolute evaluator path, --fixture-demo, and the absolute TARGET_BUNDLE. For production, use the same installed script with --attestation, --trusted-attestation-sha256, and the absolute TARGET_BUNDLE, without --fixture-demo.
  11. Return checksPassed, fixturePassed, localEvidenceReady, trustAnchorValid, productionReady, and passed with 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.

repo: rohitg00/ai-engineering-from-scratch

Độ 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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự