شعار Code Module Review

Code Module Review

المجتمع
Integralist
code-module-review

Explain and review how a scoped piece of code is structured. Use when the user asks how a feature or package is put together; whether a PR or existing code has clean module boundaries; where new logic should live or which module should own it; or how the code could be reshaped.

نظرة عامة

الناشرIntegralist
المستودعagent-skills
اسم المهارةcode-module-review
النجوم
26
التفريعات
1
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Map a scoped piece of code, then assess whether its modules and seams belong where they are. Back every claim with source evidence. This is review-only: change code only when the user asks.

Use the vocabulary and principles in code-module-design, the project's domain terms from GLOSSARY.md, and conventions-mermaid for every diagram.

1. Scope

Resolve the target from the user's file, diff, PR, feature, or package. If none is clear, ask which code to map. For a PR or diff, follow callers, dependencies, and neighbouring modules only as far as needed to establish ownership; do not scan the whole codebase. Read nearby package docs, GLOSSARY.md, and ADRs. If only CONTEXT.md exists, use it and note it is the legacy glossary. Continue when you can name the code being traced and its neighbours.

2. Map the current state

Read source, imports, call sites, and peers before drawing. Keep static dependencies separate from runtime calls: an import alone does not prove a call.

Draw only views that add information beyond the others:

  • Placement: the target and neighbouring modules that own related responsibilities, showing static dependencies and plausible existing homes for the logic.
  • Interaction: runtime participants and control or data flow. Use a sequence diagram for ordered exchanges, or a flowchart when branching or ownership reads better.
  • Call path: one entry point through the functions implementing the behaviour, including transformations, side effects, and error paths. Use real names and source locations.

Keep each view readable; split diagrams rather than shrinking them. For every skipped view, say why. Cite path:line in nearby text, not diagram labels. Validate each view, or mark it unvalidated if mmdc is unavailable.

3. Assess ownership and seams

Use source evidence to check:

  • Which existing module owns the concept, based on responsibility, callers, types, and imports—not its name alone.
  • Whether callers coordinate several shallow modules that one deeper module could own behind a smaller interface.
  • Whether logic sits with the concept it changes or leaks into a caller, shared utility, or unrelated package.
  • Whether a likely change to a format, policy, or default requires edits in several modules, or callers must know an implementation detail.
  • Whether callers handle an ordinary case or configuration choice that the owning module could handle once.
  • Whether dependencies cross the seam in the right direction, and whether a proposed seam has a second adapter to justify it.
  • Whether moving logic would improve locality or leverage without pushing complexity onto callers.
  • Whether the module's tests reach it through its interface, or pin internal helpers. Pinned helpers suggest the seam is in the wrong place.

A finding must name its demonstrated cost: duplicated responsibility, leaked implementation, caller coordination, coupling, or another specific cost. A layout that differs from a preferred pattern is not a cost. If a claim relies on project precedent, use the precedent skill and cite at least two peers. Finish with evidence for every finding, or conclude that placement is sound or the evidence is inconclusive.

4. Report

Label inferences and proposals as such. Include:

  • Scope and summary: what was traced and the short answer.
  • Current state: each view, with a short explanation and path:line citations.
  • Boundary findings, ranked by impact: current responsibility, evidence, cost, and the smallest coherent alternative. If there are none, say the boundaries look sound.
  • Target view: only for findings that warrant structural change; show the proposed ownership or interaction at the same level as the current view.
  • Unknowns and next step: facts that could change the assessment and one focused follow-up.

Finish when the report is delivered.

Hand off when appropriate

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

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

Explain and review how a scoped piece of code is structured. Use when the user asks how a feature or package is put together; whether a PR or existing code has clean module boundaries; where new logic should live or which module should own it; or how the code could be reshaped.

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

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

كيف أثبّت Code Module Review في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/Integralist/agent-skills/tree/main/.agents/skills/code-module-review. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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