Communitygithub.com

majiayu000/claude-skill-registry

透過 llms.txt(context7.com)搜尋函式庫/框架文件。用於 API 文件、GitHub 儲存庫分析、技術文件查閱及最新函式庫功能探索。

claude-skill-registry 是什麼?

這是一項專為 AI 代理(如 Claude Code、Cursor 等)設計的技能,透過腳本驅動的方式,利用 llms.txt 標準自動發現並擷取技術文件。它不需手動建構 URL,而是由三個零代幣開銷的腳本依序執行:detect-topic.js 分類查詢類型、fetch-docs.js 從 context7.com 取得文件、analyze-llms-txt.js 分析結果並建議代理分佈策略。支援主題特定搜尋(最快 10-15 秒)、一般函式庫搜尋(30-60 秒)及儲存庫分析三種工作流程,並內建自動錯誤處理與回退鏈。此技能適用於需要快速查閱 API 文件、框架功能或 GitHub 專案技術細節的開發者,可在編碼或除錯時顯著提升效率。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry/tree/HEAD/skills/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}
  • 零代幣執行

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 中使用日期選擇器?"

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

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.

相關技能