You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/platform/actors/development/quick_start/build_with_ai.md
+29-33Lines changed: 29 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,29 @@ toc_max_heading_level: 4
10
10
11
11
---
12
12
13
-
import { RULES_AND_INSTRUCTIONS_PROMPT } from "@site/src/utils/ai-prompts";
13
+
import { AGENTS_PROMPT } from "@site/src/utils/agents-prompt";
14
14
import PromptButton from "@site/src/components/PromptButton";
15
15
16
-
This guide explains how to enhance your development workflow by leveraging `llms.txt` and `llms-full.txt` with an AI assistant. You will learn how to provide foundational context and further refine AI's behavior with specific rules and instruction files.
16
+
This guide shows you how to build Actors efficiently with AI coding assistants. You'll learn how to use pre-built instructions, integrate Apify documentation into your AI editor, and apply best practices for AI-assisted development.
17
+
18
+
## AI coding assistant instructions
19
+
20
+
Use the following prompt in your favorite AI coding assistant:
21
+
22
+
<PromptButtonprompt={AGENTS_PROMPT}title="Use pre-built prompt for your AI coding assistant" />
23
+
24
+
### Quick Start
25
+
26
+
-_Step 1_: Create directory: `mkdir my-new-actor`
27
+
-_Step 2_: Open the directory in _Cursor_, _VS Code_, etc.
28
+
-_Step 3_: Copy the prompt above and paste it into your AI coding assistant (Agent or Chat)
29
+
-_Step 4_: Run it, and develop your first actor with the help of AI 🎉
30
+
31
+
:::info Start in an AI coding assistant
32
+
33
+
To maximize efficiency, copy the prompt to Cursor, VS Code with GitHub Copilot, or another AI coding assistant. The AI will follow the guide step-by-step, and you'll avoid copy-pasting from tools like ChatGPT or Claude.
34
+
35
+
:::
17
36
18
37
## `llms.txt` and `llms-full.txt`
19
38
@@ -40,6 +59,8 @@ Search engines weren't built for Large Language Models (LLMs), but they needs co
40
59
</tbody>
41
60
</table>
42
61
62
+
<!-- TODO: Consider to remove it to keep it simple... -->
63
+
43
64
### Use llms.txt and llms-full.txt
44
65
45
66
LLMs don't automatically discover `llms.txt` files, you need to add the link manually. Some tools like [Cursor](https://www.cursor.com/) provide settings for this.
@@ -86,42 +107,17 @@ New to Apify? Ask questions and provide the `llms.txt` link. Popular AI models c
86
107
87
108

88
109
89
-
## View pages as markdown
90
-
91
-
Every page in Apify documentation is available in markdown format. Simply add `.md` to any documentation URL to access the raw markdown content.
The best rules and instructions are specific for individual use cases, but we provide a prompt to help you get start with creating rules and instructions:
0 commit comments