Communitygithub.com

majiayu000/claude-skill-registry

llms.txt (context7.com) を利用して、ライブラリ・フレームワークのドキュメントを検索します。APIドキュメント、GitHubリポジトリ解析、技術文書の参照、最新ライブラリ機能の確認に使用します。

claude-skill-registry とは?

このスキルは、llms.txt 標準規格に基づき、スクリプト駆動でドキュメントを発見・取得するためのツールです。開発者は手動でURLを構築する代わりに、用意された3つのスクリプト(detect-topic.js, fetch-docs.js, analyze-llms-txt.js)を順次実行するだけで、クエリの種別判定、context7.com 経由でのドキュメント取得、複数URLの分析・エージェント分散戦略の提案を自動で行えます。トピック固有の高速検索(10〜15秒)から汎用的なライブラリ検索(30〜60秒)、リポジトリ分析までカバーし、フォールバックチェーンによりエラー時も自動的に対処。スクリプト実行はゼロトークンオーバーヘッドで動作し、プログレッシブディスクロージャの原則に従って必要なワークフローやリファレンスのみを読み込むため、効率的なドキュメント探索が可能です。主にClaude CodeやCodexなどのAIエージェントでの使用を想定しています。

対応✓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

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

スクリプトによるドキュメント発見

概要

スクリプトファーストで、llms.txt 標準規格を用いたドキュメント発見を実現します。

ワークフロー全体をスクリプトが実行するため、手動でURLを構築する必要はありません。

主要ワークフロー

必ず以下の順序でスクリプトを実行してください:

# 1. クエリ種別の検出(トピック固有か汎用か)
node scripts/detect-topic.js "<ユーザークエリ>"

# 2. スクリプト出力を使ってドキュメントを取得
node scripts/fetch-docs.js "<ユーザークエリ>"

# 3. 結果の分析(複数URLが返された場合)
cat llms.txt | node scripts/analyze-llms-txt.js -

スクリプトがURLの構築、フォールバックチェーン、エラー処理を自動で行います。

スクリプト

detect-topic.js - クエリ種別を分類

  • トピック固有クエリと汎用クエリを識別
  • ライブラリ名 + トピックキーワードを抽出
  • JSON を返す: {topic, library, isTopicSpecific}
  • ゼロトークン実行

fetch-docs.js - ドキュメントを取得

  • context7.com のURLを自動構築
  • フォールバック処理: トピック → 汎用 → エラー
  • llms.txt の内容またはエラーメッセージを出力
  • ゼロトークン実行

analyze-llms-txt.js - llms.txt を処理

  • URLを分類(重要/準重要/補足)
  • エージェント分散を推奨(1エージェント、3エージェント、7エージェント、段階的)
  • 戦略を含むJSONを返す
  • ゼロトークン実行

ワークフローリファレンス

トピック固有検索 - 最速パス(10〜15秒)

汎用ライブラリ検索 - 包括的なカバレッジ(30〜60秒)

リポジトリ分析 - フォールバック戦略

リファレンス

context7-patterns.md - URLパターン、既知のリポジトリ

errors.md - エラー処理、フォールバック戦略

advanced.md - エッジケース、バージョン管理、多言語対応

実行原則

  1. スクリプト優先 - 手動でURLを構築せず、スクリプトを実行すること
  2. ゼロトークンオーバーヘッド - スクリプトはコンテキストを読み込まずに実行される
  3. 自動フォールバック - スクリプトがトピック→汎用→エラーのチェーンを処理
  4. プログレッシブディスクロージャ - 必要な場合のみワークフロー/リファレンスを読み込む
  5. エージェント分散 - スクリプトが並列エージェント戦略を推奨

クイックスタート

トピッククエリ: 「shadcn で date picker を使うには?」

node scripts/detect-topic.js "<クエリ>"  # → {topic, library, isTopicSpecific}
node scripts/fetch-docs.js "<クエリ>"    # → 2〜3個のURL
# WebFetch でURLを読み込む

汎用クエリ: 「Next.js のドキュメント」

node scripts/detect-topic.js "<クエリ>"         # → {isTopicSpecific: false}
node scripts/fetch-docs.js "<クエリ>"           # → 8個以上のURL
cat llms.txt | node scripts/analyze-llms-txt.js -  # → {totalUrls, distribution}
# 推奨に従ってエージェントを配置

環境設定

スクリプトは .env を読み込みます: process.env > .opencode/skills/docs-seeker/.env > .opencode/skills/.env > .opencode/.env

設定オプションについては .env.example を参照してください。

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.

関連スキル