شعار Implement And Check

Implement And Check

مؤسسة
skillberry-ai
implement-and-check

نفّذ البوابة الصارمة التي يجب اجتيازها قبل إنفاق أي ميزانية للتحسين. استخدمها مباشرةً بعد intake. وجّه الوكيل خلال تنفيذ طرق المحوّل الثلاث المطلوبة، إضافةً إلى أي خطافات افتراضية تحتاج إلى تجاوزها (وأي أساليب مجرّدة في المهارة المحددة)، ثم شغّل `cap-evolve check` على المشروع وملف check.py لكل مهارة مشاركة، مع سرد ما لا يزال هيكليًا أو غير حتمي بدقة، وما ينبغي فعله لمعالجة كل نوع من الإخفاق.

Add to TypingMind

نظرة عامة

الناشرskillberry-ai
المستودعcap-evolve
اسم المهارةimplement-and-check
النجوم
67
التفريعات
18
الملفات المرفقة
7
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها skillberry-ai على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Implement And Check في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/skillberry-ai/cap-evolve/tree/main/skills/phases/implement-and-check
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skillberry-ai/cap-evolve.git /tmp/cap-evolve
mkdir -p .claude/skills
cp -r /tmp/cap-evolve/skills/phases/implement-and-check .claude/skills/implement-and-check
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Implement And Check في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Implement And Check تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Implement And Check بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

implement-and-check — make the contract real

Optimizing against a half-wired adapter produces a number that means nothing: a stub scorer gives every candidate the same reward, an empty tasks() averages over nothing, a non-deterministic scorer makes the gate chase measurement noise. This phase proves the measurement apparatus works before budget is spent. It is cheaper to fail here than after a full run.

Steps

  1. Implement the 3 required adapter methods in .capevolve/project/adapters/adapter.py. These are the @abstractmethods (core/cap_evolve/adapter.py:77-106) — the gate refuses to run until all three are real:

    • tasks(split) → list[Task] for 'train'|'val'|'test'|'all'; non-empty, same list every call.
    • run_target(task, ctx, *, seed=0) → Rollout. Run the agent under test with the candidate live as ctx; capture output + trace + tool calls + cost. Do not score here. Forward seed if the runner is stochastic; set Rollout.error on an infra failure so the engine treats it as noise, not as a low score.
    • score(task, rollout) → Score: reward in [0,1] + general feedback (it becomes the diagnosis signal, so never leak the gold answer).

    Override a defaulted hook only when its default does not fit: materialize(candidate_dir, edits=None) (pure write of {component: text}), live(candidate_dir) (context manager yielding ctx), apply(candidate_dir, edits=None) (back-compat inject), trajectories(split, ctx=None) and runner_model() (both default None). Three optional fast paths are not on the base class at all — the harness feature-detects them with hasattr and uses them only if you define them: run_batch(tasks, ctx, *, seed) (drive a benchmark's own batch runner instead of run_target), run_trials(tasks, ctx, *, n_trials, base_seed) (all trials in one concurrent run), score_batch(tasks, rollouts) (score a whole trial in one external harness call). docs/ADAPTER_CONTRACT.md is the full contract, including the shown-only metrics catalog score() may return.

    Note capability_sources is not an adapter method — it is a capevolve.yaml key (the data-model/types files copied into the optimizer's context), owned by intake.

  2. Implement any selected skill's scripts/abstract.py (most are concrete and need nothing).

  3. Run the gate:

    python scripts/run.py --project .capevolve/project \
        --skill-check <skills>/capabilities/<cap>/scripts/check.py

    Exit 0 = green. The JSON has three fields with three different meanings — see the table below before you react to it.

  4. Pipeline-wiring self-test (automatic once the check is green). A green adapter is necessary but not sufficient — the optimizer also needs its context wired. run.py then runs pipeline_selftest.py (zero API cost): the optimizer-prompt template named by capevolve.yaml::optimizer_instructions_file exists, still carries its {{...}} placeholders, and renders through the real harness renderer with none left over; and whether the adapter defines trajectories() or inherits the base default (both valid, both reported). The template checks are skipped with a note for an algorithm that never reads the template — only hill-climb is passed --instructions-file (cli.py:869-876). --no-pipeline-selftest skips it; it also runs standalone.

    A full one-iteration mock run is deliberately not attempted: it would need a baseline, a frozen split and a run dir that do not exist yet at gate time, and building them is benchmark-specific. This exercises the same workdir-building and prompt-rendering paths.

When it is red — what to do, per failure kind

CheckReport has three fields (core/cap_evolve/check.py:30-38) and only problems affects ok. Treating a note as a failure is how an agent gets stuck in a loop.

report field / messagewhat it meansdo this
stubs: ["<name>"]that method still raises the IMPLEMENT ME markerwrite the method in adapters/adapter.py; nothing later was even probed (check.py:102-107)
"could not load adapter: ..."import/instantiation failed — often an unimplemented @abstractmethod (TypeError) or a bad sibling importfix the import or define all three abstract methods; the adapter's own dir is on sys.path, so sibling helpers import plainly
"tasks('val') raised: ..."the data path is wrongpoint tasks() at real data; check the split argument is being honored
"tasks('val') returned an empty list"the split has no tasksusually a filter or path that matched nothing — print the list before returning
"tasks('val') is not stable across calls"ids differ between two callsremove set/dict iteration order and any per-call shuffle; sort explicitly
"scorer is non-deterministic: X vs Y"score() returned two rewards for one rolloutremove the RNG, or pin an LLM judge's decoding (temperature 0) and cache nothing that hides the variance
"score(...) raised on a probe rollout"the scorer cannot survive an unfamiliar outputmake score() total — an unparseable output is reward 0 with feedback, not an exception
notes: [...]informational, incl. the materialize() probe raise and the consuming-model tier mismatchread; do not treat as failure
skill check.py redthat capability/algorithm skill's own contract is unmetrun its check.py directly; its JSON names the assertion

Re-run until green. Green is the entry condition for baseline.

What the gate does and does not guarantee

Determinism is genuinely executed, not asserted: check.py:133-142 scores one fixed rollout twice and reports a problem when the rewards differ. Do not read more into green than that. Measured on this checkout (issue #358):

  • run_target is never called on the default path, so a pass-body runner goes green and fails later, after the split is frozen.
  • The scorer probe uses a synthetic rollout (output="__probe_output__"), so a scorer that short-circuits on unrecognizable output — every LLM-judge scorer — is not really tested. Both score() calls happen on one in-process instance, so a memoized scorer is unfalsifiable here.
  • materialize() is a probe, not an assertion: a raise is a note and does not fail the check (check.py:166-167), because a real adapter may need its full environment. Green means "callable or explained", not "edit path verified".
  • Both entry paths fail closed, so a red check never freezes a split: cap-evolve run returns 1 before creating a run dir (cli.py:721-726), and the standalone /cap-evolve:baseline re-runs the core check itself and exits non-zero before the run dir exists (baseline/scripts/run.py). What is not a runtime precondition is the provides: checked token — it declares ordering only, so a phase that skips baseline gets no gate from the DAG.

If your scorer calls a judge, say so in PROJECT.md along with how its decoding is pinned — the gate cannot see it. The one failure mode nothing here can catch: feedback that leaks the gold answer passes every wiring check and still corrupts diagnosis.

Dual-mode

Standalone as /cap-evolve:implement-and-check; orchestrator-callable — but uniquely for this phase, cap-evolve run does not invoke scripts/run.py. It calls the core check inline and shells straight to baseline, so --skill-check and the pipeline self-test run in standalone mode only. Run this phase yourself before either cap-evolve run or /cap-evolve:baseline if you want them: both of those re-run the core check, but neither runs --skill-check or the pipeline self-test.

References

  • references/concepts.md — why each check exists, the scorer-determinism-vs-target-stochasticity distinction (load this when deciding whether your scorer's variance is a bug or a measurement), and the sources.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Implement And Check؟

نفّذ البوابة الصارمة التي يجب اجتيازها قبل إنفاق أي ميزانية للتحسين. استخدمها مباشرةً بعد intake. وجّه الوكيل خلال تنفيذ طرق المحوّل الثلاث المطلوبة، إضافةً إلى أي خطافات افتراضية تحتاج إلى تجاوزها (وأي أساليب مجرّدة في المهارة المحددة)، ثم شغّل `cap-evolve check` على المشروع وملف check.py لكل مهارة مشاركة، مع سرد ما لا يزال هيكليًا أو غير حتمي بدقة، وما ينبغي فعله لمعالجة كل نوع من الإخفاق.

لماذا تستخدم Implement And Check على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Implement And Check عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Implement And Check في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/skillberry-ai/cap-evolve/tree/main/skills/phases/implement-and-check. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Implement And Check؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Implement And Check؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Implement And Check معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Implement And Check مجانية؟

نعم. نشرها skillberry-ai على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل
شعار JuliusBrussee

Cavecrew

JuliusBrussee
المجتمعشائع

متى تُسند المهمة إلى `cavecrew-investigator` (لتحديد موقع الشيفرة)، أو `cavecrew-builder` (لتعديل ملف أو ملفين)، أو `cavecrew-reviewer` (لمراجعة الفروقات)، بدلًا من العمل مباشرة أو استخدام `Explore`. تكون مخرجاتهم…

6.2K
106.3K
التعليمات
عرض
شعار nexu-io

Pricing Page

nexu-io
مؤسسةشائع

صفحة تسعير مستقلة تضم ترويسة وباقات وخططًا، وجدولًا لمقارنة الميزات، وقسمًا للأسئلة الشائعة. استخدمها عندما يطلب الملخص صفحة «التسعير» أو «الخطط» أو «باقات الاشتراك» أو «مقارنة الخطط».

11.5K
98.9K
الملفات: 1
عرض
شعار nexu-io

Replit Deck

nexu-io
مؤسسةشائع

لأعمال إدارة المنتجات والجوانب التقنية: حوّل مستندات PRD وخرائط الطريق وRFC ومراجعات البنية التقنية والمراجعات الختامية إلى مستندات لاتخاذ القرار. ترتكز على الاستعلام الأساسي "pm-feature-business-case-deck"، وتستند إلى…

11.5K
98.9K
الملفات: 9
عرض
شعار nexu-io

Dcf Valuation

nexu-io
مؤسسةشائع

تحليل تقييم الشركات العامة باستخدام التدفقات النقدية المخصومة وتقدير القيمة الجوهرية. استخدمه عندما يطلب الوصف DCF أو القيمة العادلة أو القيمة الجوهرية أو السعر المستهدف أو تحليلًا لتحديد ما إذا كانت الشركة مقوّمة بأقل من قيمتها أو بأكثر منها…

11.2K
96.7K
الملفات: 1
عرض

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇