CLAUDE.md — docs/
This is a Mintlify documentation site for GAIA, served at https://docs.heygaia.io.Key Commands
Structure
docs.json— single source of truth for navigation, theme, SEO, and site config. All new pages must be registered here undernavigation.tabs[].groups[].pagesor they won’t appear in the sidebar.introduction.mdx,quick-start.mdx, etc. — top-level pagesdevelopers/,self-hosting/,bots/,cli/,configuration/— section directoriesknowledge/— large programmatic SEO section (glossary, comparisons, use-cases, etc.). Hundreds of pages; don’t hand-edit en masse.snippets/— reusable MDX snippets (include via<Snippet file="..." />)images/,logo/— static assets
Skills
Always use thecopywriting skill when writing or editing any prose in docs pages. Invoke it via the Skill tool before drafting feature descriptions, explanations, onboarding copy, or any user-facing text. Do not write marketing or explanatory copy ad-hoc.
See the full skill reference table at the bottom of this file.
Writing Docs
Frontmatter (required on every page):<Card>,<CardGroup cols={2}>— feature grids<Steps>,<Step title="...">— numbered how-to steps<Tip>,<Note>,<Warning>— callout blocks<Snippet file="snippets/foo.mdx" />— shared content
docs.json are relative and extensionless (e.g., "developers/introduction" maps to developers/introduction.mdx).
Mintlify Reference
When making component changes or adding new Mintlify components, fetch the official docs: https://www.mintlify.com/docs/llms.txtAvailable Skills
Always invoke these via theSkill tool rather than doing the work ad-hoc:
| Skill | When to use |
|---|---|
mintlify | Configuring navigation in docs.json, adding Mintlify components, setting up API references, fixing build issues |
copywriting | Writing or improving feature descriptions, explanations, or any prose in docs pages |
landing-page-copywriter | Homepage copy (introduction.mdx) or feature landing pages |
seo-geo | Optimizing page titles, descriptions, and meta in docs.json or knowledge/ pages |
Non-obvious Patterns
- Navigation is not auto-discovered. Adding an
.mdxfile does nothing until its path is added todocs.json. Always update both. - The
knowledge/section is programmatic SEO. It has 180+ pages across glossary, comparisons, use-cases, etc. Edits to tone or structure should be done consistently across the group, not one-off. - No build step for content. MDX is rendered by Mintlify’s cloud (or local CLI). There is no compile step to run after editing — just save and the dev server hot-reloads.
- Images go in
images/, referenced as/images/filename.webp. Mintlify serves them as static assets from the project root. docs.jsonuses$schemafor editor autocomplete — keep it present when editing.

