@cnbcool/cnb-api-generate 2.18.13 → 2.18.14
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 +3 -2
package/package.json
CHANGED
package/skills-template/SKILL.md
CHANGED
|
@@ -19,6 +19,7 @@ description: CNB 平台交互命令,支持代码仓库、Issue、PR、CI、制
|
|
|
19
19
|
编号同 `--repo` 一样默认从环境变量识别,无需传递;用 `--repo <组织/仓库>`、`--number <编号>` 可覆盖。
|
|
20
20
|
|
|
21
21
|
例如:
|
|
22
|
+
|
|
22
23
|
- `cnb issues get --number 66`
|
|
23
24
|
- `cnb pulls get --repo x/y --number 99`
|
|
24
25
|
|
|
@@ -34,13 +35,13 @@ description: CNB 平台交互命令,支持代码仓库、Issue、PR、CI、制
|
|
|
34
35
|
## 常用链接
|
|
35
36
|
|
|
36
37
|
生成链接时遵循以下结构:
|
|
38
|
+
|
|
37
39
|
- Issue: `<host>/<slug>/-/issues/<number>`
|
|
38
40
|
- PR: `<host>/<slug>/-/pulls/<number>`
|
|
39
41
|
|
|
40
42
|
## 正文中引用 Issue / PR
|
|
41
43
|
|
|
42
|
-
-
|
|
43
|
-
- 跨仓库:`<slug>#<number>`(如 `x/y#101`)
|
|
44
|
+
- 统一写 `<slug>#<number>` 或完整链接(格式见上)。
|
|
44
45
|
|
|
45
46
|
## 更多 API
|
|
46
47
|
|