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
sidebarTitle: Codebase and Documentation Awareness
5
6
---
6
7
7
-
# How to make your agent aware of codebases and documentation
8
-
9
8
AI coding agents work best when they understand the context of your project. This guide shows you how to give your agent access to codebases and documentation, making it more helpful and accurate.
10
9
11
10
## Make your agent aware of your open codebase
@@ -28,18 +27,21 @@ Rules guide your agent's behavior and understanding. Place markdown files in `.c
28
27
# Project Architecture
29
28
30
29
This is a React application with:
30
+
31
31
- Components in `/src/components`
32
32
- API routes in `/src/api`
33
33
- State management using Redux in `/src/store`
34
34
35
35
## Coding Standards
36
+
36
37
- Use TypeScript for all new files
37
38
- Follow the existing naming conventions
38
39
- Write tests for all new features
39
40
```
40
41
41
42
<Tip>
42
-
Place rules files at different levels of your project hierarchy to scope when they trigger
43
+
Place rules files at different levels of your project hierarchy to scope when
44
+
they trigger
43
45
</Tip>
44
46
45
47
Learn more about [rules configuration](/customize/deep-dives/rules).
@@ -60,6 +62,7 @@ Create rules that point to external codebases:
0 commit comments