docs-lookup — скилл для Claude Code: что делает и как установить
Ищет ответы в официальной документации Astro с учётом версий фреймворка, адаптеров и коллекций контента.
npx skills add incluud/astro-agent-skills --skill docs-lookup -a claude-codeЧто делает docs-lookup
Скилл направляет агента в официальную документацию Astro при вопросах о синтаксисе, интеграциях, режимах рендеринга или миграциях. Вместо устаревших постов из блогов модель обращается к первоисточникам или инструментам вроде MCP-серверов документации. Ошибки из консоли при этом ищутся прямо в тексте официальных руководств.
Поиск строится по точным терминам: названиям пакетов, адаптеров развёртывания и ключам конфигурации. Если данных по текущей версии нет в документации, скилл запрещает агенту додумывать ответ и обязывает прямо сказать о непроверенном поведении.
В готовом ответе агент даёт краткое решение, минимальный фрагмент кода, ограничения версий и ссылку на страницу Astro. Без доступа к специализированному MCP поиск переключается на прямой запрос к официальному сайту документации.
Какие задачи решает
- проверить схему content collections под актуальную версию Astro
- настроить адаптер развёртывания вроде Netlify без устаревших параметров
- найти причину ошибки сборки по тексту из консоли в официальных гайдах
- разобрать миграцию проекта при мажорном обновлении фреймворка
Примеры запросов агенту
- Как настроить схему коллекций контента в Astro для блога?
- Покажи конфигурацию Netlify adapter в Astro для серверного рендеринга.
- Почему падает сборка Astro с ошибкой Invalid content collection?
Как установить docs-lookup
1Через Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a claude-code2Вручную: положить файлы
~/.claude/skills/docs-lookup/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/docs-lookup/
1Через Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a codex2Вручную: положить файлы
.agents/skills/docs-lookup/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a cursor2Вручную: положить файлы
.cursor/skills/docs-lookup/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install incluud/astro-agent-skills docs-lookup2Вручную: положить файлы
.github/skills/docs-lookup/SKILL.md1Через Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a gemini-cli2Командой платформы
gemini skills install https://github.com/incluud/astro-agent-skills --path skills/docs-lookupВручную: положить файлы
.devin/skills/docs-lookup/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add incluud/astro-agent-skills --skill docs-lookup -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о docs-lookup
Как установить docs-lookup в Claude Code?
Выполните команду npx skills add incluud/astro-agent-skills --skill docs-lookup -a claude-code в терминале.
Что делает docs-lookup?
Он задаёт агенту чёткий порядок поиска по официальной документации Astro, помогая отвечать на вопросы о конфигурации, адаптерах и миграциях без устаревших примеров.
Что делает агент, если информации нет в официальных руководствах?
Скилл запрещает строить догадки: если текущее поведение невозможно подтвердить по официальным источникам, агент обязан явно сообщить об этом.
Исходный текст
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