Coding with AI
Magic Lane provides machine-readable documentation files that integrate with popular AI coding assistants. Use them to get accurate, context-aware answers about the Maps SDK for TypeScript while you code.
Available resources
Two files are generated with every documentation build and published alongside the docs:
| File | Contents | URL |
|---|---|---|
| llms-full.txt | Developer guides, explanations, and code examples | developer.magiclane.com/docs/typescript/llms-full.txt |
| llms.txt | Concise API overview and page index | developer.magiclane.com/docs/typescript/llms.txt |
These files follow the llms.txt standard and contain detailed concept explanations, code examples, documentation references, and source file locations for verification.
Using with AI coding tools
Download both files and place them in your project. Each tool reads them differently - follow the setup for the one you use.
Cursor
- Create a
.cursordirectory in your project root. - Place
llms-full.txtandllms.txtinside it. - Open Cursor Settings → Rules and add a new rule with type Apply Intelligently.
- Set the description to: Use this rule whenever a question is asked about Magic Lane Maps SDK for TypeScript.
- Reference the files in the rule body. Cursor will automatically use them when relevant.
GitHub Copilot
- Create a
.copilotdirectory in your project root. - Place
llms-full.txtandllms.txtinside it. - In Copilot Chat, reference the files by stating:
Please use the context from the llms.txt files in the .copilot directory
when answering questions about the Magic Lane Maps SDK.
JetBrains AI Assistant
- Create a
.idea/aidirectory in your project root. - Place
llms-full.txtandllms.txtinside it. - Reference the files in AI Assistant chat when asking about the SDK.
Windsurf
- Create a
.windsurfdirectory in your project root. - Place
llms-full.txtandllms.txtinside it. - Reference the files in chat for context-aware responses.
Claude Desktop / Claude Code
Pass the llms-full.txt URL directly in your prompt:
Use https://developer.magiclane.com/docs/typescript/llms-full.txt as context
for the following question about the Magic Lane Maps SDK for TypeScript:
[YOUR QUESTION HERE]
Tips
- Experiment with different prompts and models to get the best results.
- The
llms-full.txtfile is best for general questions and guides. Usellms.txtfor a quick overview of available pages. - Always verify generated code against the official API reference.