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
- 01Narrowing questions to specific topics
- 02Prioritizing official Astro documentation
- 03Searching with version awareness
- 04Using exact errors and configuration terms
- 05Structuring answers with examples and caveats
Use cases
- 01Checking current Astro API behavior
- 02Finding integration setup instructions
- 03Researching upgrade and migration paths
- 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-lookupAfter installing, type/docs-lookupin Claude Code to confirm it loaded.
Details
From the project READMEAstro 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 schemaview transitionsnetlify adapter output serverupgrade 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:
- the short answer
- the relevant example
- the important caveat
- the official reference
If you cannot verify the behavior from current official docs, say so explicitly instead of guessing.