Files
ulthon_admin/.agents/rules/ulthon-source-directory.md
augushong c5ebf86ad9 refactor(rules): 精简 AGENTS.md,下沉模块级规则,迁移 skill 为 rule
- tp-controller-url-rules skill 迁移为 rule ulthon-controller-url.md
- AGENTS.md「其他规则」中的 source/ 约定下沉为 ulthon-source-directory.md
- AGENTS.md「其他规则」中的部署栈+命令执行环境下沉为 ulthon-deploy-environment.md
- AGENTS.md 精简:其他规则从 10 条减至 5 条,规则维护机制从 10 行减至 4 行
- ulthon-rules-manager 技能增加 rules/skills 边界判定说明
- rules 定位拓宽:约束、约定、设计决策均可作为 rule
2026-06-01 21:48:27 +08:00

26 lines
794 B
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.

# source/ 目录约定
> 来源框架内置ulthon-
> 作用域:所有涉及 source/ 目录的操作
> 触发条件:新增子项目、存放多端代码、管理部署配套文件时加载
## 定位
`source/` 是主工程之外的配套内容统一目录,不影响当前主工程运行与发布。包括:
- 多端代码(客户端、大屏端等)
- 子项目工程(可为 PHP 或其他技术栈)
- 项目资料、附件
- 部署配套文件
## 目录约定
- 各子目录(客户端、大屏端、各类子项目等)独立管理
- 若子目录下存在 `AGENTS.md`,则该子工程规则以该文件为准
- 目录约定与安全要求见 `source/README.md`
## 安全要求
- 禁止提交构建产物
- 禁止提交依赖目录node_modules、vendor 等)