docs-lookup — Claude Code skill: what it does, how to install
Finds answers in official Astro docs for version-sensitive configs, adapters, and content collections.
npx skills add incluud/astro-agent-skills --skill docs-lookup -a claude-codeWhat docs-lookup does
This skill guides the agent through official Astro documentation whenever questions involve exact APIs, breaking changes, or deployment setup. Instead of picking unverified community snippets, it checks official docs or Astro MCP tooling. Console error messages get routed straight into official guide searches.
Queries focus on tight terms such as adapter names, schema configs, and upgrade steps. When behavior cannot be confirmed against current reference materials, the prompt forces the assistant to state that openly rather than invent an answer.
Output includes a direct answer, a working snippet, known caveats, and a link to the Astro page. If an initial search yields nothing, the workflow pivots to exact config keys or migration sections before giving up.
What it helps with
- configure content collection schemas against the latest Astro rules
- set up deployment adapters such as Netlify without outdated flags
- troubleshoot Astro terminal errors using official guides
- navigate breaking changes when upgrading Astro versions
Example prompts for the agent
- How do I define a content collection schema in modern Astro?
- Configure the Netlify adapter for server output in Astro.
- Check Astro documentation for this build error: Invalid collection entry.
How to install docs-lookup
1Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a claude-code2Manually: put the files in place
~/.claude/skills/docs-lookup/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/docs-lookup/
1Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a codex2Manually: put the files in place
.agents/skills/docs-lookup/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a cursor2Manually: put the files in place
.cursor/skills/docs-lookup/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install incluud/astro-agent-skills docs-lookup2Manually: put the files in place
.github/skills/docs-lookup/SKILL.md1Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a gemini-cli2Platform CLI
gemini skills install https://github.com/incluud/astro-agent-skills --path skills/docs-lookupManually: put the files in place
.devin/skills/docs-lookup/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about docs-lookup
How to install docs-lookup in Claude Code?
Run npx skills add incluud/astro-agent-skills --skill docs-lookup -a claude-code in your terminal.
What does docs-lookup do?
It enforces a structured lookup flow through official Astro resources, prioritizing official documentation and MCP tools over community blog posts.
How does the skill handle unverified Astro features?
If the assistant cannot verify behavior in current official documentation, it is instructed to report that openly rather than guess.
Source text
SKILL.md · MIT
--- name: docs-lookup description: Look up official Astro documentation and answer version-sensitive Astro questions accurately. --- # 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.
© incluud · MIT · incluud/astro-agent-skills