@cnbcool/cnb-api-generate 2.12.3 → 2.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills-template/SKILL.md +6 -6
package/package.json
CHANGED
package/skills-template/SKILL.md
CHANGED
|
@@ -13,15 +13,15 @@ description: CNB 平台交互命令,支持代码仓库、Issue、PR、CI、制
|
|
|
13
13
|
|
|
14
14
|
注意事项:
|
|
15
15
|
|
|
16
|
-
- **参数自动识别**:快捷命令中的 Issue/PR
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
16
|
+
- **参数自动识别**:快捷命令中的 Issue/PR 编号自动从环境变量识别,无需额外传递。
|
|
17
|
+
- **默认仅需摘要**:默认精简响应输出,加 `--verbose` 输出完整数据。
|
|
18
|
+
- **单引号传参**:bash 参数为多行文本时用单引号,可降低命令注入风险。
|
|
19
|
+
- **快捷命令适用范围**:快捷命令只能操作当前仓库的当前 Issue/PR,跨仓库或跨编号操作请参考 `更多 API`。
|
|
20
|
+
- **关于提及和召唤**:评论中直接 @npc 会召唤 npc 干活;只提及不召唤时,用反引号包裹 `@npc`。
|
|
21
21
|
|
|
22
22
|
## 常用链接
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
生成链接时遵循以下结构:
|
|
25
25
|
|
|
26
26
|
- Issue: `<host>/<slug>/-/issues/<number>`
|
|
27
27
|
- PR: `<host>/<slug>/-/pulls/<number>`
|