feat: 迁移 GitNexus 通用技能到全局文档仓库
- 从各仓库 .claude/skills/gitnexus/ 迁移 6 个技能 - 更新 ai-skills/README.md 说明目录结构 - 所有仓库的 GitNexus 技能完全相同,统一维护
This commit is contained in:
+27
-8
@@ -7,20 +7,39 @@
|
||||
|
||||
```
|
||||
ai-skills/
|
||||
├── README.md # 本说明
|
||||
├── nacos-config-rules.md # Nacos 配置与 application.yml 规范
|
||||
├── issue-workflow.md # 工单处理流程
|
||||
├── gitea-api.md # Gitea API 使用指南
|
||||
├── menu-config.md # 菜单配置规范
|
||||
├── commit-standards.md # 提交规范
|
||||
└── sql-deploy.md # SQL 变更后置流程(推本地库 + 菜单 + 前端工单)
|
||||
├── README.md # 本说明
|
||||
├── nacos-config-rules.md # Nacos 配置与 application.yml 规范
|
||||
├── issue-workflow.md # 工单处理流程
|
||||
├── gitea-api.md # Gitea API 使用指南
|
||||
├── menu-config.md # 菜单配置规范
|
||||
├── commit-standards.md # 提交规范
|
||||
├── sql-deploy.md # SQL 变更后置流程(推本地库 + 菜单 + 前端工单)
|
||||
└── gitnexus/ # GitNexus 代码智能技能(所有仓库通用)
|
||||
├── gitnexus-cli/SKILL.md # CLI 命令(索引、状态、清理、Wiki)
|
||||
├── gitnexus-debugging/SKILL.md # 调试追踪(错误定位、根因分析)
|
||||
├── gitnexus-exploring/SKILL.md # 代码探索(架构理解、执行流追踪)
|
||||
├── gitnexus-guide/SKILL.md # 工具参考(工具、资源、Schema)
|
||||
├── gitnexus-impact-analysis/SKILL.md # 影响分析(变更安全评估)
|
||||
└── gitnexus-refactoring/SKILL.md # 重构安全(重命名、提取、拆分)
|
||||
```
|
||||
|
||||
## GitNexus 技能说明
|
||||
|
||||
GitNexus 技能是从各仓库 `.claude/skills/gitnexus/` 迁移而来的**仓库无关**通用技能。
|
||||
所有仓库(rui-framework、rui-frontend、rui-cashier、rui-payment)的 GitNexus 技能完全相同,
|
||||
因此统一迁移到全局文档仓库维护。
|
||||
|
||||
## 使用方式
|
||||
|
||||
各项目通过 submodule 引用后,AI 可在以下路径读取:
|
||||
```
|
||||
项目/docs/shared/ai-skills/
|
||||
项目/rui-docs/ai-skills/
|
||||
```
|
||||
|
||||
对于支持 `.claude/skills/` 的 Claude 项目,可以创建符号链接:
|
||||
```bash
|
||||
# 将全局技能链接到项目的 .claude/skills/
|
||||
ln -s ../../rui-docs/ai-skills/gitnexus .claude/skills/gitnexus
|
||||
```
|
||||
|
||||
## 更新流程
|
||||
|
||||
Reference in New Issue
Block a user