affaan-m avatar

Documentation Lookup

When you ask Claude about React hooks, Next.js middleware, or Prisma queries, this skill hits the Context7 MCP server for live docs instead of relying on stale training data. It resolves library names to IDs, fetches current snippets and API references, then answers with up-to-date code examples. The three-call limit keeps it from spinning, and it knows to prefer official sources and version-specific docs when you mention them. Honest take: this is what you want when frameworks ship breaking changes every quarter and you need Claude to know about the middleware.ts pattern that landed last month, not the deprecated config from two years ago.

skills.sh installs
5.7K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.)

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Frontend Development, Backend & APIs, Documentation, AI & Agent Building, Databases
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1affaan-m avatarmotion-advancedaffaan-m/eccAdvanced motion patterns for React / Next.js — drag & drop, gestures, text animations, SVG path drawing, custom hooks, imperative sequences (useAnimate), loader5.6Kskills.sh installs
2tanstack-skills avatartanstack-tabletanstack-skills/tanstack-skillsHeadless UI for building powerful tables & datagrids for TS/JS, React, Vue, Solid, Svelte, Qwik, Angular, and Lit.5.6Kskills.sh installs
3github avatarweb-codergithub/awesome-copilotExpert 10x engineer with comprehensive knowledge of web development, internet protocols, and web standards. Use when working with HTML, CSS, JavaScript, web API5.5Kskills.sh installs
4affaan-m avatarnuxt4-patternsaffaan-m/eccNuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.5.5Kskills.sh installs
5web-infra-dev avatarbrowser-automationweb-infra-dev/midscene-skillsVision-driven browser automation using Midscene. Operates from screenshots — no DOM or accessibility labels needed. Runs in headless Puppeteer — does NOT take o5.4Kskills.sh installs
6samber avatarcrxjssamber/cc-skillsCRXJS Chrome extension development — true HMR for popup, options, content scripts, side panels, manifest-driven builds, dynamic content script imports (`?script5.1Kskills.sh installs