Skip to content
Back to skills

Context7

ASecurity

E 阶段按需拉取第三方库文档 — 使用 context7 CLI 获取最新 API 文档

  • 186 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 5, 2026
toolsbashnextjsapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add WenJunDuan/Rlues --skill context7 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context7?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context7
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenjunduan-context7-ff0a8e39/badge)](https://www.skillsdirectory.com/skills/wenjunduan-context7-ff0a8e39)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: context7
description: E 阶段按需拉取第三方库文档 — 使用 context7 CLI 获取最新 API 文档
context: main
---

# Context7 — 库文档按需拉取

## 用途

写代码时需要第三方库 API 文档, 按需拉取到 context window, 不预加载。

## 调用方式

```bash
# 搜索可用库
npx ctx7 resolve <library-name>

# 示例
npx ctx7 resolve next.js
npx ctx7 resolve prisma
npx ctx7 resolve tailwindcss
```

## 集成点

- **E 阶段**: 开始用某个库的 API 前, 先 ctx7 拉文档
- **R 阶段**: 评估技术方案时, 查库的最新版本特性
- 与 `mcp-deepwiki` 分工: deepwiki 查开源项目源码文档, ctx7 查库的使用文档

## 原则

不预加载所有依赖的文档 — 太浪费 context。
用到什么查什么, 查完继续写。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.