Skip to content
AI-Ready Docs
/llms.txt/llms-mcp.txt

AI-Ready Documentation (/llms.txt) ​

BaroCSS CAD documentation is structured for both human engineers and AI coding agents (Claude Code, Cursor, Windsurf, Codex, and custom MCP clients). Every public page ships a one-click Copy for AI toolbar, and deterministic LLM context files are generated automatically from the live workspace sources.

Machine-readable endpoints ​

EndpointPurposeBest used for
/llms.txtCompact documentation router & package mapInitial agent discovery and low-token routing
/llms-sdk.txtTypeScript & React CAD SDK index + verified sample codeWriting @barocss/cad, cad-model, cad-react/sdk, gpu, and viewer code
/llms-mcp.txtComplete 132-action MCP tool contract & autonomy/refusal guideDirecting cad-mcp, cad-cli, or Browser WebMCP agents
/llms-full.txtFull consolidated Markdown documentation corpusLong-context reasoning across Studio, kernel, and verification contracts

All four files are generated deterministically by apps/library-docs/scripts/generate-llms.mjs and verified in CI by pnpm --filter @barocss/library-docs check:docs.

Connect your coding agent in 1 command ​

Register the local CAD MCP server (132 modeling, drawing, DFM & robot actions) in one command:

claude mcp add barocss-cad -- node apps/cad-studio/scripts/cad-mcp.mjs --doc ./part.bcad

Using the Copy-for-AI toolbar ​

Every documentation page includes an AI-Ready Docs bar above the article title:

  • Copy Page: Copies the page title, canonical URL, and clean text to your clipboard.
  • Copy for AI: Wraps the page content in an agent-ready instruction header referencing exact APIs and refusal contracts.
  • /llms.txt & /llms-mcp.txt: Direct links to raw text indexes suitable for @url mentions in Cursor, Claude Code, or automated retrieval pipelines.