通过 Context7 MCP 获取库和框架的实时最新文档,而非依赖训练数据,防止 API 幻觉。适用于查询任何库或框架的用法、配置、示例代码。触发词:怎么用、怎么配置、API参考、文档、示例代码、用法、接口、库文档、框架文档、documentation、docs、how to use、API…

MITAuto-check passedFrontend & Design

Install Docs Lookup

skills CLI
$ npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill docs-lookup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ProgrammerAnthony/Expert-Coding-Harness docs-lookup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/docs-lookup .claude/skills/docs-lookup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docs-lookup
GitHub stars
235
Token cost
~640 tokens
SKILL.md length
206 words
Files
2
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

通过 Context7 MCP 获取库和框架的实时最新文档,而非依赖训练数据,防止 API 幻觉。适用于查询任何库或框架的用法、配置、示例代码。触发词:怎么用、怎么配置、API参考、文档、示例代码、用法、接口、库文档、框架文档、documentation、docs、how to use、API…

  • Works in 4 steps: 调用 resolve-library-id,libraryName:… → 从结果中选 /vercel/next.js(名称匹配 + 高分) → 调用 query-docs,libraryId:… → …
  • Tasks that involve ORMs and data access
  • SKILL.md covers 何时触发, 工作流, 示例 and 最佳实践, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Docs Lookup is an agent skill from ProgrammerAnthony/Expert-Coding-Harness. 通过 Context7 MCP 获取库和框架的实时最新文档,而非依赖训练数据,防止 API 幻觉。适用于查询任何库或框架的用法、配置、示例代码。触发词:怎么用、怎么配置、API参考、文档、示例代码、用法、接口、库文档、框架文档、documentation、docs、how to use、API reference、setup、configure、React怎么用、Next.js配置、Prisma查询、Vue用法、Express路由、Tailwind类名、Supabase认证、TypeScript类型、Zod验证、shadcn组件、Drizzle ORM、tRPC、Fastify、NestJS、Astro、SvelteKit、Nuxt、Vite、Vitest、Playwright。

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Frontend & Design, covering ORMs and data access, CSS and styling and Technical documentation. It works with Prisma, Next.js, Supabase and Model Context Protocol. The repository describes itself as: 生产级 AI Agent 技能集,辅助AI Harness应用于企业开发,覆盖代码审查、代码安全审计、TDD、需求工程、实施计划与子代理编排、架构设计、调试、前端开发与技能创建全流程。 The licence is MIT.

When your agent uses it

  • Tasks that involve ORMs and data access
  • Tasks that involve CSS and styling
  • Tasks that involve Technical documentation

Example prompts

  • “/docs-lookup”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 调用 resolve-library-id,libraryName: "Next.js",query: "Next.js middleware 怎么配置?"
  2. 从结果中选 /vercel/next.js(名称匹配 + 高分)
  3. 调用 query-docs,libraryId: "/vercel/next.js",query: "middleware configuration"
  4. 用返回的文档和 middleware.ts 示例回答

What it can do on your machine

Read from SKILL.md and the folder at commit ab0b827. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docs Lookup loads about 640 tokens when it runs. Until then it costs about 89 tokens; SKILL.md has 206 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~89
When it runs · the whole SKILL.md, loaded when a task matches
~640

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ProgrammerAnthony/Expert-Coding-Harness at commit ab0b827, republished under its MIT licence (© ProgrammerAnthony). 206 words, ~640 tokens.

Download SKILL.mdSave it as .claude/skills/docs-lookup/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
docs-lookup
description
通过 Context7 MCP 获取库和框架的实时最新文档,而非依赖训练数据,防止 API 幻觉。适用于查询任何库或框架的用法、配置、示例代码。触发词:怎么用、怎么配置、API参考、文档、示例代码、用法、接口、库文档、框架文档、documentation、docs、how to use、API reference、setup、configure、React怎么用、Next.js配置、Prisma查询、Vue用法、Express路由、Tailwind类名、Supabase认证、TypeScript类型、Zod验证、shadcn组件、Drizzle ORM、tRPC、Fastify、NestJS、Astro、SvelteKit、Nuxt、Vite、Vitest、Playwright。

文档查询

铁律:查文档,不靠记忆。 当用户询问任何库、框架或 API 的用法时,必须通过 Context7 MCP 获取实时文档,而非依赖训练数据给出可能已过时的答案。

何时触发

  • 用户询问某个库或框架的用法("React 的 useEffect 怎么用?")
  • 用户要求生成依赖特定库的代码("帮我写一个 Prisma 查询")
  • 用户询问 API 参考或配置方式("Next.js middleware 怎么配置?")
  • 用户提到了具体的库名(React、Vue、Next.js、Prisma、Supabase、Tailwind 等)
  • 用户询问某个库的特定版本行为("Next.js 15 的 App Router")

工作流

第一步:解析库 ID

调用 Context7 MCP 的 resolve-library-id 工具:

  • libraryName:从用户问题中提取的库名(如 Next.js、Prisma、Supabase)
  • query:用户的完整问题(提升匹配相关性)

必须先获得有效的 Context7 库 ID(格式为 /org/project)才能进入下一步,禁止直接调用 query-docs。

第二步:选择最佳匹配

从解析结果中按以下优先级选择:

优先级判断依据
1名称与用户所问库完全匹配
2Benchmark 分数更高(100 分为满分)
3Source reputation 为 High 或 Medium
4若用户指定了版本号,优先选版本专属 ID
第三步:获取文档

调用 Context7 MCP 的 query-docs 工具:

  • libraryId:第二步选出的库 ID(如 /vercel/next.js)
  • query:用户的具体问题,越具体越好

限制:每个问题最多调用 query-docs 3 次。3 次后仍不确定,说明情况并用已有最佳信息作答,不得猜测。

第四步:回答用户
  • 用获取到的实时文档内容回答问题
  • 包含文档中的相关代码示例
  • 涉及版本差异时明确标注(如"在 Next.js 15 中...")

示例

示例 1:Next.js middleware 配置
  1. 调用 resolve-library-id,libraryName: "Next.js",query: "Next.js middleware 怎么配置?"
  2. 从结果中选 /vercel/next.js(名称匹配 + 高分)
  3. 调用 query-docs,libraryId: "/vercel/next.js",query: "middleware configuration"
  4. 用返回的文档和 middleware.ts 示例回答
示例 2:Prisma 关联查询
  1. 调用 resolve-library-id,libraryName: "Prisma",query: "如何查询关联关系?"
  2. 选 /prisma/prisma
  3. 调用 query-docs,query: "query with relations include select"
  4. 返回 Prisma Client 的 include / select 模式与代码示例
示例 3:Supabase 认证方式
  1. 调用 resolve-library-id,libraryName: "Supabase",query: "Supabase 有哪些认证方式?"
  2. 选 Supabase 官方库 ID
  3. 调用 query-docs,汇总认证方法并给出最小示例

最佳实践

原则说明
具体查询用用户完整问题作为 query,比通用词更准确
版本感知用户提到版本时,优先选版本专属库 ID
官方优先多个匹配时优先选官方/主包,而非社区 fork
不传密钥在调用 resolve-library-id 或 query-docs 前,移除问题中的 API Key、密码、Token 等敏感信息

反模式

反模式后果
跳过 resolve-library-id 直接猜测库 IDquery-docs 返回错误或无关文档
用训练数据直接回答库 API 问题给出已过时或错误的 API 用法
query 过于模糊(如只写库名)返回的文档片段不相关
超过 3 次仍继续调用浪费 context,应直接说明不确定性
将含敏感数据的问题原文发送 Context7泄露用户凭证

© ProgrammerAnthony, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/docs-lookup of ProgrammerAnthony/Expert-Coding-Harness.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit ab0b827

Compare with similar skills

Docs Lookup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docs Lookup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docs Lookup this skillProgrammerAnthony/Expert-Coding-Harness235—~640Automated safety check: PassMIT
Documentation LookupKaimingWan/oh-my-kiro107—~616Automated safety check: PassMIT
Context7 MCPrtadewald/skills175—~681Automated safety check: PassNone
Design StyleCastor6/tactus3761 repos~2.1kAutomated safety check: PassApache-2.0
UithingBayBreezy/ui-thing729—~1.3kAutomated safety check: PassCustom licence
UI UX Pro Maxsundial-org/awesome-openclaw-skills6632 repos~657Automated safety check: PassNone

Similar skills

  • Documentation Lookup

    KaimingWan/oh-my-kiro

    Fetch current library/framework documentation via Context7. An agent skill from KaimingWan/oh-my-kiro.

    107 GitHub stars~616 tokensUpdated 6 mo ago
    Backend & APIsAuto-check passed
  • Context7 MCP

    rtadewald/skills

    This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples.

    175 GitHub stars~681 tokensUpdated 8 days ago
    DatabasesAuto-check passed
  • Design Style

    Castor6/tactus

    A skill your agent uses whenever the user asks to build, create, design, develop, improve, or style any frontend interface or visual element.

    376 GitHub starsUsed in 1 repo~2.1k tokens
    Frontend & DesignAuto-check passed
  • Uithing

    BayBreezy/ui-thing

    Manages UI Thing components, prose, blocks, themes, shortcuts, docs, and MCP-driven workflows in Nuxt projects and in the UI Thing source repo.

    729 GitHub stars~1.3k tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Bryl Minimal Design

    bryllim/bryl-minimal-design

    Apply the bryl-minimal design language — a monochrome, typography-driven minimal aesthetic with halftone dot textures, pixel-font display headings, tiny uppercase monospace labels, soft large-radius…

    114 GitHub stars~2.9k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed

More from ProgrammerAnthony/Expert-Coding-Harness

All 23 skills in this repo
  • Architecture Advisor

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要设计新系统架构、评审或优化已有系统架构、选择技术方案时。触发场景:架构分析、架构设计、系统设计、architecture、架构优化、系统架构、架构评审、架构咨询、技术方案、技术设计、如何组织代码结构、模块划分、服务拆分、数据库选型、微服务设计。

    235 GitHub stars~673 tokensUpdated 4 mo ago
    Auto-check passed
  • Code Review Expert

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户要求审查代码、评估代码质量、提交 PR 前检查、发现代码有潜在问题时。触发场景:代码审查、code review、审查代码、review、检查代码、代码检查、代码质量、代码评审、这段代码有问题吗、帮我看看代码、合并前检查。

    235 GitHub stars~806 tokensUpdated 4 mo ago
    Auto-check passed
  • Code Security Audit

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要对代码进行安全审计、发现安全漏洞、上线前安全评估、检查代码是否存在安全风险时。触发场景:代码安全审计、安全审计、白盒审计、安全扫描、漏洞检测、漏洞挖掘、SQL注入、命令注入、XSS、SSRF、反序列化、认证绕过、越权、代码安全检查、security audit、code…

    235 GitHub stars~1.6k tokensUpdated 4 mo ago
    Auto-check passed
  • Debug Expert

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 程序出现错误、异常、崩溃,或行为与预期不符,或测试失败,或无法定位问题根因时。触发场景:调试、debug、报错、错误、异常、bug、问题排查、故障排查、不工作、崩溃、无法运行、出错了、为什么不生效、运行报错、跑不起来、程序挂了。

    235 GitHub stars~986 tokensUpdated 4 mo ago
    Auto-check passed
  • Frontend Code Review

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要审查前端代码(React/Vue/Next.js/TypeScript/Tailwind等)、检查代码质量、性能问题、可维护性、安全漏洞、最佳实践落地时。触发场景:前端代码评审、前端代码优化、React/Vue代码检查、TypeScript代码审查、前端性能优化、前端安全审计、前端代码规范检查。

    235 GitHub stars~614 tokensUpdated 4 mo ago
    Auto-check passed
  • Frontend Performance Optimization

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要优化前端性能、提升页面加载速度、减少白屏时间、优化交互流畅度、进行性能排查时。触发场景:前端性能优化、页面加载慢、白屏时间长、卡顿、LCP/FID/CLS指标优化、前端性能分析、打包体积优化。

    235 GitHub stars~701 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Docs Lookup

What does Docs Lookup do?

通过 Context7 MCP 获取库和框架的实时最新文档,而非依赖训练数据,防止 API 幻觉。适用于查询任何库或框架的用法、配置、示例代码。触发词:怎么用、怎么配置、API参考、文档、示例代码、用法、接口、库文档、框架文档、documentation、docs、how to use、API…. Docs Lookup is an agent skill from ProgrammerAnthony/Expert-Coding-Harness.

When should I use Docs Lookup?

Docs Lookup fits situations like: tasks that involve ORMs and data access; tasks that involve CSS and styling; tasks that involve Technical documentation.

How do I install Docs Lookup in Claude Code?

Run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill docs-lookup -a claude-code`. Or copy the skill folder (skills/docs-lookup in ProgrammerAnthony/Expert-Coding-Harness) into .claude/skills/docs-lookup in your project. Claude Code loads it when a task matches its description.

How do I install Docs Lookup in Codex?

Run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill docs-lookup -a codex`. Or copy the skill folder (skills/docs-lookup in ProgrammerAnthony/Expert-Coding-Harness) into .agents/skills/docs-lookup in your project. Codex loads it when a task matches its description.

Can I use Docs Lookup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill docs-lookup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-lookup, .gemini/skills/docs-lookup, .github/skills/docs-lookup and .opencode/skills/docs-lookup in your project.

What does Docs Lookup need to run?

SKILL.md names no scripts, command-line tools or credentials: Docs Lookup is instructions for the agent only.

Does Docs Lookup access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Docs Lookup safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Docs Lookup use?

Docs Lookup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Docs Lookup use?

About 640 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Docs Lookup?

Skills that share tags, products or a category with Docs Lookup: Documentation Lookup (KaimingWan/oh-my-kiro, 107 stars), Context7 MCP (rtadewald/skills, 175 stars), Design Style (Castor6/tactus, 376 stars) and Uithing (BayBreezy/ui-thing, 729 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docs Lookup?

ProgrammerAnthony (a GitHub user) maintains it in ProgrammerAnthony/Expert-Coding-Harness, which has 235 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on May 11, 2026.

Source: ProgrammerAnthony/Expert-Coding-Harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.