К основному содержанию
скилл CX Codex

adk-docs — скилл для Claude Code: документация ADK-ботов

Скилл ведёт агента по созданию, проверке и обновлению документации ADK-проектов: шаблоны, стандарты и поиск по вашим докам.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add botpress/skills --skill adk-docs -a claude-code
Открыть на GitHub

Что делает adk-docs

Скилл включается, когда вы просите задокументировать бота, проверить старые доки на актуальность или найти описание обработчика платежей. Внутри пять слэш-команд с общим пространством имён /adk-document: create, review, update, sync и search. Плюс справочник references/doc-standards.md с типами документов, шаблонами и чек-листами качества.

Примеры кода скилл берёт из вашего проекта и официального репозитория ADK, а не придумывает. Сначала он ищет agent.config.ts в рабочей папке, потом использование @botpress/runtime, потом примеры из репозитория. Каждый пример должен проверяться по файлу и номеру строки. Разделы вроде «Common Mistakes» или «Best Practices» без вашего явного запроса он не добавляет, а пометки ❌ WRONG и ✅ CORRECT ставит только для реально зафиксированных ошибок.

Документация пишется в ваш проект, типичные места — ./docs/, ./guides/ или корень. Если непонятно, куда сохранять, скилл спросит. Для контекста по ADK он подгружает скилл adk, а для тестов и фронтенда — adk-evals и adk-frontend. Без установленного скилла adk часть объяснений про примитивы придётся давать вручную.

Какие задачи решает

  • создать гайд по своему workflow заказа
  • проверить, не устарели ли доки после рефакторинга
  • найти в проекте описание обработчика платежей
  • сверить документацию с текущим кодом бота
  • обновить раздел после смены чекаут-флоу

Примеры запросов агенту

  • /adk-document create мой workflow заказов
  • /adk-document sync ./docs/checkout.md
  • /adk-document search payment handler

Как установить adk-docs

1Через Skills CLI (Vercel)

npx skills add botpress/skills --skill adk-docs -a claude-code

2Вручную: положить файлы

~/.claude/skills/adk-docs/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/adk-docs/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о adk-docs

Как установить adk-docs в Claude?

Выполните npx skills add botpress/skills --skill adk-docs -a claude-code. Скилл появится в ~/.claude/skills/adk-docs/SKILL.md.

Что делает adk-docs?

Помогает писать, проверять, обновлять и искать документацию ADK-проектов. Работает через команды /adk-document и справочник стандартов.

Какие команды даёт скилл?

/adk-document create [topic], review [doc-path], update [doc-path] [what-changed], sync [optional-doc-path] и search [search-term].

Исходный текст

SKILL.md · MIT
---
name: adk-docs
description: guidelines for creating, reviewing, updating, and searching ADK documentation - use when users ask about writing, maintaining, or auditing ADK bot docs
license: MIT
---

# ADK Documentation Management

Use this skill when helping users create, review, update, or maintain documentation for their ADK projects. Users write guides and docs for their own bots and features — code examples should come from their project and the official ADK repo.

## When to Use This Skill

Activate this skill when users:

- Want to create documentation for their bot ("Document my order workflow", "Write a guide for my custom actions")
- Need to review existing project docs for accuracy ("Check if my docs are still correct")
- Want to update docs after changing their bot ("I refactored the checkout flow, update the docs")
- Need to check if docs are in sync with their code ("Are my docs current?")
- Want to search their project documentation ("Find docs about my payment handler")
- Ask about documentation standards or templates
- Mention `/adk-document`

## Available Documentation

| File                                                         | Description                                                       |
| ------------------------------------------------------------ | ----------------------------------------------------------------- |
| [references/doc-standards.md](./references/doc-standards.md) | Document types, templates, quality checklists, and health metrics |

## Available Commands

| Command (and suggested subcommand)               | Description                                           |
| ------------------------------------------------ | ----------------------------------------------------- |
| `/adk-document create [topic]`                   | Create documentation for a feature in the user's bot  |
| `/adk-document review [doc-path]`                | Review project docs for accuracy and completeness     |
| `/adk-document update [doc-path] [what-changed]` | Update project docs after code changes                |
| `/adk-document sync [optional-doc-path]`         | Check if project docs are in sync with the bot's code |
| `/adk-document search [search-term]`             | Search project documentation for specific topics      |

## Shared Principles

### 1. AI-Optimized Structure

- Clear section headers (`##`, `###`, `####`) so ripgrep can find sections
- Table of contents at top with anchor links
- Right-sized for document type (see doc-standards reference)
- Keyword-rich section names — no vague "Advanced Topics" or "Other"

### 2. Code-First Approach

- Every concept needs a working code example from actual project code
- Include file paths with line numbers for verification
- Primary sources for examples (in priority order):
  1. The user's own ADK project (look for `agent.config.ts` in the workspace) — BEST
  2. The official ADK repo examples (clone or find locally)
  3. ADK runtime usage (`@botpress/runtime` packages)
- Never invent or speculate examples — all code must be verifiable

### 3. Critical Distinctions

- ADK primitives (from `@botpress/runtime`) vs Botpress SDK primitives
- `this.send()` in conversations vs `client.createMessage()` in workflows
- Messages (persistent, stored) vs Events (ephemeral, not stored)
- Agnostic APIs vs channel-specific features

### 4. No Speculation

- Do NOT add Common Mistakes or Best Practices sections unless the user explicitly provides them
- Use `❌ WRONG` / `✅ CORRECT` only when documenting actual reported errors
- Workflows and examples must be verified from actual code, not imagined

### 5. Writing Style

- **Direct and actionable** — "Use `this.send()`" not "You might want to consider..."
- **Technically accurate** — test examples against actual ADK code
- **Assumes intelligence** — provide context and guidance, not hand-holding
- **No marketing fluff** — straight to the technical substance

## How to Answer

When a user asks about documentation without invoking a specific command:

1. **Load the `adk` skill (& more, if needed)** for ADK context and knowledge
2. **Identify what they need** — creating, reviewing, updating, syncing, or searching
3. **Point them to the right command** or help directly using the principles above
4. **Reference doc-standards** for template and quality guidance

## Documentation Location

Documentation is written in the user's own project. Ask the user where they want docs saved if not obvious (common locations: `./docs/`, `./guides/`, or project root).

## Discovering Code Sources

Discover the user's project and the official ADK repo for examples:

```javascript
// Find ADK projects in the workspace
Glob({ pattern: '**/agent.config.ts' })

// Find ADK runtime usage in the user's project
Grep({ pattern: 'from [\'"]@botpress/runtime', output_mode: 'files_with_matches' })

// Look for existing project documentation
Glob({ pattern: './{docs,guides}/**/*.md' })

// Find official ADK examples if available locally
Glob({ pattern: '**/adk/examples/**/*.ts' })
```

## Cross-References

- **`adk` skill** — Core ADK knowledge (actions, workflows, conversations, etc.)
- **`adk-evals` skill** — Testing and eval documentation
- **`adk-frontend` skill** — Frontend integration documentation
- **`adk` skill `integrations.md` reference** — Integration lifecycle documentation

© botpress · MIT · botpress/skills

Похожие скиллы

Всё по теме «Тексты и документация» →
google-agents-cli-adk-code официальный Google Справочник по API Agent Development Kit: типы агентов, инструменты, колбэки, состояние и графовый Workflow API. Пригодится, когда пишете код агента, а не разворачиваете проект. CX Codex +1 512 800установок tailwind-4-docs Lombiq Скилл подтягивает локальный снимок документации Tailwind CSS v4 и помогает агенту отвечать по утилитам, конфигу и миграции с v3. CX Codex +1 17 600установок coding-agent-docs-optimization Samuel Berthe Готовит документацию SDK, API или протокола так, чтобы кодинг-агент собрал интеграцию с первого раза и без человека рядом. CX Codex +1 10 300установок docs-code-sample-standards Samuel Berthe Скилл задаёт правила для примеров кода в документации и проверяет уже опубликованные сниппеты по этим правилам, выдавая очередь правок. CX Codex +1 10 300установок platform-docs-get forcedotcom Тянет официальную документацию Salesforce и заставляет агента отвечать по ней, а не по чужим блогам. Полезен, когда страницы рендерятся через JS и обычный fetch возвращает пустую оболочку. CX Codex +1 6 500установок openai-docs официальный openai Скилл ищет актуальные материалы OpenAI и помогает отвечать по API, Codex, моделям и обновлению промптов с опорой на официальную документацию. CX Codex +1 6 100установок

Из того же набора3

Спонсоры проекта

Компании, которые помогают держать аналитику открытой