Files
ulthon_admin/AGENTS.md
2026-02-02 21:54:06 +08:00

27 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Agent 工作约束Ulthon Admin
本仓库的开发规范以两类信息为准:
1. **规则(必须始终遵守)**:见 [.trae/rules/project_rules.md](./.trae/rules/project_rules.md) 与 [CODERULE.md](./CODERULE.md)。
2. **技能(按场景调用的工作流)**:见 `.trae/skills/*/SKILL.md`
在线文档参考https://doc.ulthon.com/read/augushong/ulthon_admin/home/zh-cn/2.x.html
## 不应该做的事情
1. 一般不需要直接修改开发环境(除非安装 composer 依赖或开发相关资源)。不要自行安装 Docker、MySQL、Redis 等基础环境,这些由开发者维护。
2. 一般不需要修改环境配置文件(如 `.env`)。发现配置缺失或错误时,应提示开发者完善相关配置。
3. 一般不需要自行启动或常驻运行项目程序(开发者会提前运行以便调试);除非用户明确要求执行运行/调试命令。
## 框架内置能力速查
本段只保留入口与触发条件,细节以对应技能为准,包括但不限于以下内容:
- 扩展内置能力(不改 base[ulthon-core-extend-pattern](./.trae/skills/ulthon-core-extend-pattern/SKILL.md)
- Scheme + CURD 工作流:[ulthon-scheme-curd-workflow](./.trae/skills/ulthon-scheme-curd-workflow/SKILL.md)
- 数据库调试命令tools:db[ulthon-db-tools-debug](./.trae/skills/ulthon-db-tools-debug/SKILL.md)
- 页面 / 接口同体(同一控制器 HTML+JSON[ulthon-page-api-dual-mode](./.trae/skills/ulthon-page-api-dual-mode/SKILL.md)
- 登录认证Session + Token[ulthon-auth-session-token](./.trae/skills/ulthon-auth-session-token/SKILL.md)
命令行通用参数:多数命令支持 `--force-force``-ff`)跳过交互确认。