From 9edc6b363f2dab2cf8be9e469a989f2134b5bd93 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 4 Oct 2025 11:42:19 +0300 Subject: [PATCH] Add AGENTS.md --- .github/copilot-instructions.md => AGENTS.md | 4 ---- CLAUDE.md | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) rename .github/copilot-instructions.md => AGENTS.md (92%) create mode 100644 CLAUDE.md diff --git a/.github/copilot-instructions.md b/AGENTS.md similarity index 92% rename from .github/copilot-instructions.md rename to AGENTS.md index 36fb5b105..17afe685a 100644 --- a/.github/copilot-instructions.md +++ b/AGENTS.md @@ -2,8 +2,6 @@ - only rarely use comments, prefer descriptive variable and function names (leave existing comments as is) - if you encounter an existing TODO comment assume it is there for a reason and do not remove it -- for running scripts `npm` is used -- all the imports should be at the top of the file ## Commands @@ -15,8 +13,6 @@ ## Typescript - prefer early return over nesting if statements -- prefer using `const` over `let` when the variable is not reassigned -- never use `var` - do not use `any` type - for constants use ALL_CAPS - always use named exports diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 000000000..43c994c2d --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md