From 8f44ede81ed36c697ef95d1ff174de42cdde0c3b Mon Sep 17 00:00:00 2001 From: Manus AI Date: Sun, 24 May 2026 08:54:51 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20Obsidian=201=EF=BD=9E10=20=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E9=85=8D=E8=89=B2=E6=89=A9=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit workphone-devdoc.css 覆盖需求/开发/部署/测试/平台分析根目录;Skill 配色表同步。 Co-authored-by: Cursor --- .obsidian/snippets/workphone-devdoc.css | 42 +++++++++++++++++++++++++ 机擎/阿表/开发文档结构规范/SKILL.md | 7 +++++ 2 files changed, 49 insertions(+) diff --git a/.obsidian/snippets/workphone-devdoc.css b/.obsidian/snippets/workphone-devdoc.css index 272548d9da..1bfe695e1a 100644 --- a/.obsidian/snippets/workphone-devdoc.css +++ b/.obsidian/snippets/workphone-devdoc.css @@ -43,3 +43,45 @@ color: #C62828 !important; font-weight: 600; } + +/* 开发文档 1~10 根目录(四类分类色) */ +.nav-folder-title[data-path="开发文档/1、需求"] > .nav-folder-title-content { + color: #5E35B1 !important; + font-weight: 600; +} +.nav-folder-title[data-path="开发文档/3、原型"] > .nav-folder-title-content { + color: #5E35B1 !important; +} +.nav-folder-title[data-path="开发文档/4、前端"] > .nav-folder-title-content { + color: #0277BD !important; + font-weight: 600; +} +.nav-folder-title[data-path="开发文档/5、接口"] > .nav-folder-title-content { + color: #0277BD !important; + font-weight: 600; +} +.nav-folder-title[data-path="开发文档/6、后端"] > .nav-folder-title-content { + color: #0277BD !important; + font-weight: 600; +} +.nav-folder-title[data-path="开发文档/7、数据库"] > .nav-folder-title-content { + color: #558B2F !important; + font-weight: 600; +} +.nav-folder-title[data-path="开发文档/8、部署"] > .nav-folder-title-content { + color: #558B2F !important; + font-weight: 600; +} +.nav-folder-title[data-path="开发文档/6、测试"] > .nav-folder-title-content { + color: #F9A825 !important; + font-weight: 600; +} +.nav-folder-title[data-path="开发文档/平台分析"] > .nav-folder-title-content { + color: #AD1457 !important; + font-weight: 600; +} + +/* 通用 images 子目录(各手册/架构下) */ +.nav-folder-title[data-path$="/images"] > .nav-folder-title-content { + color: #78909C !important; +} diff --git a/机擎/阿表/开发文档结构规范/SKILL.md b/机擎/阿表/开发文档结构规范/SKILL.md index a42bbbe04f..6ce79f4f22 100644 --- a/机擎/阿表/开发文档结构规范/SKILL.md +++ b/机擎/阿表/开发文档结构规范/SKILL.md @@ -94,9 +94,16 @@ version: 1.0.0 | `…/images` | `#78909C` | 静态图 | | `开发文档/9、手册` | `#1565C0` | 用户手册 | | `开发文档/10、项目管理` | `#C62828` | 进度 | +| `开发文档/1、需求` `3、原型` | `#5E35B1` | 需求与原型 | +| `开发文档/4、前端` `5、接口` `6、后端` | `#0277BD` | 开发与接口 | +| `开发文档/7、数据库` `8、部署` | `#558B2F` | 部署与数据 | +| `开发文档/6、测试` | `#F9A825` | 测试验收 | +| `开发文档/平台分析` | `#AD1457` | 平台专项 | **新建子目录时**:在 CSS 追加 `.nav-folder-title[data-path="…"]` 规则;README frontmatter 写 `obsidian-color: "#xxxxxx"`。 +**Cursor 规则**:`.cursor/rules/workphone.mdc` 已引用本 Skill,Agent 开发功能时自动按分层归类。 + 可选插件:**Icon Folder** — 可为 `01-总览` 设 📐、`images` 设 🖼️,与 CSS 色并存。 ---