# Coding with AI

Last updated:

<!-- -->

October 18, 2026

<!-- -->

\| 2 minutes read

<br />

<br />

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 iOS while you code.

## Available resources[​](#available-resources "Direct link to 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/ios/llms-full.txt](https://developer.magiclane.com/docs/ios/llms-full.txt) |
| **llms.txt**      | Concise API overview and page index               | [developer.magiclane.com/docs/ios/llms.txt](https://developer.magiclane.com/docs/ios/llms.txt)           |

These files follow the [llms.txt](https://llmstxt.org/) standard and contain detailed concept explanations, code examples, documentation references, and source file locations for verification.

## Using with AI coding tools[​](#using-with-ai-coding-tools "Direct link to 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[​](#cursor "Direct link to 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 iOS.*
5. Reference the files in the rule body. Cursor will automatically use them when relevant.

### GitHub Copilot[​](#github-copilot "Direct link to 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:
   <!-- -->
   ```text
   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[​](#jetbrains-ai-assistant "Direct link to 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[​](#windsurf "Direct link to 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[​](#claude-desktop--claude-code "Direct link to Claude Desktop / Claude Code")

Pass the `llms-full.txt` URL directly in your prompt:

```
Use  https://developer.magiclane.com/docs/ios/llms-full.txt  as context
for the following question about the Magic Lane Maps SDK for iOS:

[YOUR QUESTION HERE]
```

## Tips[​](#tips "Direct link to 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](/docs/ios/api-reference/).
