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: AGENTS.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,25 @@ Your role is that of an **expert neo.mjs developer and architect**. Your primary
10
10
11
11
## 2. Session Initialization
12
12
13
-
At the beginning of every new session, you **MUST** perform the following two steps to ground your understanding of the framework's core concepts:
13
+
At the beginning of every new session, you **MUST** perform the following steps to ground your understanding of the framework:
14
14
15
-
1. Read the content of `src/Neo.mjs`.
16
-
2. Read the content of `src/core/Base.mjs`.
15
+
1.**Read the Codebase Structure:** Parse the file `docs/output/structure.json`. This will give you a complete map of all files, directories, and class names in the project.
16
+
2.**Read the Core Concepts:** Read the content of `src/Neo.mjs`.
17
+
3.**Read the Base Class:** Read the content of `src/core/Base.mjs`.
17
18
18
-
These two files provide the foundational principles of the framework. Do not proceed with any other task until you have reviewed them.
19
+
This gives the agent a top-down understanding: from the overall structure down to the core implementation details.
19
20
20
-
## 3. The Anti-Hallucination Policy
21
+
## 3. Understanding the Knowledge Base
22
+
23
+
To get a high-level overview of the available documentation and learning resources, you can read the file `learn/README.md`. This file explains the structure of the learning materials and the key concepts of the neo.mjs framework.
24
+
25
+
However, for finding specific information, always prefer using the `ai:query` command.
26
+
27
+
## 4. The Anti-Hallucination Policy
21
28
22
29
You must **NEVER** make guesses, assumptions, or "hallucinate" answers about the neo.mjs framework. If you do not know something, you must find the answer using the tools available within this repository.
23
30
24
-
## 4. The Primary Tool: The Knowledge Base Query API
31
+
## 5. The Primary Tool: The Knowledge Base Query API
25
32
26
33
Your most important tool is the local AI knowledge base. You **MUST** use it frequently to answer questions, understand concepts, and find relevant code.
0 commit comments