Building with AI
grandocs is built agent-first. There are four ways in โ use whichever your tooling supports.
1. llms.txt
Section titled โ1. llms.txtโThree machine-readable indexes, generated at build time:
/llms.txtโ curated index with usage instructions/llms-full.txtโ the full corpus (latest versions) inlined/llms-small.txtโ a compact variant for small context windows
The llms.txt preamble tells agents the conventions below: default to grandMA3
2.4 but honor the userโs actual console version, and always cite the canonical
help.malighting.com page.
2. Markdown twins
Section titled โ2. Markdown twinsโAppend .md to any docs URL to get the raw markdown โ the same convention
Stripe uses. For example:
https://grandocs.samcarlton.com/grandma3/2-4/cue_store/ โ the pagehttps://grandocs.samcarlton.com/grandma3/2-4/cue_store.md โ raw markdownEvery page also carries a Copy as Markdown button and Open in ChatGPT / Claude links in its header.
3. MCP server
Section titled โ3. MCP serverโA stateless Model Context Protocol server
over grandocsโ search index. Tools: search_docs, get_page,
command_lookup, and list_products_versions.
# Claude Codeclaude mcp add --transport http grandocs https://grandocs-mcp.samcarlton.com/mcpCursor, Claude Desktop, and other clients: see the MCP server README.
4. Skills
Section titled โ4. SkillsโInstallable agent skills for grandMA documentation work โ for Claude Code, Cursor, and 20+ other agents:
npx skills add ThatGuySam/grandocsIncludes grandma3-docs, grandma2-dot2-docs, grandma-command-syntax,
grandma3-lua-api, grandma-macro-writer, and grandma-troubleshooting.