Communitygithub.com

majiayu000/claude-skill-registry-data

通过 llms.txt (context7.com) 搜索库/框架文档。适用于 API 文档、GitHub 仓库分析、技术文档查找及最新库特性。

claude-skill-registry-data 是什么?

该技能基于 llms.txt 标准,通过脚本优先的方式发现库和框架的文档。用户无需手动构造 URL,只需执行几个 Node.js 脚本即可自动完成查询类型检测、文档获取和分析。主要支持三个脚本:detect-topic.js 用于识别查询是主题特定还是通用,fetch-docs.js 自动构造 context7.com URL 并处理回退链,analyze-llms-txt.js 对返回的 llms.txt 内容分类并推荐并行智能体分配策略。它适用于从单个主题获取(如“shadcn 中的日期选择器”)到全面库文档搜索(如“Next.js 文档”)的各种场景,能够在 10-60 秒内提供结构化结果。支持的平台包括 Claude Code 等兼容技能的 AI 智能体环境。

兼容平台✓Claude Code~Codex CLI~Cursor✓OpenCode
npx skills add https://github.com/majiayu000/claude-skill-registry-data/tree/HEAD/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}
  • 零标记执行

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

相关技能