Communitygithub.com

majiayu000/claude-skill-registry-data

透過 llms.txt(context7.com)搜尋函式庫/框架文件。適用於 API 文件、GitHub 儲存庫分析、技術文件查詢、最新函式庫特色。

claude-skill-registry-data 是什麼?

這項技能主要透過 llms.txt 標準,以腳本驅動的方式進行文件探索。它專為 AI 代理(如 Claude Code)設計,可自動執行從查詢分類、URL 建構到文件擷取的完整工作流程,無需手動處理網址。支援主題特定查詢(例如「shadcn 的日期選擇器怎麼用」)和一般查詢(例如「Next.js 文件」),並內建失敗備援鏈(主題 → 一般 → 錯誤)。其中 analyze-llms-txt.js 腳本還能根據回傳的 URL 數量,建議最佳的代理分配策略(1 個代理、3 個代理、7 個代理或分階段執行),有效減少 AI 代理的 token 消耗。此技能整合了 context7.com 的 URL 模式,並提供詳細的參考文件(如錯誤處理、進階案例、多語言版本),讓開發者和 AI 代理能快速、準確地取得最新技術文件。

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

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過腳本探索文件

概述

腳本優先的文件探索,使用 llms.txt 標準。

執行腳本處理整個工作流程 —— 無需手動建構 URL。

主要工作流程

請務必依序執行腳本:

# 1. 偵測查詢類型(主題特定 vs 一般)
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 - 分類查詢類型

  • 識別主題特定 vs 一般查詢
  • 擷取函式庫名稱 + 主題關鍵字
  • 回傳 JSON:{topic, library, isTopicSpecific}
  • 零 token 執行

fetch-docs.js - 擷取文件

  • 自動建構 context7.com URL
  • 處理備援:主題 → 一般 → 錯誤
  • 輸出 llms.txt 內容或錯誤訊息
  • 零 token 執行

analyze-llms-txt.js - 處理 llms.txt

  • 分類 URL(重要/次要/補充)
  • 建議代理分配(1 個代理、3 個代理、7 個代理、分階段)
  • 回傳 JSON 附策略
  • 零 token 執行

工作流程參考

主題特定搜尋 - 最快路徑(10-15 秒)

一般函式庫搜尋 - 全面涵蓋(30-60 秒)

儲存庫分析 - 備援策略

參考資料

context7-patterns.md - URL 模式、已知儲存庫

errors.md - 錯誤處理、備援策略

advanced.md - 邊界案例、版本控制、多語言

執行原則

  1. 腳本優先 - 執行腳本而非手動建構 URL
  2. 零 token 開銷 - 腳本在無上下文載入下執行
  3. 自動備援 - 腳本處理主題 → 一般 → 錯誤鏈
  4. 漸進揭露 - 只在需要時載入工作流程/參考
  5. 代理分配 - 腳本建議平行代理策略

快速開始

主題查詢:「如何在 shadcn 中使用日期選擇器?」

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 > .claude/skills/docs-seeker/.env > .claude/skills/.env > .claude/.env

請參閱 .env.example 取得設定選項。

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

相關技能