am-will

Context7 API Documentation Fetcher

知識管理v1.0.0
作者:am-will更新於 2026-05-17context7-api@clawhub_am-will/context7-api
資訊檢索檔案問答#Documentation#Debugging

據 AlphaMoat 統計,截至 2026-09,Context7 API Documentation Fetcher 累計下載 3,575 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 3,054 位,在「知識管理」分類(442 個)中排名第 280 位。

累計安裝
106
累計下載
3575
星標
-
全站排名
#3,054
全站前 61% · 「知識管理」前 64%
平台累計安裝累計下載星標評論
ClawHub ↗1063293--
SkillHub ↗1053575-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文描述先搜尋庫名,再使用返回的標識獲取文件上下文,供 API 查詢、實現或除錯使用。隨附卡片報告分發原始碼包含 Context7 bearer token,並指出查詢會傳送給遠端服務。在確認捆綁憑據已移除或輪換、並改用使用者自己的受保護金鑰前,不應執行該版本。查詢中不得包含私有原始碼、內部標識、金鑰或其他機密內容。

資料釋出於 2026-10-29

可以用來做什麼

  • 查詢公開庫或 SDK 的官方文件
  • 獲取針對 API 用法的精簡上下文
  • 審查查詢內容和憑據配置風險

什麼時候用

  • 需要核對第三方庫當前文件時
  • 分發版本的捆綁金鑰已移除或輪換且憑據安全配置時
  • 查詢內容可安全傳送給 Context7 時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

先審查該版本是否仍含捆綁 bearer token,不要執行
用公開庫名稱檢索文件,不提交私有原始碼或憑據
在請求文件前檢查查詢是否含有內部或客戶資訊

月度資料趨勢

累計下載3575
2001284736922026-03 · 累計下載 21182026-05 · 累計下載 26522026-07 · 累計下載 30722026-08 · 累計下載 32292026-09 · 累計下載 357526-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093575—-
2026-083229+5.1%-
2026-073072—-
2026-052652—-
2026-032118—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

1.7 KB · ClawHub v1.0.0
---
name: context7
description: |
  Fetch up-to-date library documentation via Context7 API. Use PROACTIVELY when:
  (1) Working with ANY external library (React, Next.js, Supabase, etc.)
  (2) User asks about library APIs, patterns, or best practices
  (3) Implementing features that rely on third-party packages
  (4) Debugging library-specific issues
  (5) Need current documentation beyond training data cutoff
  Always prefer this over guessing library APIs or using outdated knowledge.
展開全部(共 62 行)
---

# Context7 Documentation Fetcher

Retrieve current library documentation via Context7 API.

## Workflow

### 1. Search for the library

```bash
python3 ~/.claude/skills/context7/scripts/context7.py search "<library-name>"
```

Example:
```bash
python3 ~/.claude/skills/context7/scripts/context7.py search "next.js"
```

Returns library metadata including the `id` field needed for step 2.

### 2. Fetch documentation context

```bash
python3 ~/.claude/skills/context7/scripts/context7.py context "<library-id>" "<query>"
```

Example:
```bash
python3 ~/.claude/skills/context7/scripts/context7.py context "/vercel/next.js" "app router middleware"
```

Options:
- `--type txt|md` - Output format (default: txt)
- `--tokens N` - Limit response tokens

## Quick Reference

| Task | Command |
|------|---------|
| Find React docs | `search "react"` |
| Get React hooks info | `context "/facebook/react" "useEffect cleanup"` |
| Find Supabase | `search "supabase"` |
| Get Supabase auth | `context "/supabase/supabase" "authentication row level security"` |

## When to Use

- Before implementing any library-dependent feature
- When unsure about current API signatures
- For library version-specific behavior
- To verify best practices and patterns

「知識管理」分類下的熱門技能

am-will 的其他技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。