将 AGENTS.md 拆分为 AGENTS/ 目录,按主题分文件并新增中文优先规则

This commit is contained in:
Rekey
2026-06-14 07:29:00 +08:00
parent 0cd2cbbb79
commit d5ec69217e
8 changed files with 59 additions and 66 deletions
+21
View File
@@ -0,0 +1,21 @@
# 常用命令
```bash
# 依赖安装(在 data/ 目录下)
bun install
# 运行数据补全(拉取历史 K 线)
bun run data/run/exchange.ts --concurrency 2
# 运行连续聚合刷新(dry-run 看 SQL,加 --execute 实际执行)
bun run data/run/build_aggregates_sql.ts # 纯输出 SQL
bun run data/run/build_aggregates_sql.ts --execute # 实际刷新
bun run data/run/build_aggregates_sql.ts --start 2025-01 --end 2025-06 --execute
# 代码检查与格式化
bun run lint # eslint
bun run format # prettier
# 构建检查
bun run build # tsc 类型检查
```