Writing llms.txt & llms-full.txt for B2B SaaS & Developer Docs
High-performing B2B SaaS and API-first companies such as Stripe, Cloudflare, Anthropic, Mintlify-hosted startups, and modern FinTech platforms now publish two complementary Markdown endpoints: /llms.txt for executive buyer discovery in ChatGPT Search and Perplexity, and /llms-full.txt for deep technical ingestion by AI coding assistants like Cursor, Claude Code, Windsurf, and GitHub Copilot.
Two distinct AI buyer personas: Executive evaluators vs. AI coding agents
In modern B2B software procurement, language models influence both halves of the deal cycle. First, VPs of Engineering, CTOs, RevOps leaders, and security buyers prompt ChatGPT Search, Perplexity, and Claude to shortlist vendors ('Which SOC 2 Type II webhook gateway supports EU data residency and usage-based billing under $500/mo?'). During that live web retrieval phase, crawlers operate under tight millisecond latency and token caps — making a concise 3 KB to 8 KB /llms.txt index the ideal executive entry point.
Second, once a developer starts a proof-of-concept trial inside Cursor, Claude Code, or Windsurf, they paste @Docs https://docs.yourcompany.com/llms-full.txt (or let their coding agent fetch your documentation corpus) to generate working SDK integration code. If your company lacks clean Markdown documentation endpoints, coding agents fall back to outdated pre-training weights from 18 months ago — hallucinating deprecated v1 REST endpoints, broken auth headers, and removed npm packages that cause developers to abandon your trial in frustration.
Architectural blueprint: /llms.txt vs. /llms-full.txt vs. .md URL mirrors
Follow the canonical llmstxt.org specification rigorously so automated parsers never choke on custom formatting. Your root https://yourdomain.com/llms.txt MUST start with a single H1 (# Brand / Product Name), followed immediately by a Markdown blockquote (> One-sentence factual summary of core capability, ICP, and compliance posture), optional concise body notes without headings, and structured H2 sections (## Product & Pricing, ## Developer Documentation, ## Security & Compliance, ## Optional) containing standard Markdown list links with one-line descriptions.
Meanwhile, /llms-full.txt expands your core technical documentation — quickstarts, authentication, SDK reference, webhook verification, rate limits, error codes, and pricing quotas — into a single clean, concatenated UTF-8 Markdown file stripped of JSX navigation chrome, cookie banners, and interactive tab clutter. Link directly to https://yourdomain.com/llms-full.txt (or https://docs.yourdomain.com/llms-full.txt) near the top of your root /llms.txt.
# VaultStream API — Enterprise Event & Webhook Infrastructure
> SOC 2 Type II & HIPAA-ready webhook delivery, replay, and schema validation platform for B2B SaaS engineering teams (US & EU regions).
Complete single-file developer documentation for Cursor, Claude Code & Windsurf: https://vaultstream.example.com/llms-full.txt
## Core Platform & Commercial Tiers
- [Platform Overview](https://vaultstream.example.com/product): Sub-50ms edge ingestion, automatic exponential retries & dead-letter queues.
- [Transparent Pricing](https://vaultstream.example.com/pricing): Free tier (100k events/mo), Pro ($99/mo), Enterprise custom SLA.
- [Security & Trust Center](https://vaultstream.example.com/security): SOC 2 Type II, ISO 27001, GDPR DPA, HSTS & EU Frankfurt residency.
## Developer Quickstarts & API Reference
- [5-Minute Node/Python Quickstart](https://vaultstream.example.com/docs/quickstart.md): Install SDK, sign HMAC-SHA256 payloads & verify webhooks.
- [OpenAPI 3.1 Specification](https://vaultstream.example.com/openapi.json): Machine-readable REST endpoints, schemas & error codes.
## Optional
- [Changelog & Migrations](https://vaultstream.example.com/changelog): v3 SDK release notes and legacy v2 deprecation timeline.
Scan Your Website Live for /llms.txt, AI Crawlers, JSON-LD & ADA/GDPR
Enter any Shopify, WordPress, Webflow, SaaS, clinic, or corporate URL below to run a free live audit — then unlock custom pre-built llms.txt, robots.txt, Schema.org JSON-LD + printable 8-Point Compliance PDF for $19.00 USD one-time (Cakto Global USD • No Subscription).
Automating MDX-to-Markdown builds in Nextra, Docusaurus, Astro & Mintlify
If your engineering docs live in Git as MDX files (Docusaurus, Nextra, Astro Starlight, Fumadocs, or custom Next.js), add a 30-line post-build step to your GitHub Actions or Vercel build pipeline. Iterate through your ordered sidebar manifest, strip YAML frontmatter except title and canonical URL, convert custom JSX callouts (<Callout type="warning">) into standard Markdown blockquotes (> **Warning:** ...), keep fenced code blocks with explicit language tags (```typescript, ```python, ```bash), and write the concatenated output to public/llms-full.txt.
Keep /llms-full.txt focused and under ~150,000–250,000 tokens (roughly 400 KB to 800 KB of UTF-8 text) so it fits comfortably inside modern 200k–1M context windows without drowning out high-frequency quickstart patterns with obscure legacy v0 changelogs. Place secondary historical archives inside the ## Optional H2 section of /llms.txt, which spec-compliant RAG ingestors skip when operating under tight token budgets.
Aligning SaaS Security Headers, SOC 2 Trust Signals & SoftwareApplication Schema
B2B SaaS buyers never evaluate documentation in a vacuum. Enterprise procurement bots and automated vendor-risk tools simultaneously inspect your marketing and docs domains for Strict-Transport-Security (HSTS), Content-Security-Policy, X-Content-Type-Options: nosniff, GDPR/CCPA privacy governance, WCAG 2.2 AA accessibility (required for US VPAT / Section 508 and EU EAA contracts!), and connected SoftwareApplication JSON-LD.
Ensure neither Vercel Firewall nor Cloudflare Bot Fight Mode blocks OAI-SearchBot, ChatGPT-User, PerplexityBot, or Claude-SearchBot on your primary domain or docs.* subdomain, and declare CORS Access-Control-Allow-Origin: * plus Content-Type: text/markdown; charset=utf-8 on /llms.txt and /llms-full.txt.
Benchmark your SaaS domain's AI Search & Security readiness in 5 seconds
Run your primary SaaS marketing domain or docs subdomain through our live scanner at /en/. In five seconds, verify whether /llms.txt is reachable with HTTP 200, whether AI search crawlers are allowed in /robots.txt, whether Organization + SoftwareApplication/WebSite JSON-LD validates, and whether HSTS and WCAG baseline checks pass.
Ship your baseline GEO & compliance stack today: unlock custom-generated llms.txt, AI-ready robots.txt, Schema.org JSON-LD tailored to your live SaaS metadata, and a printable 8-point ADA/GDPR/Security PDF report for $19.00 USD one-time via Cakto Global USD.
Technical Reference & Compliance Matrix
| Technical Endpoint | Recommended Payload | Primary AI Consumer | Revenue / Adoption Impact |
|---|---|---|---|
| /llms.txt | 2 KB – 10 KB Markdown | ChatGPT Search, Perplexity, Claude Search | Wins executive vendor shortlist & accurate pricing citations |
| /llms-full.txt | 50 KB – 600 KB Markdown | Cursor, Claude Code, Windsurf, Copilot | Eliminates SDK hallucinations during developer POCs |
| /docs/*.html.md | Per-page clean Markdown | Agentic doc browsers & RAG chunkers | Zero-noise page retrieval without DOM/JS hydration overhead |
| /openapi.json | OpenAPI 3.1 JSON/YAML | AI function-calling & SDK generators | Deterministic parameter types, auth headers & status codes |
| Head @graph JSON-LD | 2 KB – 6 KB JSON-LD | Google AI Overviews, Bing, Entity Graphs | Verifies legal entity, SOC2/category, USD tiers & sameAs |
Primary specification references: Schema.org Structured Data • W3C WCAG 2.2 Recommendation • llmstxt.org Specification.
Get All 3 Custom Files Pre-Built for Your Domain + Printable ADA/GDPR PDF
Run our free live scanner at /en/ to detect exact gaps, then unlock ready-to-upload llms.txt, AI-friendly robots.txt, validated Schema.org JSON-LD, and an executive 8-point PDF report in one click via Cakto Global USD ($19.00 one-time) — or grab our free printable 18-point PDF checklist.
Frequently Asked Questions
Deploy /llms.txt on BOTH! Put your commercial product, pricing, trust-center, and docs overview at https://company.com/llms.txt (linking out to docs.company.com/llms-full.txt), and host developer-focused routing at https://docs.company.com/llms.txt.
Serve both files as text/markdown; charset=utf-8 or text/plain; charset=utf-8 with HTTP 200 OK, Cache-Control: public, max-age=3600, and zero login or CAPTCHA interstitials.
Under the official llms.txt specification, automated RAG tools with tight context limits are instructed that URLs under the exact H2 heading '## Optional' may be skipped when building compact context.
Yes — scan your SaaS domain at /en/ in 5 seconds and unlock all three custom-generated files plus a printable compliance scorecard for $19.00 USD one-time.