@@ -1173,9 +1173,21 @@ export default {
11731173 {
11741174 subTitle : '对话安装' ,
11751175 codeList : [
1176- `请根据上方的「直接下载 Zip」和「手动安装说明」,`
1177- + `将 ${ this . dependInputValue1 || '<SKILL_SLUG>' } `
1178- + ` ${ this . dependInputValue2 || '<VERSION>' } 安装到 skills 目录`
1176+ `你是一名 Skill 安装助手。请按以下步骤操作:` ,
1177+ `` ,
1178+ `1. 下载 Skill zip 包:` ,
1179+ ` curl -u ${ this . userName } :${ this . accessToken } -o ` +
1180+ `"${ this . dependInputValue1 || '<SKILL_SLUG>' } -${ this . dependInputValue2 || '<VERSION>' } .zip" ` +
1181+ `"${ this . repoUrl } /download?slug=${ this . dependInputValue1 || '<SKILL_SLUG>' } ` +
1182+ `&version=${ this . dependInputValue2 || '<VERSION>' } "` ,
1183+ `` ,
1184+ `2. 解压到对应 Agent 的 skills 目录:` ,
1185+ ` Cursor: unzip -o ${ this . dependInputValue1 || '<SKILL_SLUG>' } ` +
1186+ `-${ this . dependInputValue2 || '<VERSION>' } .zip -d ~/.cursor/skills/` ,
1187+ ` Claude Code: unzip -o ${ this . dependInputValue1 || '<SKILL_SLUG>' } ` +
1188+ `-${ this . dependInputValue2 || '<VERSION>' } .zip -d ~/.claude/skills/` ,
1189+ `` ,
1190+ `3. 重启 Agent 即可使用`
11791191 ]
11801192 } ,
11811193 {
@@ -1235,8 +1247,21 @@ export default {
12351247 {
12361248 subTitle : '对话安装' ,
12371249 codeList : [
1238- `请根据上方的「直接下载 Zip」和「手动安装说明」,`
1239- + `将 ${ this . packageName } ${ this . versionLabel } 安装到 skills 目录`
1250+ `你是一名 Skill 安装助手。请按以下步骤操作:` ,
1251+ `` ,
1252+ `1. 下载 Skill zip 包:` ,
1253+ ` curl -u ${ this . userName } :${ this . accessToken } -o ` +
1254+ `"${ this . packageName } -${ this . versionLabel } .zip" ` +
1255+ `"${ this . repoUrl } /download?slug=${ this . packageName } ` +
1256+ `&version=${ this . versionLabel } "` ,
1257+ `` ,
1258+ `2. 解压到对应 Agent 的 skills 目录:` ,
1259+ ` Cursor: unzip -o ${ this . packageName } ` +
1260+ `-${ this . versionLabel } .zip -d ~/.cursor/skills/` ,
1261+ ` Claude Code: unzip -o ${ this . packageName } ` +
1262+ `-${ this . versionLabel } .zip -d ~/.claude/skills/` ,
1263+ `` ,
1264+ `3. 重启 Agent 即可使用`
12401265 ]
12411266 } ,
12421267 {
0 commit comments