Initial commit: company-kb framework

- 完整的知识库框架(P0-P5 路线图)
- 12篇治理文档
- 工具脚本(kb-init.sh, kb-lint-fm.py, feishu-sync.py, kb-bot)
- 7个 Claude 命令
- 示例项目和测试项目(wanniu-l1)
- 契约文件(meta/kb-contract.yaml)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
yangqianqian
2026-07-16 18:24:39 +08:00
commit 84f7950589
60 changed files with 4410 additions and 0 deletions

36
projects/_example/_index.md Executable file
View File

@@ -0,0 +1,36 @@
---
type: project
title: "示例项目Example"
description: 一个照抄即合规的 OKF 对齐示例项目,给同事看 frontmatter 与目录结构长什么样。
status: developing
created: 2026-06-18
ingested: 2026-06-24
tags: [示例, onboarding]
related:
- "[[decision-clientA-tiered-pricing]]"
- "[[conversation-kickoff-20260618]]"
---
# 示例项目Example
> 这是给同事的活样板。新建真实项目请用 `bash tools/kb-init.sh <代号>`,不要复制本目录名 `_example`。
## 概览
虚构的「客户 A 定制化交付」项目,用来演示如何把项目资料结构化沉淀进知识库。
## 进展
- 2026-06-18 项目启动会,确定范围与需求方(见 conversations/
- 2026-06-20 定价策略拍板为阶梯定价(见 decisions/
## 关键决策
- [[decision-clientA-tiered-pricing]] —— 采用阶梯定价而非一口价
## 需求方 / 参与人
- 需求方:客户 A 采购部
- 内部:张三(商务)、李四(交付)
## 资料索引
- `docs/` :外部汇入的正式文档(需求书/合同/方案)
- `conversations/` :聊天记录结构化沉淀
- `decisions/` :决策记录,每条挂溯源
- `assets/` :原始附件(唯一免 frontmatter 目录)

View File

View File

@@ -0,0 +1,31 @@
---
type: conversation
title: "客户 A 项目启动会要点"
description: 启动会摘录:确认交付范围、需求方对接人、首个里程碑时间。
tags: [启动会, 客户-a, 需求]
timestamp: 2026-06-18
source: 会议
source_link: https://company.feishu.cn/minutes/xxxx
author: 李四
created: 2026-06-18
ingested: 2026-06-24
status: developing
related:
- "[[示例项目Example]]"
- "[[decision-clientA-tiered-pricing]]"
---
# 客户 A 项目启动会要点
## 摘录
> 客户 A本年度预算分季度到位希望先小范围试点再扩量。
> 我方李四:可先交付核心模块,二期再接扩展需求。
## 要点
- 交付范围:一期只做核心模块,扩展需求进二期
- 需求方对接人:客户 A 采购部王经理
- 首个里程碑2026-07-15 完成一期验收
- 遗留问题:定价方式待商务确认 → 后续在 [[decision-clientA-tiered-pricing]] 拍板
## 溯源
完整会议纪要见 `source_link`

View File

@@ -0,0 +1,33 @@
---
type: decision
title: "客户 A 报价采用阶梯定价而非一口价"
description: 因客户预算分期到位,改用阶梯定价锁定长期合作,牺牲首单毛利。
tags: [报价, 客户-a, 定价策略]
timestamp: 2026-06-20
source: 飞书群
source_link: https://company.feishu.cn/im/xxxx?msg=99231
author: 张三
created: 2026-06-20
ingested: 2026-06-24
status: mature
related:
- "[[示例项目Example]]"
---
# 客户 A 报价采用阶梯定价而非一口价
## 背景
客户 A 采购部反馈本年度预算分季度到位,一口价方案会卡在首季审批。
## 决策
改用阶梯定价:首单让出约 8 个点毛利换取签下全年框架,后续订单按量回升。
## 依据
- 客户明确表达长期合作意向LTV 显著高于单单毛利
- 竞品报的是一口价,阶梯定价形成差异化
## 参与人 · 时间
- 张三商务、李四交付2026-06-20 飞书群讨论
## 溯源
原始讨论见 `source_link`(飞书群消息锚点)。

View File

View File

@@ -0,0 +1,29 @@
---
type: doc
title: "客户 A 一期需求说明书(汇入)"
description: 从飞书文档汇入的一期需求正式说明,交付范围的权威依据。
tags: [需求, 客户-a, 合同附件]
timestamp: 2026-06-19
source: 飞书文档
source_link: https://company.feishu.cn/docx/xxxxdocxtoken
author: 客户A采购部
created: 2026-06-19
ingested: 2026-06-24
status: mature
related:
- "[[示例项目Example]]"
---
# 客户 A 一期需求说明书(汇入)
> 本页由 `feishu-pull.py` 半自动导出,原文见 `source_link`。外部摄入页 `source`/`source_link` 为必填。
## 一期范围
- 核心模块 A、B
- 不含扩展模块 C进二期
## 验收标准
- 2026-07-15 前完成一期功能验收,缺陷率 < 2%
## 溯源
以飞书原始文档为准,本页为结构化镜像。