stripe-docs — скилл для Claude Code: поиск документации
Ищет документацию Stripe и справочник API через терминал. Нужен, когда агенту надо открыть страницу, найти термин или проверить API-метод.
npx skills add stripe/ai --skill stripe-docs -a claude-codeЧто делает stripe-docs
Скилл направляет запросы к документации и справочнику API Stripe через stripe docs, а не через curl или WebFetch. Он открывает страницу по веб-пути, ищет материалы по ключевым словам и находит справку по ресурсу, HTTP-методу с путём или типу события.
Команда автоматически получает Markdown. Для закрытых материалов нужен вход через stripe login; CLI ниже v1.50.9 их не откроет. Это повод проверить версию перед запросом.
Скилл рассчитан на работу агента из терминала. Он использует команды stripe docs, stripe login и stripe version.
Какие задачи решает
- открыть страницу документации по веб-пути
- найти материалы Stripe по ключевому слову
- проверить API-ресурс или HTTP-метод
- получить справку по типу события
- прочитать закрытую документацию после входа
Примеры запросов агенту
- Открой документацию Stripe по пути
/payments. - Найди в документации Stripe сведения о Payment Intents.
- Проверь справочник API для
GET /v1/products.
Как установить stripe-docs
1Через Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a claude-code2Вручную: положить файлы
~/.claude/skills/stripe-docs/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/stripe-docs/
1Через Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a codex2Вручную: положить файлы
.agents/skills/stripe-docs/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a cursor2Вручную: положить файлы
.cursor/skills/stripe-docs/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install stripe/ai stripe-docs2Вручную: положить файлы
.github/skills/stripe-docs/SKILL.md1Через Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a gemini-cli2Командой платформы
gemini skills install https://github.com/stripe/ai --path skills/stripe-docsВручную: положить файлы
.devin/skills/stripe-docs/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add stripe/ai --skill stripe-docs -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о stripe-docs
Как установить stripe-docs в Claude Code?
Выполните npx skills add stripe/ai --skill stripe-docs -a claude-code, затем повторите npx skills add stripe/ai --skill stripe-docs -a claude-code. Скилл находится в ~/.claude/skills/stripe-docs/SKILL.md.
Что делает stripe-docs?
Скилл читает и ищет документацию Stripe через stripe docs. Он также позволяет находить записи справочника API по ресурсу, пути HTTP-метода и типу события.
Что нужно для доступа к закрытой документации Stripe?
Нужно войти через stripe login и использовать актуальную версию Stripe CLI. Версия ниже v1.50.9 не даёт доступ к закрытым материалам.
Исходный текст
SKILL.md · MIT
--- name: stripe-docs description: >- Use when the user or agent needs to read, search, or look up Stripe documentation or API reference. Prefer this over curl or WebFetch for any docs.stripe.com content. Use to fetch gated documentation. metadata: short-description: Read and search Stripe documentation from the terminal allowed-tools: - Bash(stripe docs *) - Bash(stripe login) - Bash(stripe version) --- Use `stripe docs` instead of fetching [docs.stripe.com](https://docs.stripe.com/.md) content directly with `curl` or `WebFetch`. If you don’t have the CLI installed, [install the Stripe CLI](https://docs.stripe.com/cli/install). Always use the latest CLI version. If the current CLI version is less than v1.50.9, you must [upgrade](https://docs.stripe.com/cli/install) to access gated documentation. - Fetches Markdown automatically - Fetches gated documentation. Users must log in using `stripe login` to access gated documentation. - Purpose-built for agents and terminal workflows ## Read a page by its web path ```bash stripe docs /payments ``` ## Search documentation by keyword ```bash stripe docs search "payment intents" ``` ## Look up API reference ```bash # By resource name stripe docs api product # By HTTP method and path stripe docs api GET /v1/products # By event type stripe docs api product.created ```
© stripe · MIT · stripe/ai