شعار Adapter Review

Adapter Review

المجتمع
tommy0103
adapter-review

Review a provider/agent adapter implementation or PR — transcript discovery, parsing, and indexing for agent hosts (Claude, Codex, Kimi, Pi, DeepSeek Harness, OMP, Copilot, etc.). Use when reviewing an adapter PR, adding a new provider adapter, or checking an adapter against a new upstream version.

نظرة عامة

الناشرtommy0103
المستودعobelisk
اسم المهارةadapter-review
النجوم
571
التفريعات
42
الملفات المرفقة
تعليمات فقط
الترخيصAGPL-3.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/tommy0103/obelisk/tree/main/maintainer-skills/adapter-review
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tommy0103/obelisk.git /tmp/obelisk
mkdir -p .claude/skills
cp -r /tmp/obelisk/maintainer-skills/adapter-review .claude/skills/adapter-review
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Adapter Review

Review along two axes — Standards (repo docs, contributing rules, ADRs) and Spec (issue / PR body / upstream behavior) — plus the traps below. Report the axes separately; anything both hit independently is top priority.

Principles

  • No blocker without a repro. Decisive evidence at a pinned commit (minimal fixture driving the real provider code, e.g. sessions=[] or a wrong count). Re-measure PR-reported test counts, benchmarks, and CI status yourself; attribute red tests to environment (missing deps, unbuilt packages) before charging them to the PR.
  • Upstream ground truth over assumptions. Verify every format assumption — file layout, field case, version constants, ID generation, env vars, retention — against the host's real source and real local data. "Not on my machine" ≠ "doesn't exist" (the upstream repo may have moved); "zero rows locally" never justifies skipping a source structure (a later upstream migration silently invalidates present-state filtering).
  • Test claims ≠ what tests prove. Open fixtures behind every "covered" claim: their ordering and fields must actually reach the bug (not route around it), and leak no machine paths. Confirm new test files actually run in CI where the workflow lists files explicitly. Hunt mocks over production paths, circular verification (verifying discover() with discover()), and test comments whose premise primary docs refute. Revert the changed file to confirm new tests fail for the right reason.
  • Attribute before grading. git show <base>:<file> each finding: introduced by this PR → blocking; pre-existing but amplified → judge the amplification; purely pre-existing → follow-up issue, don't block. Withdraw findings whose premises fail upstream/data validation, and say why.
  • Fixes are a new attack surface. Each round: re-reproduce prior findings on the new head, then review the fix code itself — especially new destructive paths. git range-diff before merge so what lands is byte-identical to what you reviewed.

Where adapter PRs actually fail

  1. Identity/key asymmetry — cursor key, session id, unit key derived differently across discover / parse / persist / delete. Test fakes are often symmetric exactly where the real adapter is not, so green suites hide it. Family-parameterized adapters must keep persisted identity byte-identical for existing sources.
  2. Destructive tombstone/retract misfires — walk four scenarios: whole-directory delete, cross-workspace move, concurrent change during enumeration, source unavailable (distinguish ENOENT from EACCES). Deletes require complete inventory; changed-paths is a routing hint, never deletion evidence. Tombstones must leave a non-null cursor or deletes replay forever.
  3. Migration never converges — check fresh DB × old-format DB × already-migrated DB against the upgrade trigger. Wire-format changes: strict version rejection + self-healing fallback, timed to ride an existing full-reindex window. Fields newly written to existing canonical rows: bump the version marker, add a backfill test simulating an old DB (old marker as a literal, not the constant), and confirm persist-layer null-merge can't drop stored values.
  4. Undeclared behavior change — split the diff into new capability vs semantic change to existing paths; every line of the latter needs a declaration in PR body or commit message.
  5. Fast-path correctness debt — when the correctness invariant spans a wider scope (tree, cursor window) than the optimization assumes (single file). If successive review rounds share one root cause, stop patching: escalate to fast-path/correctness-fallback with an equivalence property test (fast ≡ full), and quantify the win before accepting the state machine. Keep adversarial constructions inside the host's real threat model.
  6. Swallowed errors & state edges — existsSync folding EACCES into ENOENT, try/finally without catch, partial state committed on failure; SQL three-valued logic (NULL != 'x' filters rows); independent flags combined inconsistently.
  7. Failure-mode sweep — legal intermediate states (header-only file, torn frame), crash residue (WAL without shm), Windows semantics (ctime/inode/chmod), symlink/realpath aliases.
  8. New adapters: census the data first — real-data distribution (row counts, type mix, anomalous session classes) surfaces internal-mechanism pollution at design time, not after launch.
  9. Dead contract promises — for every promise in type comments / ADRs ("setting this retracts atomically"), grep all consumers and verify it is kept; a promise with no real consumer is a blocking finding.
  10. Sibling drift — a bug class fixed in one adapter is a sweep of all siblings with the same frame; a shared-helper change must not silently move sibling adapters (fail-open/fail-closed predicates stay adapter-local unless deliberately shared).
  11. Process hygiene — verdict every PR/issue claim one by one (Correct/Partial/Incorrect); mixed-scope PRs (unrelated work riding along), PR body drifted from the final diff, and wrong issue linkage are findings, not chores.

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

ماذا تفعل مهارة الذكاء الاصطناعي Adapter Review؟

Review a provider/agent adapter implementation or PR — transcript discovery, parsing, and indexing for agent hosts (Claude, Codex, Kimi, Pi, DeepSeek Harness, OMP, Copilot, etc.). Use when reviewing an adapter PR, adding a new provider adapter, or checking an adapter against a new upstream version.

لماذا تستخدم Adapter Review على TypingMind؟

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

كيف أثبّت Adapter Review في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/tommy0103/obelisk/tree/main/maintainer-skills/adapter-review. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Adapter Review؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Adapter Review؟

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

هل مهارة الذكاء الاصطناعي Adapter Review مجانية؟

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

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

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

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

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

عرض الكل

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

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