1
0

refactor: add clean code contract

This commit is contained in:
gin
2026-05-12 15:38:38 +08:00
parent 50a36e2241
commit 6f9526ece4
2 changed files with 276 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
# Agent Rules
- 新增或修改代码前,必须阅读并遵循 `docs/clean-code-contract.md`
- 后端新增或修改业务功能前,必须阅读 `docs/backend-feature-development.md`
- 后端代码必须遵循 `Controller -> ApplicationService -> Model -> db Service/Mapper` 的组织方式。
- 不要把业务规则写在 Controller。