🔧 chore(templates): align agent templates and docs
- drop implementation-plan template and references - add AGENT_RULES.local.md precedence in templates - add plan meta guidance and CN updates
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
# Agent Instructions
|
||||
# 代理指引
|
||||
|
||||
<!-- playbook:framework:start -->
|
||||
|
||||
## 规则优先级
|
||||
|
||||
1. 系统/开发者指令与安全约束
|
||||
2. 仓库规则:`.agents/` 与本文件
|
||||
3. `AGENT_RULES.md` - 执行流程
|
||||
2. 项目私有规则:`AGENT_RULES.local.md`(如存在)
|
||||
3. 仓库规则:`.agents/` 与本文件
|
||||
4. `AGENT_RULES.md` - 执行流程
|
||||
|
||||
---
|
||||
|
||||
@@ -24,6 +25,7 @@
|
||||
|
||||
### 核心规则
|
||||
|
||||
- **项目私有规则**:[AGENT_RULES.local.md](./AGENT_RULES.local.md)
|
||||
- **执行流程**:[AGENT_RULES.md](./AGENT_RULES.md)
|
||||
- **AI 行为规范**:[docs/prompts/system/agent-behavior.md](docs/prompts/system/agent-behavior.md)
|
||||
|
||||
@@ -34,7 +36,6 @@
|
||||
- **架构设计**:[memory-bank/architecture.md](memory-bank/architecture.md)
|
||||
- **进度追踪**:[memory-bank/progress.md](memory-bank/progress.md)
|
||||
- **架构决策**:[memory-bank/decisions.md](memory-bank/decisions.md)
|
||||
- **实施计划**:[memory-bank/implementation-plan.md](memory-bank/implementation-plan.md)
|
||||
|
||||
### 工作流程
|
||||
|
||||
@@ -48,10 +49,11 @@
|
||||
|
||||
**AI 应该做的**:
|
||||
|
||||
1. 读取 [AGENT_RULES.md](./AGENT_RULES.md)
|
||||
2. 读取 [memory-bank/](memory-bank/) 核心文档
|
||||
3. 读取 [docs/prompts/system/agent-behavior.md](docs/prompts/system/agent-behavior.md)
|
||||
4. 查看 `docs/plans/` 下最新计划(如有)或 `memory-bank/implementation-plan.md`
|
||||
1. 读取 [AGENT_RULES.local.md](./AGENT_RULES.local.md)(如存在)
|
||||
2. 读取 [AGENT_RULES.md](./AGENT_RULES.md)
|
||||
3. 读取 [memory-bank/](memory-bank/) 核心文档
|
||||
4. 读取 [docs/prompts/system/agent-behavior.md](docs/prompts/system/agent-behavior.md)
|
||||
5. 查看 `docs/plans/` 下最新计划(如有)
|
||||
<!-- playbook:framework:end -->
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user