skill-family-engineering-kit 0.2.1 → 0.3.0
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/CHANGELOG.md +22 -0
- package/CHANGELOG.zh-CN.md +22 -0
- package/README.md +15 -12
- package/README.zh-CN.md +15 -12
- package/candidate/profile-bundle.mjs +1058 -176
- package/candidate/projection-bundle-cli.mjs +57 -15
- package/candidate/skill-naming-cli.mjs +59 -0
- package/candidate/skill-naming-policy.json +46 -0
- package/candidate/skill-naming.mjs +280 -0
- package/docs/agents/capability-catalog.en.json +13 -10
- package/docs/agents/capability-catalog.json +3 -2
- package/docs/agents/capability-catalog.zh-CN.json +13 -10
- package/docs/en/migration/index.html +4 -3
- package/docs/en/recipes/adopt-existing-repository/index.html +2 -1
- package/docs/en/recipes/domain-schema-validation/index.html +3 -1
- package/docs/en/recipes/index.html +2 -1
- package/docs/en/reference/api/index.html +24 -0
- package/docs/en/reference/compatibility/index.html +51 -5
- package/docs/migration/index.html +4 -3
- package/docs/public/status/index.html +3 -3
- package/docs/recipes/adopt-existing-repository/index.html +2 -1
- package/docs/recipes/domain-schema-validation/index.html +3 -1
- package/docs/recipes/index.html +2 -1
- package/docs/reference/api/contracts/index.html +26 -0
- package/docs/reference/api/engineering-kit/index.html +26 -0
- package/docs/reference/api/harness/index.html +27 -1
- package/docs/reference/api/index.html +25 -1
- package/docs/reference/compatibility/index.html +51 -5
- package/docs/search/search_index.json +1 -1
- package/package.json +5 -4
- package/release-notes/0.3.0.yaml +25 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
<!-- release-skill:changelog:start version=0.3.0 locale=en baseline=sha256:4c017d6121ff888f90ad9a4ef958b4fee3e25c8d1b69be61cc1ba1f79d527163 -->
|
|
4
|
+
## [0.3.0] - 2026-08-12
|
|
5
|
+
|
|
6
|
+
This source candidate builds a deterministic Quickstart Profile v2 bundle that runs offline without Foundation packages, node_modules, or runtime Ajv.
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- Accepts explicit consumer schema files and source identity, then generates standalone validators selected by schema $id.
|
|
11
|
+
- Records complete source and payload provenance, package-manager identity, and the licenses for third-party code that enters the bundle.
|
|
12
|
+
- Adds a candidate plugin skill naming checker (policy JSON plus build-time CLI) that scans a plugin skills root and reports per-rule PASS/FAIL for the prefixed-name, description-signal, and routing-scope rules.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Replaces the incompatible 0.2.1 dependency-closure bundle; consumers that still require v1 must remain pinned to exactly 0.2.1.
|
|
17
|
+
- Projects the Contracts and Harness runtime mechanically while preserving the stable four-command Kit surface.
|
|
18
|
+
|
|
19
|
+
### Upgrade Notes
|
|
20
|
+
|
|
21
|
+
Version 0.3.0 is a local, unpublished source candidate. Regenerate managed bundles from frozen inputs and pin the builder to exactly 0.3.0 when adopting v2.
|
|
22
|
+
<!-- release-skill:changelog:end version=0.3.0 locale=en -->
|
|
23
|
+
|
|
24
|
+
|
|
3
25
|
<!-- release-skill:changelog:start version=0.2.1 locale=en baseline=sha256:3457c97a9a2f25fd233a1947dcd9c88fb40279e90ae5b437bea1f7660ac6ce60 -->
|
|
4
26
|
## [0.2.1] - 2026-08-10
|
|
5
27
|
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# 变更日志
|
|
2
2
|
|
|
3
|
+
<!-- release-skill:changelog:start version=0.3.0 locale=zh-CN baseline=sha256:ddb48e61ef87de545348880216ee283b5d0165305dd5dfd8e044929b93ec4673 -->
|
|
4
|
+
## [0.3.0] - 2026-08-12
|
|
5
|
+
|
|
6
|
+
本源码候选版构建确定性的 Quickstart Profile v2 Bundle,运行时不依赖 Foundation 包、node_modules 或 Ajv。
|
|
7
|
+
|
|
8
|
+
### 新增
|
|
9
|
+
|
|
10
|
+
- 接收显式消费者 Schema 文件与来源身份,生成按 Schema $id 选择的 standalone validator。
|
|
11
|
+
- 完整记录来源与 payload provenance、包管理器身份,以及实际进入 Bundle 的第三方代码许可证。
|
|
12
|
+
- 新增候选插件技能命名检查器(policy JSON 加构建期 CLI):扫描插件 skills 根目录,对前缀命名、description 领域信号与路由入口范围三条规则逐项输出 PASS/FAIL。
|
|
13
|
+
|
|
14
|
+
### 变更
|
|
15
|
+
|
|
16
|
+
- 替换与 0.2.1 不兼容的依赖闭包 Bundle;仍依赖 v1 的消费者必须继续精确锁定 0.2.1。
|
|
17
|
+
- 机械投影 Contracts 与 Harness 运行代码,同时保持 Kit 稳定的四命令边界。
|
|
18
|
+
|
|
19
|
+
### 升级说明
|
|
20
|
+
|
|
21
|
+
0.3.0 当前只是本地、未发布的源码候选。采用 v2 时,应从冻结输入重新生成受管 Bundle,并把 builder 精确锁定为 0.3.0。
|
|
22
|
+
<!-- release-skill:changelog:end version=0.3.0 locale=zh-CN -->
|
|
23
|
+
|
|
24
|
+
|
|
3
25
|
<!-- release-skill:changelog:start version=0.2.1 locale=zh-CN baseline=sha256:f43f41fadfa1dc9affd87825a382af6aed91050ef36a0c0854a6b04c2ba7fcea -->
|
|
4
26
|
## [0.2.1] - 2026-08-10
|
|
5
27
|
|
package/README.md
CHANGED
|
@@ -4,28 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
# skill-family-engineering-kit
|
|
6
6
|
|
|
7
|
-
<!-- release-skill:release-version: 0.
|
|
7
|
+
<!-- release-skill:release-version: 0.3.0 -->
|
|
8
8
|
|
|
9
9
|
An engineering toolkit used in development and CI. There are **exactly four** top-level commands, and no fifth:
|
|
10
10
|
|
|
11
11
|
<!-- release-skill:managed:start id=latest-release -->
|
|
12
|
-
**0.
|
|
12
|
+
**0.3.0** (2026-08-12)
|
|
13
13
|
|
|
14
|
-
This
|
|
14
|
+
This source candidate builds a deterministic Quickstart Profile v2 bundle that runs offline without Foundation packages, node_modules, or runtime Ajv.
|
|
15
15
|
|
|
16
16
|
**Added**
|
|
17
17
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
18
|
+
- Accepts explicit consumer schema files and source identity, then generates standalone validators selected by schema $id.
|
|
19
|
+
- Records complete source and payload provenance, package-manager identity, and the licenses for third-party code that enters the bundle.
|
|
20
|
+
- Adds a candidate plugin skill naming checker (policy JSON plus build-time CLI) that scans a plugin skills root and reports per-rule PASS/FAIL for the prefixed-name, description-signal, and routing-scope rules.
|
|
20
21
|
|
|
21
22
|
**Changed**
|
|
22
23
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
24
|
+
- Replaces the incompatible 0.2.1 dependency-closure bundle; consumers that still require v1 must remain pinned to exactly 0.2.1.
|
|
25
|
+
- Projects the Contracts and Harness runtime mechanically while preserving the stable four-command Kit surface.
|
|
25
26
|
|
|
26
27
|
**Upgrade Notes**
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
Version 0.3.0 is a local, unpublished source candidate. Regenerate managed bundles from frozen inputs and pin the builder to exactly 0.3.0 when adopting v2.
|
|
29
30
|
<!-- release-skill:managed:end id=latest-release -->
|
|
30
31
|
|
|
31
32
|
| Command | Purpose | Side effects |
|
|
@@ -46,7 +47,7 @@ Kit is the "engineering stage" layer, depending on the Harness and Contracts. It
|
|
|
46
47
|
## Installation and Minimal Example
|
|
47
48
|
|
|
48
49
|
```sh
|
|
49
|
-
npm install --save-dev skill-family-engineering-kit@0.
|
|
50
|
+
npm install --save-dev skill-family-engineering-kit@0.3.0
|
|
50
51
|
npm exec -- skill-family-kit --help
|
|
51
52
|
npm exec -- skill-family-kit scaffold --root <empty-dir> --project-id my-project
|
|
52
53
|
npm exec -- skill-family-kit adopt-plan --root <repo>
|
|
@@ -54,7 +55,7 @@ npm exec -- skill-family-kit projection --root <repo>
|
|
|
54
55
|
npm exec -- skill-family-kit check --root <repo>
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
The four commands above cover skeleton generation, read-only inventory, managed projection, and diagnostics respectively; a zero-install form is available via `npm exec --package=skill-family-engineering-kit@0.
|
|
58
|
+
The four commands above cover skeleton generation, read-only inventory, managed projection, and diagnostics respectively; a zero-install form is available via `npm exec --package=skill-family-engineering-kit@0.3.0 -- skill-family-kit --help`.
|
|
58
59
|
|
|
59
60
|
### Report sub-action
|
|
60
61
|
|
|
@@ -67,7 +68,7 @@ The caller must first construct a valid report model; Kit does not derive facts
|
|
|
67
68
|
|
|
68
69
|
### Candidate Quickstart projection bundle
|
|
69
70
|
|
|
70
|
-
Use the candidate subpath to build a deterministic
|
|
71
|
+
Use the candidate subpath to build a deterministic Quickstart Profile v2 projection from explicit consumer schemas and frozen source identity:
|
|
71
72
|
|
|
72
73
|
```js
|
|
73
74
|
import {
|
|
@@ -76,7 +77,9 @@ import {
|
|
|
76
77
|
} from "skill-family-engineering-kit/candidate/quickstart-profile";
|
|
77
78
|
```
|
|
78
79
|
|
|
79
|
-
|
|
80
|
+
The generated Bundle selects standalone validators by schema `$id` and runs offline without Foundation packages, `node_modules`, or runtime Ajv. Its provenance binds Foundation sources, consumer schemas, payload bytes, tool versions, and the licenses of code that actually enters the Bundle.
|
|
81
|
+
|
|
82
|
+
Pass the returned `manifest` to the stable `runProjection` API; the helper does not write files or add a fifth top-level command. This subpath is public but **not stable**. Pin exactly `0.3.0` for v2; integrations that still require the v1 dependency-closure Bundle must stay pinned to exactly `0.2.1`.
|
|
80
83
|
|
|
81
84
|
### Host sub-action
|
|
82
85
|
|
package/README.zh-CN.md
CHANGED
|
@@ -5,28 +5,29 @@
|
|
|
5
5
|
|
|
6
6
|
# skill-family-engineering-kit
|
|
7
7
|
|
|
8
|
-
<!-- release-skill:release-version: 0.
|
|
8
|
+
<!-- release-skill:release-version: 0.3.0 -->
|
|
9
9
|
|
|
10
10
|
开发与 CI 阶段使用的工程工具包。**恰好四个**顶层命令,没有第五个:
|
|
11
11
|
|
|
12
12
|
<!-- release-skill:managed:start id=latest-release -->
|
|
13
|
-
**0.
|
|
13
|
+
**0.3.0** (2026-08-12)
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
本源码候选版构建确定性的 Quickstart Profile v2 Bundle,运行时不依赖 Foundation 包、node_modules 或 Ajv。
|
|
16
16
|
|
|
17
17
|
**新增**
|
|
18
18
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
19
|
+
- 接收显式消费者 Schema 文件与来源身份,生成按 Schema $id 选择的 standalone validator。
|
|
20
|
+
- 完整记录来源与 payload provenance、包管理器身份,以及实际进入 Bundle 的第三方代码许可证。
|
|
21
|
+
- 新增候选插件技能命名检查器(policy JSON 加构建期 CLI):扫描插件 skills 根目录,对前缀命名、description 领域信号与路由入口范围三条规则逐项输出 PASS/FAIL。
|
|
21
22
|
|
|
22
23
|
**变更**
|
|
23
24
|
|
|
24
|
-
-
|
|
25
|
-
-
|
|
25
|
+
- 替换与 0.2.1 不兼容的依赖闭包 Bundle;仍依赖 v1 的消费者必须继续精确锁定 0.2.1。
|
|
26
|
+
- 机械投影 Contracts 与 Harness 运行代码,同时保持 Kit 稳定的四命令边界。
|
|
26
27
|
|
|
27
28
|
**升级说明**
|
|
28
29
|
|
|
29
|
-
|
|
30
|
+
0.3.0 当前只是本地、未发布的源码候选。采用 v2 时,应从冻结输入重新生成受管 Bundle,并把 builder 精确锁定为 0.3.0。
|
|
30
31
|
<!-- release-skill:managed:end id=latest-release -->
|
|
31
32
|
|
|
32
33
|
| 命令 | 用途 | 副作用 |
|
|
@@ -47,7 +48,7 @@ Kit 是「工程阶段」层,依赖 Harness 与 Contracts。它只做四件事
|
|
|
47
48
|
## 安装和最小示例
|
|
48
49
|
|
|
49
50
|
```sh
|
|
50
|
-
npm install --save-dev skill-family-engineering-kit@0.
|
|
51
|
+
npm install --save-dev skill-family-engineering-kit@0.3.0
|
|
51
52
|
npm exec -- skill-family-kit --help
|
|
52
53
|
npm exec -- skill-family-kit scaffold --root <empty-dir> --project-id my-project
|
|
53
54
|
npm exec -- skill-family-kit adopt-plan --root <repo>
|
|
@@ -55,7 +56,7 @@ npm exec -- skill-family-kit projection --root <repo>
|
|
|
55
56
|
npm exec -- skill-family-kit check --root <repo>
|
|
56
57
|
```
|
|
57
58
|
|
|
58
|
-
以上四条命令分别覆盖生成骨架、只读盘点、受管投影与诊断;零安装形式可用 `npm exec --package=skill-family-engineering-kit@0.
|
|
59
|
+
以上四条命令分别覆盖生成骨架、只读盘点、受管投影与诊断;零安装形式可用 `npm exec --package=skill-family-engineering-kit@0.3.0 -- skill-family-kit --help`。
|
|
59
60
|
|
|
60
61
|
### 报告子动作
|
|
61
62
|
|
|
@@ -68,7 +69,7 @@ npm exec -- skill-family-kit check report --root <repo> --report <report.md> --m
|
|
|
68
69
|
|
|
69
70
|
### Candidate Quickstart 投影包
|
|
70
71
|
|
|
71
|
-
|
|
72
|
+
需要从显式消费者 Schema 与冻结来源身份生成确定性的 Quickstart Profile v2 投影时,使用 candidate 子路径:
|
|
72
73
|
|
|
73
74
|
```js
|
|
74
75
|
import {
|
|
@@ -77,7 +78,9 @@ import {
|
|
|
77
78
|
} from "skill-family-engineering-kit/candidate/quickstart-profile";
|
|
78
79
|
```
|
|
79
80
|
|
|
80
|
-
|
|
81
|
+
生成的 Bundle 按 Schema `$id` 选择 standalone validator,离线运行时不依赖 Foundation 包、`node_modules` 或 Ajv。provenance 绑定 Foundation 来源、消费者 Schema、payload 字节、工具版本,以及实际进入 Bundle 的代码许可证。
|
|
82
|
+
|
|
83
|
+
以上辅助函数不写文件,也不增加第五个顶层命令。调用方需要把返回的 `manifest` 交给稳定的 `runProjection` API。该子路径公开但**不稳定**;使用 v2 时应精确锁定 `0.3.0`,仍依赖 v1 依赖闭包 Bundle 的接入必须继续精确锁定 `0.2.1`。
|
|
81
84
|
|
|
82
85
|
### 宿主子动作
|
|
83
86
|
|