Agent skill
context7
Library documentation fetcher using Context7 CLI (npx ctx7). Provides up-to-date, version-specific docs for external libraries. CLI version replaces Context7 MCP for lower context overhead.
Install this agent skill to your Project
npx add-skill https://github.com/WenJunDuan/Rlues/tree/main/vibeCoding/old version/claude/config-agent_v8.0/.claude/skills/context7
SKILL.md
Context7 Documentation Skill (CLI)
自动触发
检测到以下情况时自动激活:
- 使用外部库/框架 (React, Next.js, Vue, Express...)
- 查看 package.json / go.mod / requirements.txt 中的依赖
- 报错涉及第三方 API
使用方式
# 搜索库
npx ctx7 search "react hooks"
# 获取文档
npx ctx7 docs react --topic="useState"
# 指定版本
npx ctx7 docs next@14 --topic="app router"
与 mcp-deepwiki 分工
| 工具 | 负责 | 示例 |
|---|---|---|
| context7 | 库/框架级 API 文档 | React hooks 用法 |
| mcp-deepwiki | 架构/Wiki 级知识 | 系统设计模式 |
降级
context7 CLI 不可用 → mcp-deepwiki 搜索 → Web 搜索。
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-teams
Path D 并行编排 — 子代理分工 + Agent Teams 协作。需要 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
tdd
Path 分级 TDD 策略
context7
E 阶段按需拉取库文档 — 用 ctx7 获取准确 API 信息
knowledge
跨会话经验管理 — 在 .ai_state 内沉淀和复用项目经验
code-quality
Rev 阶段 Plugin 编排顺序
verification
V 阶段 Path 分级验证清单
Didn't find tool you were looking for?