Agents grew up, so did our docs
Neon made its docs agent-readable through a build-time MDX-to-Markdown converter (~1,400 files, ~30 custom React components flattened), `.md` URL rewrites, and middleware that serves Markdown based on User-Agent and `Accept: text/markdown`. Each page also gets breadcrumb and related-docs context. A scan of 250+ doc sites found that 53% serve Markdown via `.md`, 41% honor content negotiation, 93% publish llms.txt, and only 9% return content-type-aware 404s. The lessons: serve Markdown from canonical URLs from the start, structure llms.txt hierarchically (~200 entries plus sub-indexes instead of 1,000+ flat links), detect HTTP clients like axios and got as agents, and add agent traffic analytics early.
Related posts
- Auto-generating MCP Servers from OpenAPI Schemas: Yay or Nay?
Neon easyNovice
Auto-generating an MCP server as a 1:1 mapping of an OpenAPI spec works poorly. LLMs struggle to pick among hundreds of similar tools (GitHub's API has over 600 operations), handle complex JSON payloads and optional parameters badly, and resource-centric REST endpoints don't match the task-level workflows agents perform. The recommended hybrid is to use codegen as a starting point, aggressively prune the generated tools, and rewrite descriptions to explain when and why to use each one. Then add higher-level tools that wrap multi-step workflows, while staying cautious about statefulness. Neon built its open-source MCP server this way on top of its TypeScript SDK, including a workflow for running and testing database migrations.
- How AI Assistants Can Decode GitHub Repos for UI Writers
Docker mediumAdeptAn LLM agent can reliably flag user-facing copy changes in a branch when it is given narrow tools and expert hints about what "user-facing" means. GitHub Copilot's repo chat could not even count open PRs. A first prompt that gave the model bash and raw git diff also failed: diffs were huge, important files were buried and extra tools invited hallucination. The working two-step flow first lists only likely UI files (using --files-only and --no-pager with an alpine/git container) and saves the list. It then diffs just those files against main with --no-color --minimal, guided by frontend-engineer hints about JSX text nodes, notifications, toasts and Error constructors. This produced an accurate list of copy changes on a real Docker PR.
- Our Claude Code Cheatsheet
Neon mediumAdept
A Neon engineer's working cheatsheet for Claude Code covers Plan Mode, parallel task agents for multi-lens code review, and context management with /clear, /compact, /context and @file references. It also covers MCP servers (Serena for symbol-level navigation, Context7 for docs, Playwright for UI checks), CLAUDE.md memory files, sub-agents with clean context, custom slash commands in .claude/commands, headless piping (e.g. npm audit into claude -p), session resume/rewind, and cost tracking. The recurring advice is to plan first, define types or schemas before implementation, and keep context lean and explicit.
- Agent Skills in 2026
Neon mediumAdept
Neon is launching neondatabase/agent-skills, a single `using-neon` skill installable via `npx skills add`, built on the Agent Skills spec that originated with Anthropic and became portable across Claude Code, Cursor, VS Code and others once Vercel's `npx skills` CLI solved distribution. Because SKILL.md is always loaded into context, Neon keeps it small and uses progressive discovery: SKILL.md points to reference files, which point to docs pages the agent fetches with curl as Markdown, keeping the docs (indexed via LLMs.txt) as the source of truth and avoiding stale installed skills. Skills act as the reasoning layer while the Neon MCP server provides authenticated capabilities.
- How We Made Our Docs Test Themselves
LangChain mediumAdeptLangChain made its documentation code samples testable by delegating the migration to the Deep Agents CLI using a reusable skill file. The skill instructs the agent to move inline code into standalone files under src/code-samples/{product}, add setup and teardown, lint, mark snippets with :snippet-start:/:snippet-end: tags, run the samples, and generate Mintlify snippet includes via Bluehawk. A GitHub Action then runs the samples regularly and opens tickets when one fails, so stale examples surface in CI rather than with readers.