Logo: Docs

Docs

OrganisatiounBeléift
GetStream
docs

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

Iwwersiicht

EditeurGetStream
RepositoryAgents
Skill-Nummdocs
Stären
8.2K
Forks
709
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    GetStream huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Docs an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/docs
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Docs an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Docs automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Docs net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Heefeg gestallte Froen

Wat mécht de KI-Skill Docs?

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

Firwat Docs op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Docs besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Docs an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/GetStream/Agents/tree/main/.claude/skills/docs an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Docs benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Docs benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Docs domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Docs gratis?

Jo. GetStream huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇