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
| Endpoint | Purpose | Best used for |
|---|---|---|
/llms.txt | Compact documentation router & package map | Initial agent discovery and low-token routing |
/llms-sdk.txt | TypeScript & React CAD SDK index + verified sample code | Writing @barocss/cad, cad-model, cad-react/sdk, gpu, and viewer code |
/llms-mcp.txt | Complete 132-action MCP tool contract & autonomy/refusal guide | Directing cad-mcp, cad-cli, or Browser WebMCP agents |
/llms-full.txt | Full consolidated Markdown documentation corpus | Long-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.bcadUsing 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@urlmentions in Cursor, Claude Code, or automated retrieval pipelines.