Skip to content

Commit 25db15e

Browse files
committed
Merge branch '3.6.x'
2 parents 1f7078f + 3255a70 commit 25db15e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+133
-133
lines changed
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
```bash
1212
# 复制任务模板
13-
cp .ai-agents/templates/task.md .ai-workspace/active/TASK-{yyyyMMdd}-{task-id}/task.md
13+
cp .agents/templates/task.md .ai-workspace/active/TASK-{yyyyMMdd}-{task-id}/task.md
1414
```
1515

1616
编辑任务文件,填写:
@@ -91,7 +91,7 @@ ClaudeCode 会:
9191

9292
```bash
9393
# 1. 创建 Bug 任务
94-
cp .ai-agents/templates/task.md .ai-workspace/active/BUG-{yyyyMMdd}-{task-id}/task.md
94+
cp .agents/templates/task.md .ai-workspace/active/BUG-{yyyyMMdd}-{task-id}/task.md
9595
# 编辑:type: bugfix, workflow: bug-fix
9696

9797
# 2. ClaudeCode 分析 Bug
@@ -111,7 +111,7 @@ cp .ai-agents/templates/task.md .ai-workspace/active/BUG-{yyyyMMdd}-{task-id}/ta
111111

112112
```bash
113113
# 1. 创建审查任务
114-
cp .ai-agents/templates/task.md .ai-workspace/active/REVIEW-PR-{task-id}/task.md
114+
cp .agents/templates/task.md .ai-workspace/active/REVIEW-PR-{task-id}/task.md
115115
# 编辑:type: review, workflow: code-review
116116

117117
# 2. ClaudeCode 执行审查
@@ -126,7 +126,7 @@ cp .ai-agents/templates/task.md .ai-workspace/active/REVIEW-PR-{task-id}/task.md
126126

127127
```bash
128128
# 1. 创建重构任务
129-
cp .ai-agents/templates/task.md .ai-workspace/active/REFACTOR-{yyyyMMdd}-{task-id}/task.md
129+
cp .agents/templates/task.md .ai-workspace/active/REFACTOR-{yyyyMMdd}-{task-id}/task.md
130130
# 编辑:type: refactor, workflow: refactoring
131131

132132
# 2. ClaudeCode 分析和规划
@@ -230,19 +230,19 @@ cat .ai-workspace/active/TASK-{yyyyMMdd}-{task-id}/task.md
230230

231231
**解决方案**:查看工作流定义
232232
```bash
233-
cat .ai-agents/workflows/feature-development.yaml
233+
cat .agents/workflows/feature-development.yaml
234234
```
235235

236236
---
237237

238238
## 📚 进一步学习
239239

240-
- **协作总指南**`.ai-agents/README.md`
241-
- **工作流定义**`.ai-agents/workflows/`
242-
- **任务模板**`.ai-agents/templates/`
240+
- **协作总指南**`.agents/README.md`
241+
- **工作流定义**`.agents/workflows/`
242+
- **任务模板**`.agents/templates/`
243243
- **ClaudeCode 配置**`.claude/README.md`
244-
- **Codex 配置**`.ai-agents/codex/README.md`
245-
- **GeminiCli 配置**`.ai-agents/gemini/README.md`
244+
- **Codex 配置**`.agents/codex/README.md`
245+
- **GeminiCli 配置**`.agents/gemini/README.md`
246246

247247
---
248248

@@ -267,15 +267,15 @@ cat .ai-agents/workflows/feature-development.yaml
267267
**Codex** (OpenAI/ChatGPT) - 执行型专家
268268
- 擅长:代码实现、快速迭代、单元测试
269269
- 特点:代码生成速度快、补全准确
270-
- 配置:`.ai-agents/codex/` 目录
270+
- 配置:`.agents/codex/` 目录
271271

272272
**GeminiCli** (Google Gemini) - 全能型专家
273273
- 擅长:大规模代码分析、复杂问题修复
274274
- 特点:超大上下文窗口(2M tokens)
275-
- 配置:`.ai-agents/gemini/` 目录
275+
- 配置:`.agents/gemini/` 目录
276276

277277
---
278278

279279
**祝协作愉快!** 🎉
280280

281-
有问题查看 `.ai-agents/README.md` 或询问项目维护者。
281+
有问题查看 `.agents/README.md` 或询问项目维护者。
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
**配置文件**
2828
- **`AGENTS.md`** - 项目开发规范(根目录)
29-
- **`.ai-agents/codex/preferences.yaml`** - Codex 特定配置
30-
- **`.ai-agents/gemini/preferences.yaml`** - Gemini 特定配置
29+
- **`.agents/codex/preferences.yaml`** - Codex 特定配置
30+
- **`.agents/gemini/preferences.yaml`** - Gemini 特定配置
3131

3232
**特点**
3333
- 遵循 [AGENTS.md 标准](https://agents.md)(Linux Foundation AAIF)
@@ -44,10 +44,10 @@
4444
4545
└── 体系 B:AGENTS.md (其他工具使用)
4646
├── AGENTS.md (项目规范)
47-
└── .ai-agents/{tool}/preferences.yaml (工具配置)
47+
└── .agents/{tool}/preferences.yaml (工具配置)
4848
4949
协作机制(两套体系共享)
50-
└── .ai-agents/ (多 AI 协作配置)
50+
└── .agents/ (多 AI 协作配置)
5151
├── workflows/ (工作流定义)
5252
├── templates/ (任务模板)
5353
└── README.md (本文件 - 协作指南)
@@ -67,7 +67,7 @@
6767
## 📋 目录说明
6868

6969
```
70-
.ai-agents/ # AI配置目录(版本控制)
70+
.agents/ # AI配置目录(版本控制)
7171
├── README.md # 本文件
7272
├── workflows/ # 工作流定义(推荐流程)
7373
│ ├── feature-development.yaml
@@ -158,14 +158,14 @@
158158
- 💡 **核心优势**: 代码生成速度快、补全准确、快速迭代
159159
- 🎯 **定位**: 超级程序员
160160
- 📝 **特色**: 代码生成效率最高,实现阶段首选
161-
- 🔧 **配置**: `.ai-agents/codex/` 目录
161+
- 🔧 **配置**: `.agents/codex/` 目录
162162

163163
**GeminiCli** (Google Gemini)
164164
- 🧠 **最擅长**: 需求分析、代码实现、问题修复
165165
- 💡 **核心优势**: 超大上下文 (2M tokens)、全局分析、快速编码
166166
- 🎯 **定位**: 全能助手 + 分析师
167167
- 📝 **特色**: 可一次性加载海量代码进行全局分析
168-
- 🔧 **配置**: `.ai-agents/gemini/` 目录
168+
- 🔧 **配置**: `.agents/gemini/` 目录
169169

170170
#### 实战选择建议
171171

@@ -189,7 +189,7 @@
189189

190190
```bash
191191
# 复制任务模板
192-
cp .ai-agents/templates/task.md .ai-workspace/active/TASK-{task-id}/task.md
192+
cp .agents/templates/task.md .ai-workspace/active/TASK-{task-id}/task.md
193193

194194
# 编辑任务描述
195195
vim .ai-workspace/active/TASK-{task-id}/task.md
@@ -464,17 +464,17 @@ ClaudeCode 的配置保持在 `.claude/` 目录(项目根目录),包括:
464464

465465
### Codex 配置
466466

467-
Codex (OpenAI/ChatGPT) 的配置在 `.ai-agents/codex/` 目录。
467+
Codex (OpenAI/ChatGPT) 的配置在 `.agents/codex/` 目录。
468468

469469
### GeminiCli 配置
470470

471-
GeminiCli 的配置在 `.ai-agents/gemini/` 目录。
471+
GeminiCli 的配置在 `.agents/gemini/` 目录。
472472

473473
### 通用配置
474474

475475
所有 AI 都应该:
476476
1. 读取 `AGENTS.md`(项目根目录)获取项目开发规范
477-
2. 遵循 `.ai-agents/workflows/` 中的工作流定义
477+
2. 遵循 `.agents/workflows/` 中的工作流定义
478478
3. 使用 `.ai-workspace/` 进行任务跟踪和上下文共享
479479

480480
## ⚠️ 注意事项
@@ -502,16 +502,16 @@ GeminiCli 的配置在 `.ai-agents/gemini/` 目录。
502502

503503
- **主配置文件**`AGENTS.md`(中文)、`AGENTS.en.md`(英文)
504504
- **ClaudeCode 配置**`.claude/README.md`
505-
- **Codex 配置**`.ai-agents/codex/README.md`
506-
- **GeminiCli 配置**`.ai-agents/gemini/README.md`
505+
- **Codex 配置**`.agents/codex/README.md`
506+
- **GeminiCli 配置**`.agents/gemini/README.md`
507507
- **贡献指南**`CONTRIBUTING.md`
508508
- **PR 模板**`.github/PULL_REQUEST_TEMPLATE.md`
509509

510510
## 🔄 迁移说明
511511

512512
如果你之前使用单一 AI 工具,现在想启用多 AI 协作:
513513

514-
1. ✅ 保持现有配置(`.claude/``.ai-agents/codex/``.ai-agents/gemini/`
514+
1. ✅ 保持现有配置(`.claude/``.agents/codex/``.agents/gemini/`
515515
2. ✅ 创建 `.ai-workspace/` 目录(已被 git ignore)
516516
3. ✅ 开始使用任务模板进行协作
517517
4. ✅ 不需要修改现有工作流程
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
在开始工作前,Codex 应该:
1414

1515
1. 读取 `AGENTS.md`(项目根目录)了解项目基本信息
16-
2. 读取 `.ai-agents/README.md` 了解协作流程
17-
3. 读取 `.ai-agents/workflows/` 了解工作流定义
16+
2. 读取 `.agents/README.md` 了解协作流程
17+
3. 读取 `.agents/workflows/` 了解工作流定义
1818

1919
### 2. 接手任务
2020

@@ -196,7 +196,7 @@ A: 查看 `.ai-workspace/active/` 下的任务目录
196196
A: 检查 `.ai-workspace/active/{task-id}/` 目录
197197

198198
### Q: 任务文件中的 workflow 是什么?
199-
A: 查看 `.ai-agents/workflows/{workflow}.yaml` 了解完整流程
199+
A: 查看 `.agents/workflows/{workflow}.yaml` 了解完整流程
200200

201201
### Q: 需要切换到其他 AI 吗?
202202
A: 根据任务类型和 workflow 中的推荐,但最终由人类决定
@@ -207,10 +207,10 @@ A: Codex 擅长快速代码生成,GeminiCli 擅长大规模分析(超大上
207207
## 参考资料
208208

209209
- 主配置:`AGENTS.md`
210-
- 协作指南:`.ai-agents/README.md`
211-
- 工作流定义:`.ai-agents/workflows/`
212-
- 任务模板:`.ai-agents/templates/`
213-
- 快速开始:`.ai-agents/QUICKSTART.md`
210+
- 协作指南:`.agents/README.md`
211+
- 工作流定义:`.agents/workflows/`
212+
- 任务模板:`.agents/templates/`
213+
- 快速开始:`.agents/QUICKSTART.md`
214214

215215
## 版本信息
216216

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
在开始工作前,Gemini 应该:
1414

1515
1. 读取 `AGENTS.md`(项目根目录)了解项目基本信息
16-
2. 读取 `.ai-agents/README.md` 了解协作流程
17-
3. 读取 `.ai-agents/workflows/` 了解工作流定义
16+
2. 读取 `.agents/README.md` 了解协作流程
17+
3. 读取 `.agents/workflows/` 了解工作流定义
1818

1919
### 2. 接手任务
2020

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#!/bin/bash
3636

3737
# 加载公共脚本
38-
source .ai-agents/scripts/fit-service.sh
38+
source .agents/scripts/fit-service.sh
3939

4040
# 初始化环境
4141
init_log_dir
@@ -61,19 +61,19 @@ exit $TEST_RESULT
6161

6262
```bash
6363
# 启动服务
64-
.ai-agents/scripts/fit-service.sh start
64+
.agents/scripts/fit-service.sh start
6565

6666
# 验证接口
67-
.ai-agents/scripts/fit-service.sh verify
67+
.agents/scripts/fit-service.sh verify
6868

6969
# 停止服务
70-
.ai-agents/scripts/fit-service.sh stop
70+
.agents/scripts/fit-service.sh stop
7171

7272
# 清理环境(保留构建产物)
73-
.ai-agents/scripts/fit-service.sh cleanup
73+
.agents/scripts/fit-service.sh cleanup
7474

7575
# 清理环境(包含构建产物)
76-
.ai-agents/scripts/fit-service.sh cleanup true
76+
.agents/scripts/fit-service.sh cleanup true
7777
```
7878

7979
#### 特性
@@ -92,7 +92,7 @@ exit $TEST_RESULT
9292
#### 使用方法
9393

9494
```bash
95-
.ai-agents/scripts/run-test.sh
95+
.agents/scripts/run-test.sh
9696
```
9797

9898
## 调用关系
@@ -102,7 +102,7 @@ exit $TEST_RESULT
102102
├── test.md → 调用 fit-service.sh(完整测试)
103103
└── test-integration.md → 调用 fit-service.sh(仅集成测试)
104104
105-
.ai-agents/scripts/
105+
.agents/scripts/
106106
├── fit-service.sh ← 被测试命令调用
107107
└── run-test.sh ← 独立测试脚本
108108
```

.agents/skills/analyze-issue/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ description: 分析 GitHub Issue 并创建任务文件和需求分析文档。
2323
```bash
2424
mkdir -p .ai-workspace/active/TASK-<timestamp>/
2525
```
26-
基于 .ai-agents/templates/task.md 模板创建 task.md,填写任务元数据。
26+
基于 .agents/templates/task.md 模板创建 task.md,填写任务元数据。
2727

2828
4. 执行需求分析(仅分析,不编写业务代码):
2929
- 阅读并理解 Issue 描述

0 commit comments

Comments
 (0)