Skip to content

Commit 9921c95

Browse files
docs: provide more details on the setup of llms in cursor
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent a3699c6 commit 9921c95

1 file changed

Lines changed: 33 additions & 2 deletions

File tree

docs/guides/ai.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ description: Learn how to use Juno's llms.txt files to provide AI tools with bet
66

77
# Using Juno with AI
88

9-
If youre using AI to build with Juno, you can use our `llms.txt` files to help AI tools better understand the platform.
9+
If you're using AI to build with Juno, you can use our `llms.txt` files to help AI tools better understand the platform.
1010

1111
---
1212

1313
## LLMs.txt
1414

1515
An [LLMs.txt](https://llmstxt.org/) file is a plain text file that provides instructions or metadata for large language models (LLMs). It often specifies how LLMs should process or interact with content. It's similar to a `robots.txt` or `sitemap.xml` file, but tailored for AI models.
1616

17+
---
18+
1719
### Available routes
1820

1921
We provide several `llms.txt` routes. Use the one that works best with your AI tool:
@@ -33,4 +35,33 @@ Here are some examples of how the `llms.txt` files can be used with AI tools.
3335

3436
### Cursor
3537

36-
You can add custom documentation as context in Cursor using the `@Docs` feature or by navigating to `Cursor Settings` > `Features` > `Docs`. [Read more about it here](https://docs.cursor.com/context/@-symbols/@-docs).
38+
You can use custom documentation in Cursor's context using the `@Docs` feature.
39+
40+
#### Setup
41+
42+
To add custom documentation, type `@Docs` and select **Add new doc**, or go to `Cursor Settings` > `Features` > `Docs`.
43+
44+
Add both `llms.txt` URLs:
45+
46+
| Name | Entry point |
47+
|--------------|----------------------------------------------------------|
48+
| Juno | [llms.txt](https://juno.build/llms.txt) |
49+
| Juno (full) | [llms-full.txt](https://juno.build/llms-full.txt) |
50+
51+
Cursor will index all subpages.
52+
53+
#### Usage
54+
55+
Type `@Docs` in chat to view available docs and select the Juno entries to begin using the references.
56+
57+
:::important
58+
59+
You must reference the Juno docs in chat using `@Docs` — Cursor won't use them otherwise.
60+
61+
:::
62+
63+
For example, you could start a conversation with: _I want to create a web shop app with Next.js using @Juno and @Juno (full)._
64+
65+
#### Resources
66+
67+
Read more in the [Cursor documentation](https://docs.cursor.com/context/@-symbols/@-docs).

0 commit comments

Comments
 (0)