Skip to main content

Coding with AI

Last updated: April 29, 2026 | 3 minutes read

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:

FileContentsURL
llms-full.txtDeveloper guides, explanations, and code examplesdeveloper.magiclane.com/docs/typescript/llms-full.txt
llms.txtConcise API overview and page indexdeveloper.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​

  1. Create a .cursor directory in your project root.
  2. Place llms-full.txt and llms.txt inside it.
  3. Open Cursor Settings → Rules and add a new rule with type Apply Intelligently.
  4. Set the description to: Use this rule whenever a question is asked about Magic Lane Maps SDK for TypeScript.
  5. Reference the files in the rule body. Cursor will automatically use them when relevant.

GitHub Copilot​

  1. Create a .copilot directory in your project root.
  2. Place llms-full.txt and llms.txt inside it.
  3. 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​

  1. Create a .idea/ai directory in your project root.
  2. Place llms-full.txt and llms.txt inside it.
  3. Reference the files in AI Assistant chat when asking about the SDK.

Windsurf​

  1. Create a .windsurf directory in your project root.
  2. Place llms-full.txt and llms.txt inside it.
  3. 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.txt file is best for general questions and guides. Use llms.txt for a quick overview of available pages.
  • Always verify generated code against the official API reference.