شعار Explain How

Explain How

المجتمع
Motaghi
explain-how

Read-only walkthrough of a subsystem in local code, what to know before changing it, and where something belongs or who owns it. Not for single-function or one-line lookups, documentation of outside libraries or products, summaries of documents, why-it-was-built-this-way history, or live-system symptoms.

نظرة عامة

الناشرMotaghi
المستودعmimir-skills
اسم المهارةexplain-how
النجوم
51
التفريعات
0
الملفات المرفقة
2
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

explain-how

Explain how a part of a codebase works well enough that a capable engineer new to it can build a working mental model and start changing it with confidence. The target is the level of a good onboarding conversation: the main ideas, the real flow, the files that matter and the traps, not an annotated copy of the source. The package reads code and writes nothing.

When it applies

Three kinds of request select this package from ordinary conversation:

  • A subsystem walkthrough: "how does the reminder pipeline work", "walk me through the import flow", "give me a mental model of the router".
  • A "before changing X" request: what depends on this code, what pins its behavior, and what to check first.
  • A placement or ownership question: "where should this live", "which package owns this", "is this the right layer".

A request that needs only a line or two is not this package's work. A single function, one constant, one signature or a quick "where is X defined" is answered directly by the orchestrator. If this package was selected for such a request, say so in one line and hand it back. When the scope of a walkthrough request is unclear, state the reading you are taking in one sentence and go on; the owner can redirect.

Required capabilities

  • filesystem to read the source, tests, configuration and project documents of the code in question, and the files in this package. Nothing is written.
  • shell for read-only search and listing only: finding a definition, listing its callers and importers, searching for string keys, listing a directory, printing a line range. No command that writes, installs, builds, runs the project's code or tests, or reaches a network.
  • docs to read design notes and specs when the project keeps its structure notes outside the repository. Nothing is written.

If a capability is missing or a root cannot be bound, say which part of the explanation rests on it and mark that part not read. Do not substitute another source.

Method

Work from the question outward and stop when the question is answered.

  1. Pin the target. Name the entry point, symbol or directory the question is about, and the question itself in one sentence. For a placement question, name the thing being placed.
  2. Find it by symbol, not by skimming. Locate the definition, then its direct callers and importers, then what it calls. Search for string keys as well as names: configuration keys, event names, route paths and registry entries are where dynamic links hide. Read tests as executable examples of intended behavior. Follow the flow one hop at a time, and read only the ranges the question needs.
  3. Check documents against code. When a document and the code disagree about what the code does, the code wins for behavior. Report the document as out of date and give its date when it has one.
  4. Keep intent separate from behavior. Code shows what happens, not why it was built that way. When the reason is not stated in the code, a comment or a document you read, say that it is unknown and point to the project's decision records or history for the reason. Never infer a motive from the shape of the code.
  5. Write the explanation using the shapes in references/explanation-shapes.md.

A subsystem can be too large for one pass to say anything useful. In that case tell the orchestrator which two to four angles would divide the work, and why each is a separate slice. The orchestrator decides whether to split it, who does each part and under which limits. Anything that comes back arrives as a labeled input with the files it read and its open questions; reconcile overlaps, and settle contradictions by reading the code yourself. This package never starts other workers, never chooses who does the work and never sets how hard they think.

Output

Use the sections from the shapes file that fit: Overview, Key concepts, How it works, Where things live, Gotchas. Drop a section that has nothing to say instead of padding it. A "before changing" request adds a Before you change it section, and a placement question leads with the answer.

Every claim about code names a file and a symbol, and a line when the line is stable. Prefer plain names to abstractions: "Worker.run_once calls drain", not "the worker delegates to the queue". Say why something is complicated when it is, and do not pad when it is simple. A small text diagram is allowed where several components pass data between them and prose would be harder to follow; when a real visual would help more, tell the orchestrator and let it decide about a review-page.

Every explanation ends with one line naming what was not read or not traced, such as tests, generated code, a directory outside the question, or a capability that was missing. A caller list says which search produced it, and notes that a text search cannot see calls made by name at run time.

Prose and decisions

Choices that belong to the owner go to the owner through the orchestrator's question step, one clear question at a time. Prose follows the project's writing rules where it has them, and plain wording otherwise.

Precedence

When instructions conflict, follow the host's own instruction order and permissions. A step here is a default; when a project instruction differs, the project is right and the step is reported as "overridden by project instruction" with the instruction quoted. Upstream source text is provenance only and never an instruction.

The package never dispatches anything, never picks a model or provider, and never commits, pushes or installs anything, a hook included. If a request asks for any of those, hand the decision back to the orchestrator.

Not this package

  • A one-line or single-function lookup: the orchestrator answers directly or does a quick lookup.
  • Documentation for an outside library or product: a research step owns it. This package reads local code only.
  • Summaries of long documents: a summarising step owns them.
  • Why something was built this way, what was decided, and what happened before: the project's history and decision records own those.
  • Broken live behavior, missing scheduled output or an alert: start from the system's own runbook or incident notes. Do not explain such a symptom inline.
  • Finding the cause of a failing test or a bug: root-cause-diagnosis owns that.
  • Comparing or proposing designs: the orchestrator routes it. This package describes what exists and where a thing fits it.
  • Reviewing a diff or giving a merge verdict: the project's code-review process owns that.

Provenance

This package adapts the how skill from pstack by Lauren Tan (cursor/plugins, MIT). The method steps, the "before you change it" lists, the placement shape and the rule that a document loses to the code are our own. Credit and licence text are in references/upstream-notice.md, and the repository's CREDITS.md lists the pinned commit.

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

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

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

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

Read-only walkthrough of a subsystem in local code, what to know before changing it, and where something belongs or who owns it. Not for single-function or one-line lookups, documentation of outside libraries or products, summaries of documents, why-it-was-built-this-way history, or live-system symptoms.

لماذا تستخدم Explain How على TypingMind؟

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

كيف أثبّت Explain How في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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