docs: agents

This commit is contained in:
zhom
2025-07-31 17:53:30 +04:00
parent b22b4cacf9
commit a43e41a020
5 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -3,4 +3,4 @@ description:
globs:
alwaysApply: true
---
Don't leave comments that don't add value
Don't leave comments that don't add value.
+1 -1
View File
@@ -3,4 +3,4 @@ description:
globs:
alwaysApply: true
---
Do not duplicate code unless you have a very good reason to do so. It is important that the same logic is not duplicated multiple times
Do not duplicate code unless you have a very good reason to do so. It is important that the same logic is not duplicated multiple times.
+1 -1
View File
@@ -3,4 +3,4 @@ description:
globs:
alwaysApply: true
---
Anytime you change nodecar's code and try to test, recompile it with "cd nodecar && pnpm build"
Anytime you change nodecar's code and try to test, recompile it with "cd nodecar && pnpm build".
+6
View File
@@ -0,0 +1,6 @@
---
description:
globs:
alwaysApply: true
---
If there is a global singleton of a struct, only use it inside a method while properly initializing it, unless I have explicitly specified in the request otherwise.
+4 -3
View File
@@ -1,7 +1,8 @@
# Instructions for AI Agents
- After your changes, instead of running specific tests or linting specific files, run "pnpm format && pnpm lint && pnpm test". It means that you first format the code, then lint it, then test it, so that no part is broken after your changes.
- Don't leave comments that don't add value
- Do not duplicate code unless you have a very good reason to do so. It is important that the same logic is not duplicated multiple times
- Don't leave comments that don't add value.
- Do not duplicate code unless you have a very good reason to do so. It is important that the same logic is not duplicated multiple times.
- Before finishing the task and showing summary, always run "pnpm format && pnpm lint && pnpm test" at the root of the project to ensure that you don't finish with broken application.
- Anytime you change nodecar's code and try to test, recompile it with "cd nodecar && pnpm build"
- Anytime you change nodecar's code and try to test, recompile it with "cd nodecar && pnpm build".
- If there is a global singleton of a struct, only use it inside a method while properly initializing it, unless I have explicitly specified in the request otherwise.