Files
company-kb/.claude/commands/kb-status.md
yangqianqian 84f7950589 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>
2026-07-16 18:24:39 +08:00

17 lines
847 B
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: 知识库健康仪表盘——源计数 / type 分布 / 红线观察
---
生成知识库现状概览。
1. **源计数**P5 向量库红线观察点红线≈100 源/几百页):
- 统计 `projects/` 下知识页总数:`find projects -name '*.md' -not -name '_index.md' | wc -l`
- 项目数:`ls -d projects/*/ | grep -v _example | wc -l`
2. **type 分布**:按 frontmatter `type` 分组计数grep 各页 type 字段)。
3. **健康**:跑 `python3 tools/kb-lint-fm.py` 取错误/警告数。
4. **status 分布**seed / developing / mature 各多少。
5.`meta/stats.md` 附上人工记录的观察。
6. 输出一张简表;若知识页数逼近 ~几百页,提示"接近规模红线,考虑启用 P5 向量库导航层(见 docs/05-路线图.md"。
只读操作,不改任何文件。