kb
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesekb — bundles
kb — bundles
Hub for the family: vocabulary, shared reference, routing. Knowledge compounds —
compiled once, kept current, not re-derived per query. Does not modify a bundle — routes to the
skill that does.
kb-*核心枢纽:系列技能的词汇表、共享参考库与路由中心。知识复合包——一次性编译,持续更新,无需每次查询重新生成。本技能不修改知识包,仅路由至对应修改技能。
kb-*Key terms
关键术语
references/glossary.md defines the vocabulary. Minimum before routing:
Bundle, Ingest, Progressive disclosure, Trust model (see
trust-model.md).
references/glossary.md 定义了相关词汇。路由前需了解的核心术语:Bundle(知识包)、Ingest(导入)、Progressive disclosure(渐进式披露)、Trust model(信任模型)(详见trust-model.md)。
The one hard rule
唯一硬性规则
A bundle is conformant iff every non-reserved file has parseable YAML frontmatter with a
non-empty . Everything else is soft guidance — consumers MUST tolerate missing optional fields,
unknown types, and broken links. Never reject a bundle over them. Full rules:
references/SPEC.md §11.
.mdtypeThe domain portion of is a living, producer-chosen vocabulary, not a validation
enum. Keep the workflow conventions and ; start the domain types small
and evolve them through or
when the domain reveals a durable new kind of entity. Use
to detect schema drift.
spec/types.mdReferenceSpec Sectionkb-ingestkb-documentkb-lint一个知识包若要合规,需满足:所有非保留的文件均包含可解析的YAML前置元数据,且其中字段非空。其余均为软性指导——消费者必须兼容缺失的可选字段、未知类型与失效链接,绝不能因此拒绝知识包。完整规则详见:references/SPEC.md §11。
.mdtypespec/types.mdReferenceSpec Sectionkb-ingestkb-documentkb-lintRoute to the right skill
路由至对应技能
| The user wants to… | Use |
|---|---|
| Start a new bundle | |
| Capture, ingest, file, or process a source (note, transcript, PDF, image, URL) | |
| Document a repository, explain its architecture/workflows, or refresh knowledge after code changes | |
| Ask what the bundle knows; look something up; explore connections | |
| Health-check the bundle (drift, orphans, contradictions, conformance) | |
| See the bundle as a graph | |
If a bundle exists and would inform the current task, consult it via
before answering from scratch — even when the user didn't ask an
explicit knowledge question.
knowledge/kb-query| 用户需求 | 适用技能 |
|---|---|
| 创建新的知识包 | |
| 捕获、导入、归档或处理数据源(笔记、转录文本、PDF、图片、URL) | |
| 为仓库生成文档、解释其架构/工作流,或在代码变更后更新知识 | |
| 查询知识包内容、检索信息、探索关联 | |
| 检查知识包健康状态(偏差、孤立内容、矛盾点、合规性) | |
| 以图谱形式查看知识包 | |
若存在知识包且可辅助当前任务,应先通过查询该包,再从零开始作答——即使用户未明确提出知识查询类问题。
knowledge/kb-queryShared reference (single source of truth)
共享参考库(唯一事实来源)
Every skill reads these rather than restating them, so the family stays consistent:
kb-*- references/SPEC.md — OKF v0.2, vendored verbatim.
- references/version-profile.md — v0.2 production and v0.1 compatibility rules; every writing skill reads it before changing a bundle.
- references/glossary.md — leading words and definitions.
- references/trust-model.md — the maintenance rules.
- templates/ — ,
concept.md,index.mdstarters.log.md - example-bundle/ — a tiny conformant bundle: a worked example, and the seed
copies from.
kb-init
所有技能均读取以下资源,而非重复定义,以确保系列技能的一致性:
kb-*- references/SPEC.md — OKF v0.2,原版引入。
- references/version-profile.md — v0.2生产环境规则与v0.1兼容性规则;所有编辑类技能在修改知识包前均需读取此文档。
- references/glossary.md — 核心词汇与定义。
- references/trust-model.md — 维护规则。
- templates/ — 、
concept.md、index.md模板文件。log.md - example-bundle/ — 一个小型合规知识包:示例参考,也是技能复制的初始模板。
kb-init