From 42b34f9fd29b7fd89c8862eac401d16d796834f4 Mon Sep 17 00:00:00 2001 From: Wind-Explorer Date: Thu, 18 Dec 2025 16:58:25 +0800 Subject: [PATCH] Update AGENTS.md --- AGENTS.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 355069b..7ea750e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,7 +16,10 @@ Backend server for Friendolls. ## Code Style & Conventions -- **Architecture**: NestJS standard (Module -> Controller -> Service). Use DI. +- **Architecture**: + - NestJS standard (Module -> Controller -> Service). + - Use DI. + - Redis for caching and horizontal scaling (optional, falls back to local memory). - **Database**: `PrismaService` only. No raw SQL. - **Validation**: strict `class-validator` DTOs (whitelisting enabled). - **Naming**: `PascalCase` (Classes), `camelCase` (vars/methods), `kebab-case` (files).