Communitygithub.com

Dokumentationssuche via llms.txt (context7.com)

Durchsuche Bibliotheks-/Framework-Dokumentationen mittels llms.txt (context7.com). Verwendbar für API-Dokumentation, GitHub-Repository-Analyse, technische Dokumentationssuche und neueste Bibliotheksfunktionen.

Was ist Dokumentationssuche via llms.txt (context7.com)?

Diese Fähigkeit ermöglicht eine skriptgesteuerte Dokumentationssuche auf Basis des llms.txt-Standards, hauptsächlich über context7.com. Sie ist für Entwickler konzipiert, die API-Dokumentationen, GitHub-Repositories oder technische Handbücher durchsuchen müssen, ohne manuelle URL-Konstruktion. Unterstützt werden Plattformen wie Claude Code, Cursor, Codex und andere KI-Agenten, die Skripte ausführen können. Der Workflow besteht aus drei Schritten: Erkennung des Abfragetyps (themenspezifisch vs. allgemein) mittels `detect-topic.js`, Abruf der relevanten Dokumentationen über `fetch-docs.js` und Analyse der Ergebnisse mit `analyze-llms-txt.js`. Die Skripte verwalten automatisch Fallback-Ketten und Fehlerbehandlung, sodass der KI-Agent ohne Kontextüberladung arbeiten kann. Die Fähigkeit empfiehlt außerdem eine parallele Agentenverteilung für effiziente Verarbeitung mehrerer URLs und bietet Referenzen für erweiterte Workflows wie Repository-Analyse und Fehlerbehandlung.

Funktioniert mit✓Claude Code~Codex CLI~Cursor✓OpenCode
npx skills add https://github.com/majiayu000/claude-skill-registry-data/tree/HEAD/analysis/docs-seeker-hoanghd218-landing-page-ai-kien

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Dokumentationssuche via Skripte

Übersicht

Skriptgesteuerte Dokumentationssuche mit dem llms.txt-Standard.

Führe Skripte aus, um den gesamten Workflow zu bewältigen – keine manuelle URL-Konstruktion nötig.

Primärer Workflow

Führe Skripte IMMER in dieser Reihenfolge aus:

# 1. ERKENNE den Abfragetyp (themenbezogen vs. allgemein)
node scripts/detect-topic.js "<Benutzerabfrage>"

# 2. Rufe die Dokumentation anhand der Skriptausgabe ab
node scripts/fetch-docs.js "<Benutzerabfrage>"

# 3. ANALYSIERE die Ergebnisse (wenn mehrere URLs zurückgegeben wurden)
cat llms.txt | node scripts/analyze-llms-txt.js -

Die Skripte übernehmen automatisch die URL-Konstruktion, Fallback-Ketten und Fehlerbehandlung.

Skripte

detect-topic.js – Klassifiziert den Abfragetyp

  • Identifiziert themenspezifische vs. allgemeine Abfragen
  • Extrahiert Bibliotheksname + Themenschlüsselwort
  • Gibt JSON zurück: {topic, library, isTopicSpecific}
  • Keine Token-Ausführung

fetch-docs.js – Ruft die Dokumentation ab

  • Erstellt automatisch context7.com-URLs
  • Handhabt Fallback: Thema → allgemein → Fehler
  • Gibt llms.txt-Inhalt oder Fehlermeldung aus
  • Keine Token-Ausführung

analyze-llms-txt.js – Verarbeitet llms.txt

  • Kategorisiert URLs (kritisch/wichtig/ergänzend)
  • Empfiehlt Agentenverteilung (1 Agent, 3 Agenten, 7 Agenten, gestaffelt)
  • Gibt JSON mit Strategie zurück
  • Keine Token-Ausführung

Workflow-Referenzen

Themenspezifische Suche – Schnellster Pfad (10-15s)

Allgemeine Bibliothekssuche – Umfassende Abdeckung (30-60s)

Repository-Analyse – Fallback-Strategie

Referenzen

context7-patterns.md – URL-Muster, bekannte Repositories

errors.md – Fehlerbehandlung, Fallback-Strategien

advanced.md – Randfälle, Versionierung, Mehrsprachigkeit

Ausführungsprinzipien

  1. Skripte zuerst – Skripte ausführen statt manueller URL-Konstruktion
  2. Kein Token-Overhead – Skripte laufen ohne Kontextladung
  3. Automatischer Fallback – Skripte handhaben Thema → allgemein → Fehler-Ketten
  4. Schrittweise Offenlegung – Workflows/Referenzen nur bei Bedarf laden
  5. Agentenverteilung – Skripte empfehlen parallele Agentenstrategie

Schnellstart

Themenabfrage: „Wie verwende ich das Datumsauswahl-Widget in shadcn?“

node scripts/detect-topic.js "<Abfrage>"  # → {topic, library, isTopicSpecific}
node scripts/fetch-docs.js "<Abfrage>"    # → 2-3 URLs
# URLs mit WebFetch lesen

Allgemeine Abfrage: „Dokumentation für Next.js“

node scripts/detect-topic.js "<Abfrage>"         # → {isTopicSpecific: false}
node scripts/fetch-docs.js "<Abfrage>"           # → 8+ URLs
cat llms.txt | node scripts/analyze-llms-txt.js -  # → {totalUrls, distribution}
# Agenten gemäß Empfehlung einsetzen

Umgebung

Die Skripte laden .env: process.env > .opencode/skills/docs-seeker/.env > .opencode/skills/.env > .opencode/.env

Siehe .env.example für Konfigurationsoptionen.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry-data

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry-data

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry-data

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry-data

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry-data

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

majiayu000/claude-skill-registry-data

Conduct domain and industry research. Use when the user says "lets create a research report on [domain or industry]

majiayu000/claude-skill-registry-data

Conduct market research on competition and customers. Use when the user says "create a market research report about [business idea]".

majiayu000/claude-skill-registry-data

Conduct technical research on technologies and architecture. Use when the user says "create a technical research report on [topic]".

majiayu000/claude-skill-registry-data

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

Verwandte Skills