agentleFS
rakaarwakyrakaarwaky/agents-arwaky/skills/documentation/find-docs/SKILL.md

find-docs

Skill0 starsChanged 55 days agoMITView on GitHub

Fetches library docs and examples via ctx7. Use when asking API syntax, config, migration, usage.

  • Reads credentials

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use domain-modeling, codebase-design and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AWSSkill

    domain-modeling

    Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

    Also in 4 projects that use this

  • AWSSkill

    codebase-design

    Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

    Also in 3 projects that use this

  • OpenAISkill

    dispatching-parallel-agents

    Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

    Also in 3 projects that use this

  • VercelSkill

    find-skills

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

    Also in 3 projects that use this

  • VercelSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

    Also in 3 projects that use this

  • +2 more from aws

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never silently fall back to training data: if both transports fail, say that Context7 was unavailable and flag the answer as unverified.

    line 18
  2. Very specific:

    Use the official library name with proper punctuation ("Next.js" not "nextjs", "Customer.io" not "customerio").

    line 32

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “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

Documentation Lookup

Two transports, same two-step workflow (resolve an ID, then query). Use whichever the current harness has:

TransportUse whenSteps
MCP toolsresolve-library-id / query-docs are available (e.g. mcp__context7__*)Call the tools directly — no shell, no install
ctx7 CLINo MCP server in this harness, or you want docs without restartingnpx ctx7@latest library … then npx ctx7@latest docs …

Never silently fall back to training data: if both transports fail, say that Context7 was unavailable and flag the answer as unverified.

Step 1: Resolve the library ID

# MCP: resolve-library-id(libraryName="Next.js", query="app router middleware setup")
npx ctx7@latest library "Next.js" "How to set up app router with middleware"

```text

Skip this step only when the user already gave an ID in `/org/project` or
`/org/project/version` form.

Use the official library name with proper punctuation ("Next.js" not "nextjs",
"Customer.io" not "customerio"). If results look wrong, try alternate spellings
(`next.js`) before changing the query. Always pass a `query` — it is required and
directly affects ranking; form it from the user's intent, and never include
secrets, credentials, or proprietary code (it is sent to the Context7 API).

Each result carries: library ID (`/org/project`), name, description, code-snippet
count, source reputation (High/Medium/Low/Unknown), benchmark score (100 = best),
and available versions.

**Selecting among matches:** prioritize the exact name the user asked for, then
official/primary packages over community forks, then documentation coverage
(more snippets), then higher benchmark score. If the user mentioned a version
("React 19"), prefer a version-specific ID. If several are equally plausible,
say so and proceed with the most relevant; if none are, state that and suggest a
query refinement rather than guessing.

## Step 2: Query the documentation

```bash
# MCP: query-docs(libraryId="/vercel/next.js", query="app router middleware setup")
npx ctx7@latest docs /vercel/next.js "How to add authentication middleware to app router"

```text

Be specific, and keep one concept per query. If the question spans several
concepts (routing *and* auth *and* caching), resolve once then make a separate
call per concept — unless the question is about how they interact, in which case
one combined query is right. Describe what to look up in the docs, not the task.

| Quality | Example |
|---------|---------|
| Good | `"How to set up authentication with JWT in Express.js"` |
| Good | `"React useEffect cleanup function with async operations"` |
| Bad (too vague) | `"auth"`, `"hooks"` |
| Bad (too broad) | `"routing and auth and caching in Next.js"` |

Results contain titled, language-tagged code snippets and prose "info" snippets
with breadcrumb context. Cite the library ID you used, quote code verbatim where
relevant, and name the version when it matters.

## Limits and failures

- **At most 3 calls per question** (across resolve + query). If you still lack an
  answer, use the best result and say what is missing.
- **Quota errors** ("Monthly quota reached", "quota exceeded"): tell the user
  their Context7 quota is exhausted, suggest `npx ctx7@latest login` (or an MCP
  re-auth) for higher limits, and only then answer from knowledge — labelled as
  possibly outdated.
- **Auth errors:** set `export CONTEXT7_API_KEY=…` (get a key at
  https://context7.com/dashboard); most calls work without it.

## Common mistakes

- Library IDs need the `/` prefix — `/facebook/react`, not `facebook/react`.
- Running `docs` first — it fails without a valid ID resolved in step 1.
- One-word queries, or multi-topic queries that dilute ranking.
- Passing sensitive data in `query`.
- Reporting a docs-derived answer as current without naming the library ID/version.

## Related

- `context7-cli` — install `ctx7`, `ctx7 setup` MCP wiring for Claude Code /
  Cursor / OpenCode, and `ctx7 skills …` registry management.

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.