Communitygithub.com

스크립트 기반 문서 검색 (llms.txt)

llms.txt 표준을 통해 라이브러리/프레임워크 문서를 검색합니다. API 문서, GitHub 저장소 분석, 기술 문서 조회, 최신 라이브러리 기능에 사용하세요.

스크립트 기반 문서 검색 (llms.txt)란 무엇인가요?

이 스킬은 llms.txt 표준을 활용하여 스크립트 기반으로 기술 문서를 검색하고 분석하는 도구입니다. 사용자는 수동으로 URL을 구성할 필요 없이, detect-topic.js, fetch-docs.js, analyze-llms-txt.js 스크립트를 순차적으로 실행하여 주제별 또는 일반 문서 검색, URL 자동 구성, 폴백 체인 처리, 에이전트 분배 전략 수립까지 전체 워크플로우를 자동화할 수 있습니다. topic-specific 검색(10-15초)과 general 검색(30-60초) 모두 지원하며, 스크립트는 제로-토큰 실행으로 컨텍스트를 소모하지 않습니다. 주로 Claude Code, Cursor, Codex와 같은 AI 에이전트 플랫폼에서 사용되며, context7.com 패턴과 GitHub 저장소 분석을 폴백 전략으로 포함합니다.

지원 대상✓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에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

스크립트 기반 문서 검색

개요

스크립트 우선 방식으로 llms.txt 표준을 사용한 문서 검색.

수동 URL 구성 없이 스크립트가 전체 워크플로우를 처리합니다.

기본 워크플로우

항상 다음 순서로 스크립트를 실행하세요:

# 1. 쿼리 유형 감지 (주제별 vs 일반)
node scripts/detect-topic.js "<user query>"

# 2. 스크립트 출력을 사용하여 문서 가져오기
node scripts/fetch-docs.js "<user query>"

# 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에서 date picker를 어떻게 사용하나요?"

node scripts/detect-topic.js "<query>"  # → {topic, library, isTopicSpecific}
node scripts/fetch-docs.js "<query>"    # → 2-3개 URL
# WebFetch로 URL 읽기

일반 쿼리: "Next.js 문서"

node scripts/detect-topic.js "<query>"         # → {isTopicSpecific: false}
node scripts/fetch-docs.js "<query>"           # → 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".

관련 스킬