Communitygithub.com

majiayu000/claude-skill-registry

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

claude-skill-registry 是什麼?

這是一個以腳本為核心的文件探索技能,專為 AI 助手(如 Claude Code、Cursor 等)設計,利用 llms.txt 標準自動化文件查詢流程。它能夠自動偵測使用者查詢類型(主題特定或通用),並依序執行 detect-topic.js、fetch-docs.js 和 analyze-llms-txt.js 腳本,處理 URL 建構、備援鏈與錯誤處理,完全無需手動介入。主要支援 context7.com 上的函式庫與框架文件,可用於 API 參考、GitHub 儲存庫分析與技術文件查找。其優勢在於零 token 消耗、自動備援與推薦平行代理策略,顯著提升文件探索效率。

相容平台✓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 中提問

開啟一個已預先載入此 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 > .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.

相關技能