شعار Docs

Docs

مؤسسةشائع
GetStream
docs

How to edit the agents docs on getstream.io. Use when writing or updating agents documentation pages, sidebars or the SDK switcher.

نظرة عامة

الناشرGetStream
المستودعAgents
اسم المهارةdocs
النجوم
8.2K
التفريعات
709
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Docs live in the main site repo, typically located at workspace/getstream.io, under content/docs

Some general docs tips

  • Keep it short
  • Show examples before explaining details
  • Write from the code, not from memory. Check the SDK (sdks/<lang>) and acceleration/api/openapi.yaml before documenting an API, key or default

How a page reads

Write it so it needs no deslop pass. agents/_default/02-agents/creating-an-agent.md is the reference for how a page opens and flows, and Thierry's deslop commits in getstream.io (7ee27d28eb, 21c69fd256, edf81f51f2, 1d93015abe) show the cuts.

  • Open with why the reader wants it and one real example, not a definition: "Your support agent shouldn't answer: Please solve the Navier-Stokes problem", not "A guardrail screens what a caller asks"
  • Example first: the agent.yaml or the call, then the command to try it (getstream agents test support --sync) and a question to ask. Pick an example the reader can run as is, such as a connector the app owns rather than one each user signs in to. Then explain only what the example doesn't show
  • Real example values (dentist_ai, "Northwind Pizza, what can I get you?", "What is your return policy?"), never foo or my-thing
  • One or two sentences per paragraph, written like a person: "It returns the connection", not "The answer is the connection". Contractions are fine. State facts, not "should": "is configurable", not "should be configurable"
  • Where there are options, recommend one and say when to pick the other: "We recommend each user's own account for personal data, and a shared account for company tools"
  • One H2 per thing the reader wants to do. A fact lives on one page: detail that has its own page is cut to a link. End with ## Going further and <Cards>
  • Say what a feature can't do in a plain sentence, under ## Limitations when there are several. A limit the reader can hit stays; a cap on a field goes
  • A table that sums up the page is fine when its last column links each row to its page (| Path | What it holds | Learn more |)

Leave out:

  • Validation rules, field caps and error codes ("refused with a 400", length caps, "refused rather than ignored"). An error the reader sees while trying the example is shown as printed, and a troubleshooting page lists the errors people really hit, by their message
  • Internal mechanics the reader never touches: channel names, sync fingerprints, our staging clusters and test apps
  • Raw HTTP paths when an SDK or the CLI does it. A call with no SDK method gets one curl block
  • Client setup boilerplate in snippets: show the call
  • Sentences that restate the code above them, and signposting ("The next section explains")
  • Which SDK supports what "for now". When only some SDKs have a feature, one <Admonition> names them
  • Bold lead-ins in bullets or prose (bold is for step titles), and hype ("amazed", "effortlessly")

Only what works

  • A page says only what a user can install and run today, and you saw work end to end: run every snippet, curl and command, against staging if needed. Reading the code confirms a name, not a behaviour
  • "Which SDKs support X" means released packages (npm, PyPI, Maven Central, pub.dev, the released CLI), not source on main
  • Not proven yet? Leave it out and ticket it. Don't caveat it ("not tested yet")

Where things live

  • Content: getstream.io/content/docs, a plain directory of the getstream.io repo (it was GetStream/docs-content). Its authoring conventions are in content/docs/AGENTS.md
  • Pages: agents/<framework>/*.md; pages shared by every SDK go in agents/_default/
  • Sidebars: _sidebars/[agents][<framework>].json (baseURL, defaultLanguages, items of { title, slug, markdown }). [agents][default].json is the /agents/docs/ home
  • Framework slugs: javascript, ios (shown as Swift), android (Kotlin), flutter (Dart), python, go-golang, dotnet-csharp, ruby, rust, php. A new slug needs a label in routing.ts and a logo in public/docs-assets/icons/
  • SDK switcher and product menu: getstream.io/src/docs/utils/routing.ts and productMenu.ts. A new sidebar must be reachable from them

Writing

  • The page H1 comes from the sidebar title, so don't put a # heading in the markdown
  • Use $framework in links (/agents/docs/$framework/quickstart/) so shared pages work under every SDK
  • Components: <Cards>, <Card icon title description href>, <Admonition type="info">, <Tabs>, <Steps>, mermaid fences. icon takes Remixicon names (an unknown name fails the build); logo="go" takes SDK logos
  • Only ASCII, and no em dashes. Links are root-relative, and slugs are lowercase with hyphens

Gotchas

  • Every server SDK reads agent.yaml and syncs the directory in one request, skipping it when .agent_sync matches. They sync only when you call sync (Python agent.sync(), .NET SyncAsync); a session never syncs. Say which SDK a behaviour applies to
  • Client SDKs (JavaScript in the browser, Swift, Android, Flutter) never sync or configure agents. Swift and browser JavaScript are handed a config id by the backend; Android and Flutter open an agent by its stored name
  • SyncRouters rejects unknown keys in routers/*.yaml (including description)

Preview and ship

  • npm run dev in getstream.io (Node 24), then open http://localhost:3000/agents/docs/<framework>/. Don't run builds or checks unless asked
  • Commit content on a getstream.io branch, never main, and open an ordinary PR. It deploys when merged

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

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

How to edit the agents docs on getstream.io. Use when writing or updating agents documentation pages, sidebars or the SDK switcher.

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

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

كيف أثبّت Docs في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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