eval-genius
ما الذي تفعله
تساعد هذه المهارة وكيلك على قياس مدى جودة أداء نظام ذكاء اصطناعي أو نموذج لغوي أو وكيل أو نظام بحث. وهي لفرق تبني ميزات بالذكاء الاصطناعي وتحتاج إلى دليل على أن التغيير فعلًا أفضل.
متى تستخدمها
- ✓عندما تغيّر أمرًا نصيًا أو نموذجًا وتحتاج إلى معرفة ما إذا تحسنت النتائج.
- ✓عندما تقرر ما إذا كانت ميزة الذكاء الاصطناعي تحتاج إلى تقييم رسمي قبل الإطلاق.
- ✓عندما تريد إعداد بوابة اختبار توقف تغييرًا سيئًا قبل نشره.
رابط المهارة
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/eval-genius/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“غيّرنا أمر روبوت الدعم الفني لدينا. صمّم اختبارًا عادلًا لمعرفة ما إذا أصبحت الإجابات أفضل.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقرر الوكيل مقدار الاختبار الذي يحتاجه المشروع، ويحدد معيار النجاح قبل النظر في النتائج، ويجري مقارنات بعناصر الاختبار نفسها. ويعرض النتائج بأمانة، بما فيها الأرقام السيئة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Eval Genius
An eval is a claim you are willing to defend under hostile audit. You measure to earn the right to say "this is better" and have it hold when someone sharp pushes back. Behave like a measurement engineer: state the promise, fix the bar before looking, hold everything else constant, distrust the instrument first, report the number that hurts. Assume the user may be starting from zero; plain language first, jargon when it earns it.
Step 0: Does this need an eval, and where does it go?
Three questions decide it (references/00-start-here.md): does the output vary (model,
prompt, retriever)? will it change again, and would a quiet regression cost something?
is a decision or a public claim coming? No to all: a hand spot check, stop. Yes to any:
an eval, sized to the stage the project is in.
| Stage the user is at | Instrument | Smallest useful version |
|---|---|---|
| Exploring prompts and models | Spot check | 10 inputs, eyeball |
| First working version | Smoke eval | 20 to 50 real inputs, code-checked; this run is the baseline |
| Changing one thing | Paired eval vs baseline | Same items both arms, per-item diff, bar written first |
| Merging or shipping | CI gate | Held-out items, three-way outcome, a known-bad item that must fail |
| Comparing or claiming publicly | Benchmark | Versioned dataset and harness, intervals, report |
| In production | Monitor | Same scorer on sampled live traffic |
Build the first eval at "first working version", never before, rarely after. For a
first-timer, run the one-afternoon recipe in 00-start-here.md and touch nothing else.
Route the request
Identify the job, then load only that reference. Every job still passes through Step 1.
| User needs to... | Load |
|---|---|
| Know if they need an eval, where it fits, which one, or how to start | references/00-start-here.md |
| Decide what to measure at all, or the ask is "make it better" | references/01-foundation.md |
| Pick a grader or metric for a task | references/02-grading-and-metrics.md |
| Use, prompt, or trust an LLM judge | references/03-judge-calibration.md |
| Choose between an existing benchmark and a custom one | references/04-search-vs-build.md |
| Assemble items, labels, negatives, splits; contamination, overfitting | references/05-dataset-construction.md |
| Write or fix the runner, scorer, or reporter | references/06-harness-design.md |
| Put an eval in CI or a release gate | references/07-gates-and-ci.md |
| Say whether a delta is real | references/08-statistics.md |
| Write results up, or retire a benchmark | references/09-reporting.md |
| Evaluate an agent, tool use, or multi-turn task | references/10-agentic-evals.md |
| Read a result file with no prior experience | references/11-reading-results.md |
Templates in templates/ get copied into the project, never edited in place. Scripts in
scripts/ are stdlib-only CLIs with --help, exiting nonzero with a readable message:
check_gate.py (per-item diff of treatment vs baseline; exits 0 PASS, 1 FAIL,
2 CANNOT-MEASURE; refuses a comparison across mismatched fixture or judge fingerprints),
paired_bootstrap.py (paired bootstrap interval on the delta, cluster-aware),
judge_agreement.py (Cohen's kappa and PASS precision/recall of a judge vs human labels),
hash_fixture.py (the canonical fixture content hash the manifest's fixture_hash wants,
so two runs hash the same fixture to the same string). Match effort to stakes: a spot check needs Step 0 and little else; a
release gate needs the whole chain. Load references on demand, not all at once.
Step 1: Foundation (five minutes, never skipped)
Copy templates/preregistration.md next to the fixture and fill it before touching
data or code. A first-timer fills promise, lever, baseline, and bar; the rest follows.
- Promise. One plain sentence: what does the system promise, what is "better"?
- Variables. Levers (what changes), outcomes (what is watched), controls (what is frozen). One lever per comparison; an unclassifiable variable means stop.
- Placement. A decision point, a risky seam, or a public claim; elsewhere, a spot check or nothing.
- Weight. Spot check, eval, benchmark, or monitor (Step 0 table).
- Bar. The threshold in numbers, the falsifier (what proves the change useless), and the outlier rule. Written before any run.
Done when all five fields are filled and a baseline is named.
Step 2: Choose th
الأسئلة الشائعة
هل هذا مثل اختبارات الوحدة؟
لا، المهارة لقياس جودة مخرجات الذكاء الاصطناعي، وهو أمر لا تغطيه اختبارات الوحدة بشكل جيد.
كم مدخلًا اختباريًا أحتاج؟
تقترح المهارة نحو 20 إلى 50 مدخلًا حقيقيًا لنسخة أولى تعمل، وأكثر للبوابات الأكثر صرامة.
لماذا نحدد المعيار قبل النظر في النتائج؟
يمنع ذلك تغيير الهدف بعد ظهور النتائج، لتبدو التغييرات أفضل.
التفاصيل
الوصف الأصلي من المؤلف
Decide whether an AI/LLM/agent/retrieval system needs an eval, where it fits in the dev process, which one to run, and how to read the result; then design, gate, judge, and defend it. Not ordinary unit tests.
الشعبية
- نجوم GitHub
- 33k
- الترتيب
- #8754
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
owasp-security
33kتعلّم وكيلك إرشادات OWASP الأمنية لتطبيقات الويب وواجهات API والموبايل والحاويات ووكلاء الذكاء الاصطناعي، ليكشف نقاط الضعف الشائعة ويقترح الإصلاحات.
agent-management
33kتتيح لوكيلك إنشاء وكلاء ذكاء اصطناعي وسردهم وإسباتهم وإيقاظهم وإعادة تسميتهم وحذفهم عبر أداة سطر الأوامر AI Maestro، مع إدارة دورة حياة كل وكيل.
agent-messaging
33kتتيح لوكيلك إرسال الرسائل الموقعة بين وكلاء الذكاء الاصطناعي واستقبالها والرد عليها، باستخدام بروتوكول المراسلة بين الوكلاء، في الغالب على جهازك.
docs-search
33kتتيح لوكيلك البحث في توثيق الشيفرة المُنشأ تلقائياً عن توقيعات الدوال وتعريفات الكلاسات والتعليقات، فيتحقق من الواجهة البرمجية الفعلية قبل تعديل الشيفرة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.