@klickd/core 4.0.0 → 4.0.2
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/README.md +36 -0
- package/dist/index.cjs +746 -8
- package/dist/index.d.cts +22 -1
- package/dist/index.d.ts +22 -1
- package/dist/index.js +741 -8
- package/package.json +4 -2
- package/starter-skills/README.md +98 -0
- package/starter-skills/coding.klickd +226 -0
- package/starter-skills/manifest.json +44 -0
- package/starter-skills/research.klickd +230 -0
- package/starter-skills/student.klickd +240 -0
- package/starter-skills/user.klickd +224 -0
- package/dist/klickd-payload-v4-preview.schema-W7RY72VP.json +0 -98
- package/dist/klickd-payload-v4.schema-7UPTEJOY.json +0 -354
- package/dist/klickd-v4-preview.schema-QHITWMK6.json +0 -95
- package/dist/klickd-v4.schema-ZZGRYTLY.json +0 -129
package/README.md
CHANGED
|
@@ -110,6 +110,42 @@ const recovered = await loadKlickd(
|
|
|
110
110
|
|
|
111
111
|
See `SPEC.md §33` and `examples/v4-preview/` for preview-track details.
|
|
112
112
|
|
|
113
|
+
### Starter `.klickd` skills (v4.0 envelope — non-normative)
|
|
114
|
+
|
|
115
|
+
Four real, structured, downloadable starter `.klickd` skills ship under [`examples/v4/starter-skills/`](https://github.com/Davincc77/klickdskill/tree/main/examples/v4/starter-skills):
|
|
116
|
+
|
|
117
|
+
- [`user.klickd`](https://github.com/Davincc77/klickdskill/blob/main/examples/v4/starter-skills/user.klickd) — `x.klickd/user` (transversal base)
|
|
118
|
+
- [`student.klickd`](https://github.com/Davincc77/klickdskill/blob/main/examples/v4/starter-skills/student.klickd) — `x.klickd/student` (education)
|
|
119
|
+
- [`research.klickd`](https://github.com/Davincc77/klickdskill/blob/main/examples/v4/starter-skills/research.klickd) — `x.klickd/research` (research / evidence discipline)
|
|
120
|
+
- [`coding.klickd`](https://github.com/Davincc77/klickdskill/blob/main/examples/v4/starter-skills/coding.klickd) — `x.klickd/coding` (software engineering)
|
|
121
|
+
|
|
122
|
+
Each skill carries `base_transversal_core`, framework-anchored `competencies[]` (ESCO / DigComp / LifeComp / EQF / CEFR / SFIA), `levels[]`, `mastery[]` (pointer-only), `source_policy`, `evidence_policy`, `verification_gates`, `human_authority`, and a `structured_memory` slice scoped to `memory.x_klickd.<pack>`. They are **non-normative** and trigger **no release**. SHA-256 manifest in [`manifest.json`](https://github.com/Davincc77/klickdskill/blob/main/examples/v4/starter-skills/manifest.json); offline verifier `scripts/verify_starter_skills.py`.
|
|
123
|
+
|
|
124
|
+
#### Bundled in `@klickd/core` 4.0.1
|
|
125
|
+
|
|
126
|
+
Starting with **`@klickd/core` 4.0.1** (a packaging-only patch — the stable
|
|
127
|
+
spec release remains **v4.0.0**), these four starter `.klickd` skills are
|
|
128
|
+
shipped inside the npm tarball under `starter-skills/` and exposed through a
|
|
129
|
+
small helper API. The on-the-wire `.klickd` format, the bundled JSON schemas,
|
|
130
|
+
and the spec are unchanged from v4.0.0. This patch ships only the starter
|
|
131
|
+
skill packaging fix; no new schema material is introduced.
|
|
132
|
+
|
|
133
|
+
```typescript
|
|
134
|
+
import {
|
|
135
|
+
listStarterSkills,
|
|
136
|
+
getStarterSkillBytes,
|
|
137
|
+
getStarterSkillsManifest,
|
|
138
|
+
getStarterSkillsDir,
|
|
139
|
+
} from '@klickd/core';
|
|
140
|
+
|
|
141
|
+
listStarterSkills();
|
|
142
|
+
// → ['coding.klickd', 'research.klickd', 'student.klickd', 'user.klickd']
|
|
143
|
+
|
|
144
|
+
const bytes = getStarterSkillBytes('user.klickd');
|
|
145
|
+
const manifest = getStarterSkillsManifest();
|
|
146
|
+
const dir = getStarterSkillsDir(); // absolute path to bundled starter-skills/
|
|
147
|
+
```
|
|
148
|
+
|
|
113
149
|
---
|
|
114
150
|
|
|
115
151
|
## Cryptographic specification (v3.0)
|