feat: 将代码审查工具从 gitea-flow 迁移至 spaceflow,更新技能文档中的命令示例
This commit is contained in:
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"cSpell.words": [
|
||||
"spaceflow"
|
||||
]
|
||||
}
|
||||
8
SKILL.md
8
SKILL.md
@@ -20,13 +20,13 @@ metadata:
|
||||
### 同步最新代码规范
|
||||
|
||||
```bash
|
||||
npx gitea-flow ai-review --sync
|
||||
npx spaceflow install
|
||||
```
|
||||
|
||||
### 审查一个文件
|
||||
|
||||
```bash
|
||||
npx gitea-flow ai-review -b main --head develop -f $CODE_PATH -v 1
|
||||
npx spaceflow review -b main --head develop -f $CODE_PATH -v 1
|
||||
```
|
||||
|
||||
- `$CODE_PATH`:需要检查的文件路径
|
||||
@@ -37,7 +37,7 @@ npx gitea-flow ai-review -b main --head develop -f $CODE_PATH -v 1
|
||||
### 审查一个Commit
|
||||
|
||||
```bash
|
||||
npx gitea-flow ai-review -b main --head develop --commits $COMMIT_ID -v 1
|
||||
npx spaceflow review -b main --head develop --commits $COMMIT_ID -v 1
|
||||
```
|
||||
|
||||
- `$COMMIT_ID`:需要检查的Commit ID,可以是多个空格隔开
|
||||
@@ -48,7 +48,7 @@ npx gitea-flow ai-review -b main --head develop --commits $COMMIT_ID -v 1
|
||||
### 审查两个分支的差异代码
|
||||
|
||||
```bash
|
||||
npx gitea-flow ai-review -b main --head develop -v 1
|
||||
npx spaceflow review -b main --head develop -v 1
|
||||
```
|
||||
|
||||
- `-b main`:指定基准分支
|
||||
|
||||
Reference in New Issue
Block a user