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
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):
- The user's own ADK project (look for
agent.config.ts in the workspace) — BEST
- The official ADK repo examples (clone or find locally)
- 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:
- Load the
adk skill (& more, if needed) for ADK context and knowledge
- Identify what they need — creating, reviewing, updating, syncing, or searching
- Point them to the right command or help directly using the principles above
- 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:
// 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-integrations skill — Integration lifecycle documentation
1---2name: adk-docs3description: guidelines for creating, reviewing, updating, and searching ADK documentation - use when users ask about writing, maintaining, or auditing ADK bot docs4license: MIT5---67# ADK Documentation Management89Use 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.1011## When to Use This Skill1213Activate this skill when users:1415- Want to create documentation for their bot ("Document my order workflow", "Write a guide for my custom actions")16- Need to review existing project docs for accuracy ("Check if my docs are still correct")17- Want to update docs after changing their bot ("I refactored the checkout flow, update the docs")18- Need to check if docs are in sync with their code ("Are my docs current?")19- Want to search their project documentation ("Find docs about my payment handler")20- Ask about documentation standards or templates21- Mention `/adk-document`2223## Available Documentation2425| File | Description |26|------|-------------|27| [references/doc-standards.md](./references/doc-standards.md) | Document types, templates, quality checklists, and health metrics |2829## Available Commands3031| Command (and suggested subcommand) | Description |32|---------|-------------|33| `/adk-document create [topic]` | Create documentation for a feature in the user's bot |34| `/adk-document review [doc-path]` | Review project docs for accuracy and completeness |35| `/adk-document update [doc-path] [what-changed]` | Update project docs after code changes |36| `/adk-document sync [optional-doc-path]` | Check if project docs are in sync with the bot's code |37| `/adk-document search [search-term]` | Search project documentation for specific topics |3839## Shared Principles4041### 1. AI-Optimized Structure4243- Clear section headers (`##`, `###`, `####`) so ripgrep can find sections44- Table of contents at top with anchor links45- Right-sized for document type (see doc-standards reference)46- Keyword-rich section names — no vague "Advanced Topics" or "Other"4748### 2. Code-First Approach4950- Every concept needs a working code example from actual project code51- Include file paths with line numbers for verification52- Primary sources for examples (in priority order):53 1. The user's own ADK project (look for `agent.config.ts` in the workspace) — BEST54 2. The official ADK repo examples (clone or find locally)55 3. ADK runtime usage (`@botpress/runtime` packages)56- Never invent or speculate examples — all code must be verifiable5758### 3. Critical Distinctions5960- ADK primitives (from `@botpress/runtime`) vs Botpress SDK primitives61- `this.send()` in conversations vs `client.createMessage()` in workflows62- Messages (persistent, stored) vs Events (ephemeral, not stored)63- Agnostic APIs vs channel-specific features6465### 4. No Speculation6667- Do NOT add Common Mistakes or Best Practices sections unless the user explicitly provides them68- Use `❌ WRONG` / `✅ CORRECT` only when documenting actual reported errors69- Workflows and examples must be verified from actual code, not imagined7071### 5. Writing Style7273- **Direct and actionable** — "Use `this.send()`" not "You might want to consider..."74- **Technically accurate** — test examples against actual ADK code75- **Assumes intelligence** — provide context and guidance, not hand-holding76- **No marketing fluff** — straight to the technical substance7778## How to Answer7980When a user asks about documentation without invoking a specific command:81821. **Load the `adk` skill (& more, if needed)** for ADK context and knowledge832. **Identify what they need** — creating, reviewing, updating, syncing, or searching843. **Point them to the right command** or help directly using the principles above854. **Reference doc-standards** for template and quality guidance8687## Documentation Location8889Documentation 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).9091## Discovering Code Sources9293Discover the user's project and the official ADK repo for examples:9495```javascript96// Find ADK projects in the workspace97Glob({ pattern: "**/agent.config.ts" })9899// Find ADK runtime usage in the user's project100Grep({ pattern: "from ['\"]@botpress/runtime", output_mode: "files_with_matches" })101102// Look for existing project documentation103Glob({ pattern: "./{docs,guides}/**/*.md" })104105// Find official ADK examples if available locally106Glob({ pattern: "**/adk/examples/**/*.ts" })107```108109## Cross-References110111- **`adk` skill** — Core ADK knowledge (actions, workflows, conversations, etc.)112- **`adk-evals` skill** — Testing and eval documentation113- **`adk-frontend` skill** — Frontend integration documentation114- **`adk-integrations` skill** — Integration lifecycle documentation