本文へスキップ
Skillpedia
エージェント76k · #2633

skill-release-gate

できること

このスキルは、共有または公開する前に、エージェントのスキルのフォルダーを確認します。他の人がインストールする前に、スキルが動き、安全であることを確かめたいスキルの作者向けです。

使う場面

  • ✓エージェントのスキルのフォルダーを、公開または共有しようとしているとき。
  • ✓スキルが正しいリクエストで起動し、誤ったリクエストでは起動しないことを確認したいとき。
  • ✓テスト以降にファイルが変わっていないことを確認したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください: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 このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“公開する前にスキルのバンドルを確認して、ほかのユーザーにとって壊れるものがないか教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはリリースの契約とテストケースを読み、構造、トリガーの例、スクリプトの結果、安全性の結果、ファイルのハッシュ、ホストとの互換性を確認します。合格した項目と、対応が必要な項目を報告します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

よくある質問

トリガーについては何を確認しますか?

スキルを起動すべき肯定的な例と、起動すべきでない紛らわしい例の両方を確認します。

ファイルの整合性も確認しますか?

はい。対象のファイルのハッシュを、マニフェストと照らし合わせて確認します。

公開のためにローカルの確認だけで十分ですか?

ローカルの確認では結果が取得されたことは証明できないため、本番の結果には取得された証拠が必要だとスキルは述べています。

詳細

作者による元の説明

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

人気

GitHubのスター
76k
ランキング
#2633
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル