mcpField
D
docs-lookup

docs-lookup

github.com/incluudDevelopment14426 installsUpdated 27w ago
Repository

About docs-lookup

docs-lookup is a skill for answering Astro questions that depend on current documentation, exact APIs, setup steps, or version-specific behavior. It prioritizes official Astro sources and guides focused searches and concise, actionable responses.

Key features

  1. 01Narrowing questions to specific topics
  2. 02Prioritizing official Astro documentation
  3. 03Searching with version awareness
  4. 04Using exact errors and configuration terms
  5. 05Structuring answers with examples and caveats

Use cases

  1. 01Checking current Astro API behavior
  2. 02Finding integration setup instructions
  3. 03Researching upgrade and migration paths
  4. 04Resolving version-specific Astro errors

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/incluud/astro-agent-skills --skill docs-lookup

After installing, type/docs-lookupin Claude Code to confirm it loaded.

Details

From the project README

Astro Docs Lookup

Use this skill when answering Astro questions that depend on current documentation, exact API names, integration setup, upgrade paths, or version-sensitive behavior.

Workflow

1. Define the exact question

Reduce the request to a specific topic before searching:

  • integrations
  • content collections
  • routing
  • assets and images
  • rendering modes
  • deployment adapters
  • migrations or upgrade guides

If the user includes an error message, search that message directly as part of the lookup.

2. Prefer official Astro sources

Start with the official Astro documentation and related official references. If the agent has Astro docs tooling or an MCP available, use it. If not, search the official docs site directly.

Avoid relying on blog posts or community snippets when the question is about syntax, configuration, or breaking changes.

3. Search with version awareness

Use specific search terms, not broad ones:

  • content collections schema
  • view transitions
  • netlify adapter output server
  • upgrade guide

When version drift is possible, verify the current version behavior instead of assuming older examples still apply.

4. Answer with usable output

When replying:

  • start with a direct answer
  • include a minimal working snippet when useful
  • call out caveats, version constraints, or migration notes
  • link the relevant Astro doc page when the topic is deep or likely to change
5. If the first search fails

Try one of these before giving up:

  • narrower search terms
  • the feature’s official package or adapter name
  • the exact config key
  • the upgrade or migration guide instead of the feature page

Response Shape

A good answer usually includes:

  1. the short answer
  2. the relevant example
  3. the important caveat
  4. the official reference

If you cannot verify the behavior from current official docs, say so explicitly instead of guessing.

Comments

Markdown supported