From 24e81d9430b4e8dc0464507525f380bb10b31169 Mon Sep 17 00:00:00 2001 From: Lyda <1829913225@qq.com> Date: Thu, 22 Jan 2026 17:48:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B0=86=E4=BB=A3=E7=A0=81=E5=AE=A1?= =?UTF-8?q?=E6=9F=A5=E5=B7=A5=E5=85=B7=E4=BB=8E=20gitea-flow=20=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E8=87=B3=20spaceflow,=E6=9B=B4=E6=96=B0=E6=8A=80?= =?UTF-8?q?=E8=83=BD=E6=96=87=E6=A1=A3=E4=B8=AD=E7=9A=84=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 5 +++++ SKILL.md | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8d593fa --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "spaceflow" + ] +} \ No newline at end of file diff --git a/SKILL.md b/SKILL.md index 4994836..79c88ee 100644 --- a/SKILL.md +++ b/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`:指定基准分支