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انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“افحص حزمة مهارتي قبل أن أنشرها، وأخبرني إن كان شيء سيتعطل عند المستخدمين الآخرين.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرأ الوكيل عقد الإصدار وحالات الاختبار، ثم يراجع البنية وأمثلة التفعيل ونتائج السكربتات ونتائج الأمان وبصمات الملفات والتوافق مع المضيفين. ويبلغ عمّا نجح وعمّا يحتاج إلى عمل.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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.
الأسئلة الشائعة
ماذا يفحص بخصوص التفعيل؟
يفحص أمثلة إيجابية يجب أن تشغّل المهارة، وأمثلة قريبة يجب ألا تشغّلها.
هل يتحقق من سلامة الملفات؟
نعم. يقارن بصمات الملفات المستهدفة مع البيان.
هل يكفي الفحص المحلي للإصدار؟
تنص المهارة على أن الفحوص المحلية لا تثبت تسجيل النتائج، لذلك تحتاج نتائج الإنتاج إلى دليل مُلتقط.
التفاصيل
الوصف الأصلي من المؤلف
Evaluate an Agent Skill bundle for structural integrity, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity, and target-host portability before release.
الشعبية
- نجوم GitHub
- 76k
- الترتيب
- #2633
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
blueprint-figure
76kيساعد وكيلك على رسم أشكال SVG ثابتة وواضحة للدروس وملفات README والأدلة، تبيّن كيف ترتبط أجزاء النظام الحقيقية ببعضها.
build-project
76kيعمل كمعلم مشروع يرشدك خلال مرحلة واحدة من مشروع ذكاء اصطناعي عملي في كل مرة، مع تلميحات ومصحح، دون تقديم الحلول الكاملة.
check-understanding
76kيختبرك في مرحلة أكملتها من دورة هندسة الذكاء الاصطناعي من الصفر، لتتحقق مما تعلمته قبل الانتقال إلى المرحلة التالية.
claude-certification
76kيرشدك خطوة بخطوة خلال مسارات شهادات Claude في دورة هندسة الذكاء الاصطناعي من الصفر، مع دروس ومختبرات واختبارات تدريبية.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.