We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 316ebd9 commit 68ce902Copy full SHA for 68ce902
.trae/rules/agent.md
@@ -0,0 +1,21 @@
1
+# Agent Rules
2
+
3
+## 依赖
4
+- 唯一声明: `pyproject.toml`
5
+- 安装: `uv pip install .` / `".[dev]"`
6
+- 禁止 requirements.txt
7
8
+## 命令
9
+```bash
10
+uv venv .venv && uv pip install ".[dev]" # 初始化
11
+uv run pytest # 测试
12
+uv run python bot.py # 运行
13
+```
14
15
+## 测试
16
+- 文件: `test_*.py`, `*_test.py`, `unit_test.py`
17
+- 目录: `src/plugins/DicePP/`
18
19
+## 风格
20
+- 最小化变更
21
+- 提交前 `uv run pytest`
0 commit comments