Communitygithub.com

Dokumentationssuche über Skripte

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

Was ist Dokumentationssuche über Skripte?

Diese Fähigkeit ermöglicht eine **skriptgesteuerte** Dokumentationssuche unter Verwendung des llms.txt-Standards. Sie ist besonders nützlich für Entwickler, die schnell API-Dokumentationen, GitHub-Repository-Analysen oder die neuesten Bibliotheksfunktionen finden möchten. Der primäre Workflow besteht aus drei Skripten: `detect-topic.js` klassifiziert die Suchanfrage (themenspezifisch vs. allgemein) und extrahiert Bibliotheksnamen und Schlüsselwörter. `fetch-docs.js` konstruiert automatisch context7.com-URLs und holt die Dokumentation mit Fallback-Mechanismen. `analyze-llms-txt.js` kategorisiert die gefundenen URLs (kritisch/wichtig/ergänzend) und empfiehlt eine optimale Verteilung der KI-Agenten für die parallele Verarbeitung. Die Fähigkeit wird in Claude Code, Cursor und anderen KI-Agenten unterstützt, die benutzerdefinierte Skills ausführen können. Sie minimiert den manuellen Aufwand durch automatische Fehlerbehandlung und Fallback-Ketten und folgt dem Prinzip der progressiven Offenlegung, um nur bei Bedarf tiefere Workflows zu laden.

Funktioniert mit✓Claude Code~Codex CLI~Cursor✓OpenCode
npx skills add https://github.com/majiayu000/claude-skill-registry/tree/HEAD/skills/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

Was macht Dokumentationssuche über Skripte?

Überblick

Skriptgesteuerte Dokumentationssuche unter Verwendung des llms.txt-Standards.

Führe Skripte aus, um den gesamten Workflow zu bewältigen – kein manueller URL-Aufbau erforderlich.

Primärer Workflow

Skripte IMMER in dieser Reihenfolge ausführen:

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

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

# 3. Analysiere die Ergebnisse (bei mehreren zurückgegebenen URLs)
cat llms.txt | node scripts/analyze-llms-txt.js -

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

Skripte

detect-topic.js – Abfragetyp klassifizieren

  • Unterscheidet themenspezifische von allgemeinen Abfragen
  • Extrahiert Bibliotheksname + themenspezifisches Schlüsselwort
  • Gibt JSON zurück: {topic, library, isTopicSpecific}
  • Kein Kontextverbrauch (Zero-Token)

fetch-docs.js – Dokumentation abrufen

  • Erstellt automatisch context7.com-URLs
  • Handhabt Fallback: Thema → Allgemein → Fehler
  • Gibt llms.txt-Inhalt oder Fehlermeldung aus
  • Kein Kontextverbrauch (Zero-Token)

analyze-llms-txt.js – llms.txt verarbeiten

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

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 anstatt manueller URL-Erstellung
  2. Kein Kontextverbrauch – Skripte laufen ohne Kontext laden zu müssen
  3. Automatischer Fallback – Skripte behandeln Thema → Allgemein → Fehler-Ketten
  4. Progressive Offenlegung – Workflows/Referenzen nur bei Bedarf laden
  5. Agentenverteilung – Skripte empfehlen parallele Agentenstrategie

Schnellstart

Themenabfrage: „Wie verwende ich die Datumsauswahl 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

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

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".

majiayu000/claude-skill-registry

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry

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

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

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

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

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

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

majiayu000/claude-skill-registry

BlockRun works with Claude Code and Google Antigravity.

majiayu000/claude-skill-registry

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

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

majiayu000/claude-skill-registry

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

CRITICAL: Use for MolyKit AI chat toolkit. Triggers on: BotClient, OpenAI, SSE streaming, AI chat, molykit, PlatformSend, spawn(), ThreadToken, cross-platform async, Chat widget, Messages, PromptInput, Avatar, LLM

majiayu000/claude-skill-registry

AI and machine learning workflow covering LLM application development, RAG implementation, agent architecture, ML pipelines, and AI-powered features.

majiayu000/claude-skill-registry

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

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

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

Verwandte Skills