본문으로 건너뛰기
cccskills
무료GitHub에 공개

docs-seeker

Find documentation for APIs, libraries, and error messages. Looks up official docs, changelog entries, and migration guides.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Vercel
설치 방법 보기

포함된 파일(1)

  • SKILL.md6.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

docs-seeker

Purpose

Documentation lookup utility. Receives a library name, API reference, or error message, resolves the correct documentation, and returns API signatures, usage examples, and known issues. Stateless — no memory between calls.

Calls (outbound)

None — pure L3 utility using WebSearch, WebFetch, and Context7 MCP tools directly.

Called By (inbound)

  • debug (L2): lookup API docs for unclear errors
  • fix (L2): check correct API usage before applying changes
  • review (L2): verify API usage is current and correct
  • adversary (L2): verify framework/API assumptions in plan are correct

Execution

Input

target: string         — library name, API endpoint, or error message
version: string        — (optional) specific version to look up
query: string          — specific question about the target (e.g., "how to configure retry")

Step 1 — Identify Target

Parse the input to extract:

  • Library or framework name (e.g., "react-query", "fastapi", "prisma")
  • Version if specified
  • The specific API, method, or error to look up

Step 2 — Try Context7 MCP (fastest)

Attempt Context7 MCP lookup first (faster, higher quality):

  1. Call mcp__plugin_context7_context7__resolve-library-id with the library name and query
  2. Select the best matching library ID from results (prioritize: name match, source reputation, snippet count)
  3. Call mcp__plugin_context7_context7__query-docs with the resolved library ID and the specific query
  4. If Context7 returns a satisfactory answer with code examples, proceed to Step 5

Step 3 — Try llms.txt Discovery

If Context7 MCP is unavailable or insufficient, try llms.txt (AI-optimized documentation):

For GitHub repos — pattern: https://context7.com/{org}/{repo}/llms.txt

github.com/vercel/next.js    → context7.com/vercel/next.js/llms.txt
github.com/shadcn-ui/ui      → context7.com/shadcn-ui/ui/llms.txt

For doc sites — pattern: https://context7.com/websites/{normalized-domain}/llms.txt

docs.imgix.com               → context7.com/websites/imgix/llms.txt
ffmpeg.org/doxygen/8.0        → context7.com/websites/ffmpeg_doxygen_8_0/llms.txt

Topic-specific — append ?topic={query} for focused results:

context7.com/shadcn-ui/ui/llms.txt?topic=date-picker
context7.com/vercel/next.js/llms.txt?topic=cache

Traditional llms.txt fallback: WebSearch "[library] llms.txt" → common paths: docs.[lib].com/llms.txt, [lib].dev/llms.txt

Use WebFetch on the resolved llms.txt URL. If it contains multiple section URLs (3+), launch parallel Explorer agents (one per section, max 5).

Step 4 — Fallback to Web Search

If neither Context7 nor llms.txt available:

  1. Use WebSearch with queries:
    • "[library] [api/method] official documentation"
    • "[library] [version] [query]"
    • "[error message] [library] fix"
  2. Identify official documentation URLs (docs.*, official GitHub, npm/pypi pages)
  3. Call WebFetch on the top 1-3 official sources

Repository analysis fallback (when docs are sparse but code is available):

npx repomix --output /tmp/repomix-output.xml   # in the cloned repo

Read the repomix output to extract API patterns, usage examples, and internal documentation.

Step 5 — Extract Answer

From Context7, llms.txt, or fetched pages, extract:

  • Exact API signature with parameter types and return type
  • Minimal working code example
  • Version-specific notes (deprecated in X, changed in Y)
  • Known issues or common pitfalls mentioned in docs

Step 6 — Report

Return structured documentation in the output format below.

Constraints

  • Prefer Context7 MCP → llms.txt → WebSearch (in that priority order)
  • Only fall back to web if Context7 and llms.txt both lack coverage
  • Use ?topic= parameter on llms.txt URLs for targeted results
  • Always include source URL so callers can verify
  • If the API is deprecated, say so explicitly and link to the replacement
  • For parallel fetching: 1-3 URLs = single agent, 4-10 = 3-5 Explorer agents, 11+ = 5-7 agents

Output Format

## Documentation: [Library/API]
- **Version**: [detected or "latest"]
- **Source**: [official docs URL or "Context7"]

### API Reference
- **Signature**: `functionName(param1: Type, param2: Type): ReturnType`
- **Parameters**:
  - `param1` — description
  - `param2` — description
- **Returns**: description

### Usage Example
```[lang]
[minimal working code snippet from official docs]

Known Issues / Deprecations

  • [relevant warning, deprecation notice, or common mistake]

## Sharp Edges

Known failure modes for this skill. Check these before declaring done.

| Failure Mode | Severity | Mitigation |
|---|---|---|
| Returning deprecated API without flagging it | HIGH | Must explicitly state "deprecated in X.Y, use Z instead" with replacement link |
| Wrong version docs returned when version specified | HIGH | Verify version match — if version-specific docs unavailable, state that explicitly |
| Skipping Context7 and going directly to web search | MEDIUM | Constraint: Context7 MCP → llms.txt → WebSearch — follow the priority chain |
| Not using ?topic= on llms.txt for focused queries | LOW | Topic parameter dramatically reduces noise — always append when query is specific |
| Returning docs without source URL | MEDIUM | Constraint: always include source URL so callers can verify |

## Done When

- Context7 attempted first (resolve-library-id + query-docs)
- If Context7 insufficient: top 1-3 official doc URLs fetched via WebFetch
- API signature extracted with parameter types and return type
- Minimal working code example included
- Deprecation/version notes included if applicable
- Source URL provided
- Documentation emitted in output format

## Returns

| Artifact | Format | Location |
|----------|--------|----------|
| API reference (signature + params) | Markdown | inline |
| Minimal working code example | Code block | inline |
| Deprecation / version notes | Markdown | inline |
| Source URL | Plain text | inline |

## Cost Profile

~300-600 tokens input, ~200-400 tokens output. Haiku. Fast lookup.

**Scope guardrail:** docs-seeker looks up documentation only — it does not apply changes, write code, or interpret whether the API fits the caller's use case.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

adversary

무료

Pre-implementation red-team analysis. Use when a plan is high-risk, critical path, or expensive to reverse. Challenges plans before code is written — finds edge cases, security holes, scalability bottlenecks, error propagation risks, and integration conflicts. Catches flaws at plan time (10x cheaper than post-implementation).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rune-kit/rune862026년 8월 16일 업데이트

Creates code-based visual assets — SVG icons, OG image HTML templates, social banners, and icon sets. Use when generating visuals as code (vector/HTML), NOT raster images — for raster generation see @rune-pro/media. Outputs files with usage instructions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rune-kit/rune862026년 8월 16일 업데이트

audit

무료

Comprehensive project audit — security, dependencies, code quality, architecture, performance, infra, docs, and mesh analytics. Use when needing a full 8-dimension health-score snapshot before a major release, M&A diligence, or quarterly review. Delegates to specialist skills (sentinel, dependency-doctor, perf, autopsy, etc.).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rune-kit/rune862026년 8월 16일 업데이트

autopsy

무료

Full codebase health assessment. Use when diagnosing project health or starting a rescue workflow on legacy code — OR when evaluating an external GitHub repo for dependency / fork / contribution decisions (--external mode). Analyzes complexity, dependencies, dead code, tech debt, and git hotspots. Produces a health score and rescue plan.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rune-kit/rune862026년 8월 16일 업데이트

ba

무료

Business Analyst agent. Use when starting a new feature requiring requirements elicitation BEFORE plan or cook. Asks probing questions, identifies hidden requirements, maps stakeholders, defines scope boundaries, and produces a structured Requirements Document that plan and cook consume.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rune-kit/rune862026년 8월 16일 업데이트

Creative ideation and solution exploration. Generates multiple approaches with trade-offs, uses structured frameworks (SCAMPER, First Principles), and hands off to plan for structuring.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rune-kit/rune862026년 8월 16일 업데이트

Rune-kit의 스킬 모두 보기

이 스킬의 문제 신고