From 7848dc2853805db58ebc8d41d6fa6da4867226dd Mon Sep 17 00:00:00 2001 From: Rogee Date: Tue, 23 Dec 2025 11:32:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20llm.txt.raw?= =?UTF-8?q?=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=85=B3=E4=BA=8E=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=96=87=E4=BB=B6=E5=88=86=E5=89=B2=E7=9A=84?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/project/llm.txt.raw | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/project/llm.txt.raw b/templates/project/llm.txt.raw index 8fccc27..5d20fac 100644 --- a/templates/project/llm.txt.raw +++ b/templates/project/llm.txt.raw @@ -12,7 +12,6 @@ This file condenses `docs/dev/http_api.md` + `docs/dev/model.md` into a checklis - DO regenerate code after changes (routes/docs/models). - MUST: in `app/services`, prefer the generated GORM-Gen DAO (`database/models/*`) for DB access ; treat raw `*gorm.DB` usage as a last resort. - MUST: after adding/removing/renaming any files under `app/services/`, run `atomctl gen service --path ./app/services` to regenerate `app/services/services.gen.go` ; DO NOT edit `services.gen.go` manually. -- MUST: a single service's methods MUST live in a single file ; do NOT split one service across multiple files (e.g. `type user struct{}` in `user.go` but methods in `user_admin.go`), because `atomctl gen service` uses filenames to infer services and will generate incorrect `services.gen.go`. - DO add `// @provider` above every controller/service `struct` declaration. - DO keep HTTP middlewares in `app/middlewares/` only. - DO keep all `const` declarations in `pkg/consts/` only (do not declare constants elsewhere).