LQF_Machine_Learning_E…
LQF Machine Learning Expert Guide - Routed skill for ML/Statistical Modeling with Critical Discussion Mode. Triggers on: machine learning, modeling,…
AI工作经验知识库管理。适用于用户明确要求'保存到Obsidian'、'记录这个'、'save this insight'、'memo this'、'capture this'等知识沉淀场景。将对话中的提示词、模式、问题修复、想法和效率优化保存到Obsidian知识库,并自动同步到GitHub。
$ npx -y skills add foryourhealth111-pixel/Vibe-Skills --skill knowledge-steward --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/knowledge-stewardContext preview
The summary Claude sees to decide when to auto-load this skill.
AI工作经验知识库管理。适用于用户明确要求'保存到Obsidian'、'记录这个'、'save this insight'、'memo this'、'capture this'等知识沉淀场景。将对话中的提示词、模式、问题修复、想法和效率优化保存到Obsidian知识库,并自动同步到GitHub。
name: knowledge-steward description: "AI工作经验知识库管理。适用于用户明确要求'保存到Obsidian'、'记录这个'、'save this insight'、'memo this'、'capture this'等知识沉淀场景。将对话中的提示词、模式、问题修复、想法和效率优化保存到Obsidian知识库,并自动同步到GitHub。"
你的"数字记账员"——防止智力剩余价值随着电缆流失。将稍纵即逝的灵感、有效的提示词、踩过的坑和突然的顿悟转化为永久存储的知识资产,并自动备份到GitHub云端。
当用户想要保存以下内容时使用此技能:
**通用触发词**:
**不适用于**:
**必需输入**: 1. **标题**:如果用户没有明确标题,从内容中提取 2. **类型**:从触发词或内容推断(提示词/模式/问题修复/想法/效率优化) 3. **内容**:从对话上下文中捕获
**可选输入**:
**模式1:保存提示词**
用户:"Claude,把你刚才用的那个关于代码重构的Prompt保存下来,标记为'高效'。" Claude:提取最近使用的提示词 → 生成分析 → 保存到 提示词/ 目录
**模式2:记录Bug解决方案**
用户:"记录这个Bug的解决方案,别让我下次再踩坑。" Claude:捕获问题描述和解决方案 → 分析根本原因 → 保存到 问题修复/ 目录
**模式3:捕获灵感**
用户:"保存这个关于微服务解耦的想法。" Claude:提取想法内容 → 生成可行性分析 → 保存到 想法/ 目录
**模式4:中文触发**
用户:"保存到Obsidian:使用苏格拉底式提问来引导代码重构" Claude:识别中文触发词 → 提取标题和内容 → 自动分类 → 保存
保存的笔记包含:
D:\Documents\ai技能外置大脑/
└── Claude_Insights/
├── 提示词/ # Prompts - 有效/无效的提示词
├── 模式/ # Patterns - 可复用的代码模式
├── 问题修复/ # Bugfixes - Bug解决方案
├── 想法/ # Ideas - 架构和设计想法
├── 效率优化/ # Efficiency - 提升效率的技巧
├── 工作流/ # Workflows - AI辅助开发工作流分析
└── 架构决策/ # Architecture - 架构设计决策记录**Input**:
用户:"Claude,保存这个提示词:'请用苏格拉底式提问引导我重构这段代码,不要直接给出答案'。这个提示词让我自己思考得更深入了。"
**Steps**: 1. 识别触发词:"保存这个提示词" 2. 提取标题:"使用苏格拉底式提问引导代码重构" 3. 确定类型:提示词 4. 捕获内容:完整的提示词文本 5. 生成标签:[提示词工程, 代码重构, 苏格拉底方法] 6. 生成分析:"这个提示词有效是因为它利用了苏格拉底式对话的启发性..." 7. 调用 save_to_obsidian.py 8. 返回成功消息
**Expected Output**:
✓ 已保存到 Obsidian 文件:D:\Documents\ai技能外置大脑\Claude_Insights\提示词\2026-02-14_使用苏格拉底式提问引导代码重构.md 类型:提示词 标签:#提示词工程 #代码重构 #苏格拉底方法 ✓ 已同步到 GitHub
**Input**:
用户:"记录这个Bug:npm install时出现ERESOLVE依赖冲突,解决方法是使用--legacy-peer-deps标志。"
**Steps**: 1. 识别触发词:"记录这个Bug" 2. 提取标题:"npm依赖冲突解决方案" 3. 确定类型:问题修复 4. 捕获内容:问题描述和解决方法 5. 生成标签:[npm, 依赖管理, 问题修复] 6. 生成分析:"这个问题的根本原因是npm 7+的严格peer依赖检查..." 7. 保存到 问题修复/ 目录
**Expected Output**:
✓ 已保存Bug解决方案 文件:D:\Documents\ai技能外置大脑\Claude_Insights\问题修复\2026-02-14_npm依赖冲突解决方案.md
**Input**:
用户:"capture this idea: 使用事件溯源(Event Sourcing)来实现可审计的用户操作历史"
**Steps**: 1. 识别触发词:"capture this idea" 2. 提取标题:"使用事件溯源实现可审计的用户操作历史" 3. 确定类型:想法 4. 捕获内容:想法描述 5. 生成标签:[事件溯源, 架构设计, 审计] 6. 生成分析:"这个想法的核心价值是提供完整的操作历史追溯能力..." 7. 保存到 想法/ 目录
**Expected Output**:
✓ 想法已保存 文件:D:\Documents\ai技能外置大脑\Claude_Insights\想法\2026-02-14_使用事件溯源实现可审计的用户操作历史.md
Knowledge Steward 现在支持自动将笔记同步到 GitHub,提供:
1. **运行设置向导**:
python scripts/setup_github.py
2. **初始化仓库**:
python scripts/init_git_repos.py
3. **开始使用**: 保存笔记时会自动同步到 GitHub
详细设置指南请参考 `assets/setup-guide.md`
在 `config.yaml` 中配置:
git:
enabled: true # 启用 Git 同步
auto_sync: true # 自动同步
repositories:
knowledge_base:
url: "https://github.com/username/knowledge-base.git"
enabled: true
auto_pull: true # 推送前自动拉取(多设备同步)使用 `--no-sync` 标志:
python scripts/save_to_obsidian.py --title "..." --type "..." --content "..." --no-sync
python scripts/sync_skill_code.py
Knowledge Steward 在执行任务时,**必须主动使用 ToolSearch** 发现并调用可用的 MCP 插件工具,以增强知识管理能力。
ON SKILL ACTIVATION:
1. 使用 ToolSearch 探测可用插件:
- ToolSearch("github") → 发现 GitHub 相关工具(issue、PR、文件操作)
- ToolSearch("serena") → 发现代码分析工具(符号查找、引用分析)
2. 根据当前任务类型选择插件:
- 保存代码模式 → 使用 Serena 分析符号和引用关系
- GitHub 同步 → 使用 GitHub MCP 工具直接操作仓库
- 查找文档 → 先确认版本,再使用官方 primary docs| 任务场景 | ToolSearch 查询 | 用途 | |----------|----------------|------| | 保存代码模式/架构经验 | `ToolSearch("+serena symbol")` | 分析代码符号结构,提取精确的模式描述 | | GitHub 同步笔记 | `ToolSearch("+github file")` | 直接通过 MCP 创建/更新 GitHub 文件 | | 创建 GitHub Issue 追踪 | `ToolSearch("+github issue")` | 为重要知识点创建追踪 Issue | | 查询库文档补充知识 | 本地依赖信息与官方 primary docs | 查询第三方库文档,丰富知识条目 | | 浏览器截图保存 | `ToolSearch("+playwright screenshot")` | 截取网页内容作为知识附件 | | IDE 代码诊断 | `ToolSearch("getDiagnostics")` | 获取代码诊断信息辅助问题修复记录 |
保存知识条目时:
1. 分析内容类型(提示词/模式/Bug修复/想法/效率优化)
2. 根据类型调用 ToolSearch 发现增强工具:
IF 类型 == "模式" OR "架构经验":
→ ToolSearch("+serena find_symbol")
→ 使用 Serena 分析相关代码符号,提取精确的代码结构描述
IF 类Intelligent Skill routing and workflow orchestration for AI agents — +21.12 pp reward, −29.6% tokens on SkillsBench with DeepSeekV4Flash-VE.
Repo: foryourhealth111-pixel/Vibe-Skills
LQF Machine Learning Expert Guide - Routed skill for ML/Statistical Modeling with Critical Discussion Mode. Triggers on: machine learning, modeling,…
Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental validation including binding…
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection,…
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code,…
Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the…
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex…