context7-docs
하는 일
이 스킬은 에이전트가 소프트웨어 도구와 서비스의 최신 문서와 코드 샘플을 찾도록 합니다. API, 설정, 버전에 관해 묻는 모든 사람을 위한 스킬입니다.
사용하는 경우
- ✓특정 라이브러리, 프레임워크, SDK에 대해 정확한 세부 정보가 필요할 때.
- ✓클라우드 서비스나 도구의 실제 동작하는 코드 예제가 필요할 때.
- ✓최근 버전에서 바뀌었을 수 있는 설정 옵션을 물을 때.
스킬 링크
https://github.com/upstash/context7/blob/master/packages/pi/skills/context7-docs/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Upstash ratelimit 패키지로 요청 속도를 제한하려면 어떻게 하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 먼저 Context7 색인에서 해당 라이브러리를 찾고, 질문에 대해 그 문서를 조회합니다. 에이전트는 답하면서 어떤 라이브러리를 사용했는지도 알려 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Context7 Documentation Lookup
Retrieve current documentation and code examples from Context7 using the resolve-library-id and query-docs tools that ship with this extension.
When to use
Reach for these tools whenever a question involves a specific library, framework, SDK, CLI tool, or cloud service. Examples:
- "How do I configure caching in Next.js 16?"
- "What's the syntax for Prisma's
findManywith relations?" - "Show me a working Tailwind v4 install for a Vite app."
- "How do I rate-limit with
@upstash/ratelimit?"
Workflow
- Resolve the library ID. Call
resolve-library-idwith the library name and what to look up in the library's documentation. The tool returns matching libraries with their Context7 IDs (/org/projectformat), descriptions, snippet counts, and quality scores. Pick the best match — prioritize official sources, name match, and high benchmark scores. - Query the docs. Call
query-docswith the chosen library ID and what to look up in the library's documentation, scoped to a single concept — if the question spans multiple distinct concepts, make a separate call per concept with the same library ID, unless the question is about how the concepts interact. The tool returns documentation snippets and code examples. - Answer. Cite the library ID you used and quote code examples verbatim when relevant.
If the user supplies a library ID in /org/project or /org/project/version format directly, skip step 1 and call query-docs immediately.
Constraints
- Do not call either tool more than 3 times per question.
- Do not pass API keys, passwords, credentials, personal data, or proprietary code as the
queryargument — it is sent to the Context7 API. - Authentication uses the
CONTEXT7_API_KEYenvironment variable. Get a key at https://context7.com/dashboard if requests fail with an auth error.
자주 묻는 질문
AI에게 직접 물어보면 안 되나요?
학습 데이터는 최근 API 변경을 놓칠 수 있으므로, 가져온 문서가 더 최신 답을 줍니다.
에이전트가 코드 예제를 보여 주나요?
네. 도움이 되는 경우 문서의 코드 예제를 인용합니다.
질문이 여러 주제에 걸치면 어떻게 하나요?
이 스킬은 각 개념을 따로 찾아, 답변이 한 가지 주제에 집중되도록 합니다.
상세 정보
작성자의 원본 설명
Fetch up-to-date documentation and code examples for any library, framework, SDK, CLI tool, or cloud service. Use whenever the user asks about a specific library — even well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot — because training data may not reflect recent API changes or version updates. Always use for: API syntax questions, configuration options, version migration issues, "how do I" questions mentioning a library name, debugging that involves library-specific behavior, setup instructions, and CLI tool usage. Use even when you think you know the an
repo: upstash/context7
인기도
- GitHub 스타
- 64k
- 순위
- #3165
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …