Skip to content
affaan-m avatar

Documentation Lookup

Up-to-date library and framework docs via Context7 MCP, replacing stale training data for API and setup questions.

CCM score
75 of 100
skills.sh installs
12K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the lookup flow: resolve a library ID with resolve-library-id, pick the best match, then fetch snippets with query-docs
  • Selects matches by name fit, benchmark score, source reputation, and any version the user names, preferring official packages
  • Enforces a limit of 3 calls per question and redaction of API keys, passwords, and tokens before any query is sent
  • Activates for setup questions, API references, code requests, and named frameworks such as React, Next.js, and Prisma

Install

$ npx -y skills add affaan-m/ecc --skill documentation-lookup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Documentation Lookup (Context7)

When the user asks about libraries, frameworks, or APIs, fetch current documentation via the Context7 MCP (tools resolve-library-id and query-docs) instead of relying on training data.

Core Concepts

  • Context7: MCP server that exposes live documentation; use it instead of training data for libraries and APIs.
  • resolve-library-id: Returns Context7-compatible library IDs (e.g. /vercel/next.js) from a library name and query.
  • query-docs: Fetches documentation and code snippets for a given library ID and question. Always call resolve-library-id first to get a valid library ID.

When to use

Activate when the user:

  • Asks setup or configuration questions (e.g. "How do I configure Next.js middleware?")
  • Requests code that depends on a library ("Write a Prisma query for...")
  • Needs API or reference information ("What are the Supabase auth methods?")
  • Mentions specific frameworks or libraries (React, Vue, Svelte, Express, Tailwind, Prisma, Supabase, etc.)

Details

Repository
github.com/affaan-m/ecc
Categories
Technical Documentation, AI Agents & LLM Apps
First seen
Jul 14, 2026

Questions

Which Technical Documentation skills rank highest alongside documentation-lookup?

The documentation-lookup skill ranks in the top 50 of the Technical Documentation category on Claude Marketplaces. Its listing sits next to domain-modeling, archify, writing-guidelines, design-doc-mermaid, and documentation-and-adrs, which share its category.

How do I install the documentation-lookup skill?

Run npx -y skills add affaan-m/ecc --skill documentation-lookup -y inside your project. Once installed, the agent fetches current library and framework docs through the Context7 MCP instead of relying on its training data.

What does documentation-lookup do when I ask about a framework like Next.js or Prisma?

It first resolves the library name into a Context7-compatible library ID, then queries that library's documentation for your specific question. The answer uses current docs, and code examples are included when they help.

What does documentation-lookup need to run?

It needs the Context7 MCP server configured in your harness, such as Claude Code, Cursor, or Codex. The skill calls its resolve-library-id and query-docs tools, and it avoids sending secrets such as API keys to Context7.

When should I use documentation-lookup instead of asking the model directly?

Use it when a request depends on accurate, current behavior of a library, framework, or API, such as setup questions or API references. It also activates when you name a framework like React, Vue, Svelte, Express, Tailwind, Prisma, or Supabase.

More from affaan-m/ecc

All 257

Similar to Documentation Lookup

More Technical Documentation