agentleFS
peterkrueckpeterkrueck/Claude-Code-Development-Kit/skills/context7-guidance/SKILL.md

context7-guidance

Skill1.4k starsChanged 6 months agoMITView on GitHub

Fetch CURRENT library/framework/API/CLI documentation via Context7 instead of relying on training data. Use whenever the user mentions a specific library, framework, SDK, API, or cloud service, asks a setup/configuration question, plans a version migration, or is debugging library-specific behavior. Triggers on common web frameworks, APIs, and cloud services — even well-known ones, since training data may be stale.

Trending

Quiet since April.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the peterkrueck/Claude-Code-Development-Kit repository that our weekly crawl found: only 3 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Resolve the library ID: Call resolve-library-id with the library name and pass the user's full question as the query — it sharpens the …

    line 24
  2. Distinctive:

    Pick the best match: Prefer an exact name match and the official/primary package over community forks.

    line 25
  3. Very specific:

    Query the docs: Call query-docs with the chosen library ID and the user's specific question (not a single keyword).

    line 26
  4. Distinctive:

    Answer from the result: Use the fetched docs, include relevant examples, and cite the version when it matters.

    line 27
  5. Very specific:

    If the tools aren't directly callable, load them first via ToolSearch (select:mcp__context7__resolve-library-id,mcp__context7__query-docs) …

    line 29
  6. Distinctive:

    Prefer official sources: when several matches exist.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Context7 Guidance — Current Docs Over Training Data

The kit ships the Context7 plugin permission so you can pull current documentation at the version the project actually uses. Training data drifts: APIs get deprecated, defaults change, config keys get renamed. When the question is about a real library, fetch the docs — don't answer from memory.

When to Use

Reach for Context7 when the user:

  • Names a specific library, framework, SDK, or cloud service (common web frameworks, APIs, and cloud services — even ones you "know")
  • Asks a setup or configuration question ("how do I wire up X middleware?")
  • Plans a version migration ("upgrading to vN — what changed?")
  • Is debugging library-specific behavior (an error, a deprecation, an unexpected default)
  • Wants code that calls a third-party API — verify the signature before writing it

When NOT to use it: general programming concepts, refactoring your own code, debugging your own business logic, writing a script from scratch, or code review of non-library logic. Context7 is for external surfaces, not your codebase.

How to Fetch

  1. Resolve the library ID. Call resolve-library-id with the library name and pass the user's full question as the query — it sharpens the ranking.
  2. Pick the best match. Prefer an exact name match and the official/primary package over community forks. If the user named a version, prefer the version-specific ID.
  3. Query the docs. Call query-docs with the chosen library ID and the user's specific question (not a single keyword).
  4. Answer from the result. Use the fetched docs, include relevant examples, and cite the version when it matters.

If the tools aren't directly callable, load them first via ToolSearch (select:mcp__context7__resolve-library-id,mcp__context7__query-docs) — don't skip verification just because they weren't preloaded.

Guidelines

  • Pass the full question, not one word — it improves relevance at both steps.
  • Be version-aware — when the user mentions a version, carry it into the resolve step.
  • Prefer official sources when several matches exist.
  • Fall back to web search only if Context7 has no coverage for that library.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.