Write or update documentation for the Inkeep docs site (agents-docs package). Use when: creating new docs, modifying existing docs, introducing features that need documentation, touching MDX files in agents-docs/content/. Triggers on: docs, documentation, MDX, agents-docs, write docs, update docs, add page, new tutorial, API reference, integration guide.
Create clear, consistent documentation for the Inkeep docs site following established patterns and structure.
agents-docs/content/, snippets, or public-facing READMEs or reference artifacts (like .env.example files)AGENTS.md, .agents/skills/, .agents/rules/, CONTRIBUTING.md, .github/workflows/)Every feature must be documented fully across all surfaces: how it's used, interacted with, depended on, or perceived by end-users. Documentation is the audited source of truth for the product.
title and optional fields like sidebarTitle, description, keywords (see Step 2)<Steps>, <Tabs>, <Cards>, callouts as needed (see Step 4)meta.json if needed; add redirects for moves/renames (see File Organization)Before writing anything, map out which surface areas the change touches. Review the engineering or product changes (staged files, PR diff, or task description) and ask:
agents-docs/content/ for pages that reference the affected feature; these may need updatesIf a change touches multiple surface areas, create or update a doc for each. Don't bundle unrelated surfaces into one page unless it's a natural fit with the existing document or similar analogous docs.
| Pattern | When to use | Focus | Title style |
|---|---|---|---|
| Overview | Conceptual explanation ("what is X?") | Mental models, "why", terminology, key definitions, relationships | Noun |
| Reference | New SDK feature, API, or configuration options | Exhaustive, scannable, precise specs | Noun |
| Tutorial | Step-by-step instructions to accomplish something | Goal-oriented, sequential, minimal tangents | Verb |
| Integration | Connecting a third-party service | Installation-focused, platform-aware | Verb |
Every .mdx file must have frontmatter with at least a title.
---