Files
company-kb/docs/obsidian-setup.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

48 lines
1.7 KiB
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.
---
type: doc
title: "Obsidian 前端配置(个人主编辑器)"
status: mature
created: 2026-07-06
ingested: 2026-07-06
source: 人工沉淀
---
# Obsidian 配置 · 个人主编辑器
> 把 `公司AI/` 目录直接作为 Obsidian vault 打开即可。Obsidian 是**个人主编辑器 + 唯一写路径**飞书只读呈现、CC 只读问答。
> `.obsidian/` 已 gitignore——每人工作区配置本地私有不互相污染只有下面这份**推荐插件清单**共享。
## 打开方式
1. Obsidian → Open folder as vault → 选 `~/奇域/智能体开发/公司AI`
2. 首次会提示信任作者,选信任(本仓库脚本仅本地运行)。
## 推荐插件(全员统一)
| 插件 | 用途 | 必装 |
|---|---|---|
| **Dataview** | 按 frontmatter 查询/看板(如"列出所有 status: seed 的 decision" | ✅ |
| Templater | 新建页时自动套 OKF frontmatter 模板 | 建议 |
| Git | 图形化提交(可选,命令行/CC 提交也行) | 可选 |
> 不要装 "Obsidian Git 自动提交"——Git 同步统一走命令行或 CC避免每人自动 push 制造冲突。
## Dataview 速用示例
在任意页面写代码块:
```dataview
TABLE status, created, source
FROM "projects"
WHERE type = "decision"
SORT created DESC
```
即可实时列出所有决策页。字段名严格对齐 `meta/kb-contract.yaml`。
## 写路径铁律
- 编辑 markdown → `git add/commit/push`(或让 CC 代跑)。
- 新建页面照抄 `projects/_example/` 的 frontmatter或用 `/kb-new` / `/kb-ingest`。
- 个人未定稿草稿**不要**放进本仓库——走各自本地私有 vault晋升定稿后才进公司 Git见 `docs/04-架构.md` 双前端映射)。