@@ -54,18 +54,21 @@ alwaysApply: true
5454<add_aiide>
5555# CloudBase AI Toolkit - 新增 AI IDE 支持工作流
5656
57- 1 . 创建 IDE 特定配置文件(如 ` .mcp.json ` 和 ` AGENTS.md ` )
58- 2 . 更新 ` scripts/fix-config-hardlinks.sh ` 添加新目标文件到硬链接列表
59- 3 . 执行硬链接脚本确保规则文件同步
60- 4 . 创建 ` doc/ide-setup/{ide-name}.md ` 配置文档
61- 5 . 更新 ` README.md ` 、` doc/index.md ` 、` doc/faq.md ` 中的 AI IDE 支持列表,README 中注意 detail 中的内容也要填写
62- 6 . ** 更新 IDE 文件映射** :
57+ 1 . 在 ` config/source/editor-config/ ` 中补充该 IDE 所需的机器配置文件或兼容说明文件
58+ 2 . 如需新增 rules / instructions 兼容产物,更新 ` scripts/build-compat-config.mjs ` 的生成目标
59+ 3 . 更新 ` mcp/src/tools/setup.ts ` 中该 IDE 的文件映射和描述
60+ 4 . 如新增 skill 级兼容要求,确认是否需要保留到 ` config/.claude/skills/ ` 镜像
61+ 5 . 创建 ` doc/ide-setup/{ide-name}.md ` 配置文档
62+ 6 . 更新 ` README.md ` 、` doc/index.md ` 、` doc/faq.md ` 中的 AI IDE 支持列表,README 中注意 detail 中的内容也要填写
63+ 7 . ** 更新 IDE 文件映射** :
6364 - 在 ` mcp/src/tools/setup.ts ` 的 ` ALL_IDE_FILES ` 数组中添加新IDE的配置文件路径
6465 - 在 ` IDE_FILE_MAPPINGS ` 对象中添加新IDE的文件映射关系
6566 - 在 ` IDE_DESCRIPTIONS ` 对象中添加新IDE的描述
6667 - 在 ` IDE_TYPES ` 数组中添加新IDE的类型
67- 7 . 验证硬链接状态和文档完整性
68- 8 . 测试IDE特定下载功能是否正常工作
68+ 8 . 执行 ` node scripts/build-compat-config.mjs ` 验证兼容产物生成
69+ 9 . 如需本地检查 Claude skills 镜像,执行 ` node scripts/sync-claude-skills-mirror.mjs --check `
70+ 10 . 执行 ` node scripts/diff-compat-config.mjs ` 验证外部兼容面无回退
71+ 11 . 测试IDE特定下载功能是否正常工作
6972</add_aiide>
7073
7174<sync_doc>
@@ -81,9 +84,15 @@ cp -r doc/* {cloudbase-docs dir}/docs/ai/cloudbase-ai-toolkit/
8184
8285
8386<fix-config-hardlinks >
84- 用来修复 config 中的硬链接
85- sh ./scripts/fix-config-hardlinks.sh
86- </update_readme>
87+ 兼容文件不再通过硬链接维护。
88+ 日常维护时,直接修改 ` config/source/skills/ ` 、` config/source/guideline/ ` 、` config/source/editor-config/ ` 并提交即可。
89+ ` config/.claude/skills/ ` 是从 ` config/source/skills/ ` 自动同步的兼容镜像,不要手改。
90+ 兼容产物的生成和对外发布主要由 CI / workflow 负责,不需要像以前一样手动跑同步脚本。
91+ 只有在需要本地验证或手动同步外部模板仓库时,才执行:
92+ 1 . ` node scripts/sync-claude-skills-mirror.mjs `
93+ 2 . ` node scripts/build-compat-config.mjs `
94+ 3 . ` node scripts/sync-config.mjs `
95+ </fix-config-hardlinks >
8796
8897
8998<git_push>
@@ -142,12 +151,15 @@ git push github && git push cnb --force
142151<add_aiide>
143152# CloudBase AI Toolkit - 新增 AI IDE 支持工作流
144153
145- 1 . 创建 IDE 特定配置文件(如 ` .mcp.json ` 和 ` AGENTS.md ` )
146- 2 . 更新 ` scripts/fix-config-hardlinks.sh ` 添加新目标文件到硬链接列表
147- 3 . 执行硬链接脚本确保规则文件同步
148- 4 . 创建 ` doc/ide-setup/{ide-name}.md ` 配置文档
149- 5 . 更新 ` README.md ` 、` doc/index.md ` 、` doc/faq.md ` 中的 AI IDE 支持列表,README 中注意 detail 中的内容也要填写
150- 6 . 验证硬链接状态和文档完整性
154+ 1 . 在 ` config/source/editor-config/ ` 中补充该 IDE 所需的机器配置文件或兼容说明文件
155+ 2 . 如需新增 rules / instructions 兼容产物,更新 ` scripts/build-compat-config.mjs ` 的生成目标
156+ 3 . 更新 ` mcp/src/tools/setup.ts ` 中该 IDE 的文件映射和描述
157+ 4 . 如新增 skill 级兼容要求,确认是否需要保留到 ` config/.claude/skills/ ` 镜像
158+ 5 . 创建 ` doc/ide-setup/{ide-name}.md ` 配置文档
159+ 6 . 更新 ` README.md ` 、` doc/index.md ` 、` doc/faq.md ` 中的 AI IDE 支持列表,README 中注意 detail 中的内容也要填写
160+ 7 . 执行 ` node scripts/build-compat-config.mjs ` 验证兼容产物生成
161+ 8 . 如需本地检查 Claude skills 镜像,执行 ` node scripts/sync-claude-skills-mirror.mjs --check `
162+ 9 . 执行 ` node scripts/diff-compat-config.mjs ` 验证外部兼容面无回退
151163</add_aiide>
152164
153165
@@ -173,9 +185,15 @@ cp -r doc/* {cloudbase-docs dir}/docs/ai/cloudbase-ai-toolkit/
173185
174186
175187<fix-config-hardlinks >
176- 用来修复 config 中的硬链接
177- sh ./scripts/fix-config-hardlinks.sh
178- </update_readme>
188+ 兼容文件不再通过硬链接维护。
189+ 日常维护时,直接修改 ` config/source/skills/ ` 、` config/source/guideline/ ` 、` config/source/editor-config/ ` 并提交即可。
190+ ` config/.claude/skills/ ` 是从 ` config/source/skills/ ` 自动同步的兼容镜像,不要手改。
191+ 兼容产物的生成和对外发布主要由 CI / workflow 负责,不需要像以前一样手动跑同步脚本。
192+ 只有在需要本地验证或手动同步外部模板仓库时,才执行:
193+ 1 . ` node scripts/sync-claude-skills-mirror.mjs `
194+ 2 . ` node scripts/build-compat-config.mjs `
195+ 3 . ` node scripts/sync-config.mjs `
196+ </fix-config-hardlinks >
179197
180198
181199<git_push>
0 commit comments