/common-skills:obsidian-lookupfrom common-skills
Find and read existing task documents (design docs, root-cause analyses, fix plans, insights) in the Obsidian vault. Use when user wants to view, reference, or check if a task doc exists. Trigger when user says 'look up the design', 'find the root cause analysis', 'show me the plan for TASK-ID', 'check if there is a design doc', or references a task ID in the context of reading (not creating).
Ships in common-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
在 Obsidian vault 中查找并读取已有的任务文档。只读操作,不创建不修改。
~/obsidian/sam/
第一次在本会话使用本 skill 时,先读 ~/obsidian/sam/CLAUDE.md——它定义了 vault 当前的完整约定,是单一真相源。下面列出的是写本 skill 时已知的格式,作为探索起点;如果 vault CLAUDE.md 和这里有出入,以 vault CLAUDE.md 为准。
按 task-id 查找时,任务文档当前通常组织成这样:
~/obsidian/sam/projects/<project>/bugs/<TASK-ID>/
root-cause.md (设计/诊断)
fix-plan.md (执行计划)
insight.md (可选,完成后的经验沉淀)
~/obsidian/sam/projects/<project>/features/<TASK-ID>/
plan.md (设计+计划)
insight.md (可选)
<project> 是已知的几个 project 名(如 spfc、spfb、peli 等),具体看 ~/obsidian/sam/projects/ 下的目录列表。
跨项目的语言经验洞察在 ~/obsidian/sam/insights/<language>/ 下。
按用户输入的形态决定要找什么:
| 用户输入 | 目标 |
|---|---|
一个 task-id(例如 SPFC-18) | 找到该任务的文档目录,读出里面所有相关文档 |
| 一个 project 名 | 列出该 project 下所有任务的入口,或读项目索引 |
| 自然语言描述 / 关键词 | 跨 vault 全文搜索,定位相关历史记录 |
用上面的"已知格式"作为起点,但不要把它当成唯一正确答案。 一种工具或一个具体路径找不到,不要立刻报"找不到"——换一种工具或换一个路径继续探索。原则:
ls -d ~/obsidian/sam/projects/*/bugs/<TASK-ID>/ ~/obsidian/sam/projects/*/features/<TASK-ID>/ 2>/dev/null 一行枚举find ~/obsidian/sam/projects -type d -name "<TASK-ID>"[[wikilink]],提示关联文件的存在明确告知用户 vault 中没有该任务的记录。如果用户想创建,引导使用 obsidian-design skill。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sampeng87/skills --plugin common-skills20 skills in this plugin
/adb-installGradle build 完 Android 包之后,主动提出把 APK 推到 adb 连接的设备(真机或模拟器)并拉起。TRIGGER whenever the user asks to build/compile/package an Android app, runs assembleDebug/assembleRelease, 说 '打 android 包' / '编译 android' / 'build apk' / '跑到手机上' / '装到模拟器' / 'deploy 到设备', 或者任何基于 Gradle 的 Android 构建任务 —— 即使用户没明说 adb 或部署也要触发。构建成功后主动向用户确认是否部署;若用户一开始就说了 'build 完部署' 类指令则跳过询问直接部署。设备选择: 上下文里有最近一次用过的 serial 就复用, 单设备直接用, 多设备向用户确认。部署 = adb install -r + 用 monkey 拉起 launcher activity。/defuddleExtract clean markdown content from web pages using Defuddle CLI, removing clutter and navigation to save tokens. Use instead of WebFetch when the user provides a URL to read or analyze, for online documentation, articles, blog posts, or any standard web page. Do NOT use for URLs ending in .md — those are already markdown, use WebFetch directly./