refactor: 全局替换 spring-ai -> rui-framework
同步仓库名称变更,涉及 16 个文件 66 处引用: - ai-skills: 菜单配置 - backend/guides: AI操作手册、环境配置、部署、gitnexus、opencode 工作流 - backend: 模块创建规则、通信规范、协作工作流、实施规范 - frontend: 收银设计、管理后台实施计划 - standards: 数据库设计规范
This commit is contained in:
@@ -169,7 +169,7 @@ npx gitnexus list
|
||||
```
|
||||
Indexed Repositories (2)
|
||||
|
||||
spring-ai
|
||||
rui-framework
|
||||
Path: ~/work/rui-framework
|
||||
Stats: 7504 symbols, 15350 edges
|
||||
|
||||
@@ -220,7 +220,7 @@ AI:基于 rui-payment 索引分析...
|
||||
```
|
||||
gitnexus_context({
|
||||
name: "AuthUtil",
|
||||
repo: "spring-ai"
|
||||
repo: "rui-framework"
|
||||
})
|
||||
```
|
||||
|
||||
@@ -228,7 +228,7 @@ gitnexus_context({
|
||||
```
|
||||
gitnexus_query({
|
||||
query: "分布式锁 Redisson",
|
||||
repo: "spring-ai"
|
||||
repo: "rui-framework"
|
||||
})
|
||||
```
|
||||
|
||||
@@ -236,7 +236,7 @@ gitnexus_query({
|
||||
```
|
||||
gitnexus_impact({
|
||||
target: "BaseController",
|
||||
repo: "spring-ai",
|
||||
repo: "rui-framework",
|
||||
direction: "upstream"
|
||||
})
|
||||
```
|
||||
@@ -245,7 +245,7 @@ gitnexus_impact({
|
||||
```
|
||||
gitnexus_query({
|
||||
query: "用户登录认证流程",
|
||||
repo: "spring-ai"
|
||||
repo: "rui-framework"
|
||||
})
|
||||
```
|
||||
|
||||
@@ -253,9 +253,9 @@ gitnexus_query({
|
||||
|
||||
| 我想查... | 命令 | 仓库 |
|
||||
|-----------|------|------|
|
||||
| `AuthUtil.getUserId()` 怎么用 | `gitnexus_context({name:"AuthUtil", repo:"spring-ai"})` | framework |
|
||||
| 业务异常怎么抛 | `gitnexus_query({query:"BizException", repo:"spring-ai"})` | framework |
|
||||
| 分布式锁怎么加 | `gitnexus_query({query:"Redisson分布式锁", repo:"spring-ai"})` | framework |
|
||||
| `AuthUtil.getUserId()` 怎么用 | `gitnexus_context({name:"AuthUtil", repo:"rui-framework"})` | framework |
|
||||
| 业务异常怎么抛 | `gitnexus_query({query:"BizException", repo:"rui-framework"})` | framework |
|
||||
| 分布式锁怎么加 | `gitnexus_query({query:"Redisson分布式锁", repo:"rui-framework"})` | framework |
|
||||
| 支付订单状态流转 | `gitnexus_query({query:"订单状态", repo:"rui-payment"})` | payment |
|
||||
| 修改订单会影响哪里 | `gitnexus_impact({target:"OrderService", direction:"upstream"})` | payment |
|
||||
| 收银台缓存策略 | `gitnexus_query({query:"缓存 CacheKeys", repo:"rui-cashier"})` | cashier |
|
||||
@@ -274,11 +274,11 @@ gitnexus_query({
|
||||
AI:建议调用 AuthUtil.getUserId()...
|
||||
|
||||
4. 员工:AuthUtil 有哪些方法?
|
||||
【AI执行】gitnexus_context({name:"AuthUtil", repo:"spring-ai"})
|
||||
【AI执行】gitnexus_context({name:"AuthUtil", repo:"rui-framework"})
|
||||
AI:AuthUtil 提供 getUserId()、getTenantId()、getUser()...
|
||||
|
||||
5. 员工:退款金额用 BigDecimal 吗?
|
||||
【AI执行】gitnexus_query({query:"金额计算 BigDecimal", repo:"spring-ai"})
|
||||
【AI执行】gitnexus_query({query:"金额计算 BigDecimal", repo:"rui-framework"})
|
||||
AI:框架规范要求金额使用 DECIMAL(19,4),Java 对应 BigDecimal...
|
||||
|
||||
6. AI 生成完整代码
|
||||
@@ -305,7 +305,7 @@ npx gitnexus analyze
|
||||
# 查看所有索引
|
||||
npx gitnexus list
|
||||
|
||||
# 确认 spring-ai 存在
|
||||
# 确认 rui-framework 存在
|
||||
# 如果不存在,重新索引框架仓库
|
||||
cd ~/work/rui-framework
|
||||
npx gitnexus analyze
|
||||
@@ -353,7 +353,7 @@ npx gitnexus analyze
|
||||
|
||||
| 仓库路径 | 索引名称 | 说明 |
|
||||
|----------|----------|------|
|
||||
| `~/work/rui-framework` | `spring-ai` | 基于 pom.xml artifactId |
|
||||
| `~/work/rui-framework` | `rui-framework` | 基于 pom.xml artifactId |
|
||||
| `~/work/rui-payment` | `rui-payment` | 基于目录名 |
|
||||
| `~/work/rui-cashier` | `rui-cashier` | 基于目录名 |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user