LLM-ready Docs
Working with AI tools requires high-quality context. DatoCMS addresses this by providing documentation in formats optimized for AI consumption, allowing assistants like Claude, ChatGPT, Cursor, and NotebookLM to deliver accurate, context-aware responses about DatoCMS features and APIs.
DatoCMS offers three complementary approaches to accessing documentation for AI tools:
Complete documentation (llms-full.txt)
The complete DatoCMS documentation compiled into a single, perfectly formatted Markdown file. This includes all 500+ pages of content: API references, guides, migrations, plugins, Content Management API (CMA), Content Delivery API (CDA), and more.
Access:
What makes it effective:
Clean Markdown with properly formatted code blocks
Logical structure maintained across all pages
Complete context spanning the entire documentation
Automatically regenerated with every docs update
No navigation menus, JavaScript, or extraneous content
Use cases:
Building complex features that require understanding multiple DatoCMS concepts
Content migration projects
Team onboarding and training
Creating custom AI assistants with comprehensive DatoCMS knowledge
Documentation index (llms.txt)
A structured index of DatoCMS documentation following the llms.txt standard. Provides an overview of available documentation without the full content.
Access:
Use cases:
Quick reference for documentation structure
Discovering available topics and guides
Navigation for AI tools that support llms.txt format
Single-page Markdown export
Every documentation and blog page includes a "Copy page" dropdown that provides content in AI-friendly formats. This enables quick extraction of specific pages without dealing with HTML formatting issues or web scraping complications.
Access methods:
Copy as Markdown: Click the "Copy page" dropdown on any docs or blog page
Direct URL conversion: Append
.mdto any page URL to retrieve its Markdown version
Example:
https://www.datocms.com/docs/content-management-api.mdUse cases:
Troubleshooting specific integrations
Exploring particular API methods
Learning about individual DatoCMS features
Providing focused context to AI assistants for targeted questions
Integrations
Claude Projects
Claude Projects allow you to attach custom knowledge to Claude conversations. This is particularly effective with llms-full.txt for comprehensive DatoCMS expertise.
Setup:
Navigate to claude.ai and create a new Project
Download
llms-full.txtfrom https://www.datocms.com/docs/llms-full.txtUpload the file to your Project
Add custom instructions (see reference instructions)
Name your Project (e.g., "DatoCMS Docs")
Capabilities:
Ask migration questions and receive step-by-step instructions
Request working TypeScript scripts for content operations
Plan complex content model migrations with full DatoCMS context
Get accurate answers across all conversations in the Project
Custom GPTs
Build a ChatGPT assistant specialized in DatoCMS using the complete documentation as its knowledge base.
Setup:
Go to ChatGPT GPT Builder
Click "Create a GPT"
Download
llms-full.txtfrom https://www.datocms.com/docs/llms-full.txtIn the Knowledge section, upload the downloaded file
Add instructions such as: "You are a DatoCMS expert. Answer questions using only the provided documentation. Include code examples when relevant." (see reference instructions)
Reference implementation:
Check the official DatoCMS Expert GPT to see a working example.
NotebookLM
Google's NotebookLM excels at deep research and learning across large documentation sets.
Setup:
Create a new notebook in NotebookLM
Add a source → paste
https://www.datocms.com/docs/llms-full.txtAllow processing to complete (~30 seconds)
Capabilities:
Compare different DatoCMS features and APIs
Generate study guides for learning specific topics
Search across the entire documentation for related concepts
Understand relationships between different parts of the system
Use cases:
Onboarding new team members
Exploring unfamiliar features
Research before implementing complex features
Cursor
Cursor is an AI-powered code editor that benefits from documentation context while coding.
Setup:
Open Cursor and type
@DocsSelect "Add new doc"
Paste:
https://www.datocms.com/docs/llms-full.txt
Important: Always type the @ symbol manually in the chat interface. Copy-pasting breaks the context reference.
Capabilities:
Generate Next.js pages that fetch DatoCMS content
Add pagination, filtering, or sorting to GraphQL queries
Debug queries with full knowledge of available fields and filters
Write TypeScript scripts that interact with the Content Management API
Windsurf
Windsurf is another AI coding assistant that supports custom documentation sources.
Setup:
Open settings → Documentation
Add new documentation source
Enter the URL:
https://www.datocms.com/docs/llms-full.txt
Important: Always type the @ symbol manually in the chat interface. Copy-pasting breaks the context reference.
Capabilities:
Same as Cursor: context-aware code generation for DatoCMS integrations
API-aware debugging and query construction
Other AI tools
Most AI assistants that accept file uploads or URL references can use llms-full.txt:
File upload tools: Download the file and upload directly
URL-based tools: Reference
https://www.datocms.com/docs/llms-full.txtChat interfaces: Copy and paste relevant sections as needed
Best practices
Choosing the right format
Use single-page Markdown export when:
You need information about a specific feature or API method
Working on a focused task that doesn't require broader context
You want to minimize token usage in your AI assistant
Troubleshooting a specific error or implementation detail
Use llms-full.txt when:
Building complex features that span multiple DatoCMS concepts
Planning migrations or major content model changes
Creating a persistent AI assistant with comprehensive DatoCMS knowledge
Team members need to learn DatoCMS from scratch
Working on projects where understanding the full system architecture matters
Effective prompting
Provide clear, specific prompts that take advantage of the documentation context:
Good examples:
"Using the Content Management API, write a script to bulk-update all blog posts to add a new field"
"How do I migrate content from WordPress to DatoCMS while preserving relationships between posts and categories?"
"Create a Next.js component that fetches localized content and handles fallbacks according to DatoCMS best practices"
Less effective examples:
"How do I update posts?" (too vague)
"Write me a migration script" (missing context about source and requirements)
"Make a component" (no details about what it should do)
Iterative refinement
AI assistants work best with iterative feedback:
Start with a clear initial request
Review the generated code or answer
Provide specific feedback on what needs adjustment
Request modifications: "Add error handling" or "Include image optimization"
Most tasks succeed on the first attempt, with occasional minor refinements needed through follow-up prompts.
Token consumption considerations
The impact of using complete documentation (llms-full.txt) varies significantly depending on how your AI tool handles knowledge bases.
Tools with intelligent retrieval (Claude Projects, Custom GPTs, NotebookLM):
These systems don't load all 500+ pages into every conversation. Instead, they index the documentation and query only relevant sections as needed, retrieving context on-demand based on your questions. Token consumption is not a concern - the system automatically manages what context to include.
Tools without intelligent retrieval (direct chat interfaces, some coding assistants):
If you paste the full documentation directly into a chat or use tools that load entire files into context, you may encounter higher token usage per request and potential context window limits. However, the comprehensive context dramatically reduces incorrect or incomplete responses.
Use Claude Projects or Custom GPTs for the best balance of comprehensive knowledge and efficient token usage. If your AI tool doesn't offer built-in intelligent retrieval but you need the full documentation, consider implementing RAG (Retrieval-Augmented Generation).
For tools that don't intelligently manage large knowledge bases, use single-page exports (.md URLs) instead. For most practical tasks with the right tools, comprehensive documentation provides better results with acceptable cost.
Limitations
Markdown conversion quality: Quality may vary across different pages when using
.mdURL conversionDocumentation updates: While
llms-full.txtregenerates automatically, there may be a brief delay after documentation changesAI model capabilities: Results depend on the underlying AI model's capabilities and training
Context windows: Some AI tools have limits on how much documentation they can process at once