From 8dc7f778c2fbe11f65a6a08fd5f48878eaa36fff Mon Sep 17 00:00:00 2001 From: "F.D.Castel" Date: Sun, 22 Feb 2026 21:18:47 -0300 Subject: [PATCH] Update agent guide: clarify variable naming and source file header requirements. --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 5f77a37..ebac27f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,6 +4,7 @@ - Classes names uses PascalCase. - Method names uses camelCase. - Variable names uses camelCase. +- Do not use variables names starting or ending with underline. - When using statements like `if`, `for`, `while`, etc, if the condition plus the sub-statement takes more than two lines, then the sub-statement should use braces. Otherwise, braces should be avoided. - A C++ source file should be formatted with `clang-format`. @@ -14,6 +15,7 @@ { // scope } ``` +- When adding new source files, copy the header from the existing files, but update the Copyright line to reflect the current year and use `$(git config --get user.name)` as the original author. ### Build - If .cpp files are added, it's necessary to run `cmake --preset default` from the repo root.