exam-prep
Generate practice exam questions from weak concepts. This skill should be used when the user says "exam-prep", "备考", "make practice questions", "generate a…
Digest a course source file into the wiki. This skill should be used when the user says "ingest", "消化", "process this PDF/slide", or drops a course file into raw/ and wants it turned into wiki pages. Reads the source, deduplicates via manifest, creates source + concept pages,
$ npx -y skills add IssacW228/student-llm-wiki --skill wiki-ingest --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/wiki-ingestContext preview
The summary Claude sees to decide when to auto-load this skill.
Digest a course source file into the wiki. This skill should be used when the user says "ingest", "消化", "process this PDF/slide", or drops a course file into raw/ and wants it turned into wiki pages. Reads the source, deduplicates via manifest, creates source + concept pages,
name: wiki-ingest description: Digest a course source file into the wiki. This skill should be used when the user says "ingest", "消化", "process this PDF/slide", or drops a course file into raw/ and wants it turned into wiki pages. Reads the source, deduplicates via manifest, creates source + concept pages, and finds cross-course connections.
将 `raw/` 中的课件转化为 wiki 页面。 Turn a source file in `raw/` into wiki pages.
1. **去重检查**: 计算文件 `md5sum {file} | cut -d' ' -f1`。查 `raw/.manifest.json`,hash相同则跳过,报告"已处理,用force重新消化" 2. **读上下文**: 读 `wiki/hot.md`(不是完整SCHEMA) 3. **定位已有页**: 读 `wiki/index.md` 找相关概念页 4. **读源文件**,提炼3-5个关键要点 5. **与用户讨论确认**(不跳过这步) 6. **创建来源页** `wiki/sources/{name}.md` 6.5. **创建/更新课程总览页** `wiki/courses/{COURSE}-overview.md`:
7. **创建/更新概念页**(最多3-5页,不贪多):
8. **图表处理**: 若源含重要图表,文字描述其内容;若该概念涉及流程/架构/时序/分类等适合可视化的内容,按 wiki-diagram skill 判断标准用 Mermaid 配图 9. **跨课程连接**: 检查新概念是否在其他课程出现过。若是:
10. **矛盾检测**: 若新内容与已有页面冲突:
11. **最后一次性更新**: `index.md` + `hot.md` + `log.md` + `overview.md` + `.manifest.json`(不要每步都更新)
{
"sources": {
"raw/COMP6713/L3.pdf": {
"hash": "abc123",
"course": "COMP6713",
"ingested_at": "2026-06-01",
"pages_created": ["wiki/sources/L3.md"],
"concepts_created": ["Attention-Mechanism"],
"concepts_updated": ["Transformer"],
"connections_found": 2,
"contradictions_found": 0
}
}
}多个文件时:逐个处理,但 index/hot/log/manifest **只在全部完成后更新一次**。每10个文件后向用户汇报一次进度。
"处理了 N 个来源。创建 X 页,更新 Y 页。发现的跨课程连接: ..."
文件: `wiki/courses/{COURSE}-overview.md`
---
tags: [course-overview, {course-code}]
course: {COURSE-CODE}
updated: YYYY-MM-DD
---
# {COURSE-CODE} — {课程名 Course Name}
## 综述 Summary
{一句话描述课程主题}
## 概念图谱 Concept Map
[[Concept-A]] · [[Concept-B]] · ...
## 薄弱环节 Weak Areas
\`\`\`dataview
TABLE confidence, last_reviewed FROM "wiki/concepts"
WHERE contains(courses, "{COURSE-CODE}") AND confidence = "low"
SORT last_reviewed ASC
\`\`\`
## 来源 Sources
\`\`\`dataview
LIST FROM "wiki/sources" WHERE contains(tags, "{course-code}") SORT file.ctime DESC
\`\`\`追加到 `wiki/connections-log.md`:
## {YYYY-MM-DD} — {概念名}
**课程A**: {COURSE-A} → [[Concept-Page-A]]
**课程B**: {COURSE-B} → [[Concept-Page-B]]
**连接本质**: 用一句话描述为什么这两个概念有关
**深度**: 表面相似 / 共享数学基础 / 同一思想的不同应用追加到 `wiki/log.md`:
## {YYYY-MM-DD} — ingest: {source-file}
- 创建概念: [[Concept-A]], [[Concept-B]]
- 更新概念: [[Concept-C]]
- 跨课连接: N条(见 connections-log.md)
- 矛盾: N条(见 contradictions.md)追加到 `wiki/contradictions.md`:
## {YYYY-MM-DD} — {矛盾标题}
**页面A**: [[page-a]] 说 "..."
**页面B**: [[page-b]] 说 "..."
**张力**: 描述矛盾的本质
**状态**: 未解决
**解决方案**: (待填)用 AI 把课件变成你自己的知识库 Turn your course slides into a personal wiki with AI
Generate practice exam questions from weak concepts. This skill should be used when the user says "exam-prep", "备考", "make practice questions", "generate a…
Core operating rules for the student knowledge wiki. This skill should be used whenever working inside an Obsidian vault that contains a wiki/ folder with…
Add Mermaid diagrams to wiki pages to aid understanding. This skill should be used during ingest/review when a concept involves a process, architecture,…
Health-check the wiki and apply confidence decay. This skill should be used when the user says "lint", "检查wiki", "check the wiki", or wants to find orphan…
Feynman-technique review mode for studying. This skill should be used when the user says "review", "复习", "quiz me", "test my understanding", or names a…