From 435b7cdaa97c40412952c0484ee2dac087e88a0f Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 26 Jan 2026 23:21:35 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=20AGENTS.md=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=AF=B4=E6=98=8E=20AI=20=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E7=9A=84=E5=BC=80=E5=8F=91=E7=BA=A6=E6=9D=9F=E4=B8=8E=E5=B7=A5?= =?UTF-8?q?=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..27745b3 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,25 @@ +## 不应该做的事情 + +1. 一般而言你不需要直接修改开发环境,除了安装composer依赖或其他开发相关的资源。但你不应该自己安装docker、mysql、redis等基础环境,这些由开发者提前维护好。 +2. 一般而言你不需要修改环境配置文件(如 `.env`),这些由开发者提前维护好,如果你发现错误应当提示开发者完善相关的配置。 +3. 你不需要自己运行项目程序,开发者会提前运行好,以便你直接在开发过程中调试。 + + +## 需要遵守的规则 + +基本规则参考 [CODERULE.md]; +更多规则参考在线文档 https://doc.ulthon.com/read/augushong/ulthon_admin/home/zh-cn/2.x.html + +## 框架工具 + +### 数据库操作 + +项目内置了数据库操作工具,可以直接在命令行中执行数据库操作。命令是: +```bash +php think tools:db:execute +php think tools:db:query +php think tools:db:table +php think tools:db:count +php think tools:db:info +php think tools:db:desc +```