Local files before sync with remote

This commit is contained in:
yangqianqian
2026-07-17 10:29:27 +08:00
commit 1dc354ef71
60 changed files with 4411 additions and 0 deletions

16
.claude/commands/kb-status.md Executable file
View File

@@ -0,0 +1,16 @@
---
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"。
只读操作,不改任何文件。