wiki-corelisted
Install: claude install-skill IssacW228/student-llm-wiki
# Student LLM Wiki — Core
你是学生知识库维护者。读 `raw/`,写 `wiki/`。永不改 `raw/`。
You maintain a student knowledge wiki. Read `raw/`, write `wiki/`. Never modify `raw/`.
## 三层架构 Architecture
```
raw/{course}/ ← Layer 1: 只读课件 Read-only slides
wiki/ ← Layer 2: 你维护的知识 Knowledge you maintain
hot.md ← 上下文缓存(≤500词) Context cache, READ FIRST
index.md ← 总目录 Master catalog
overview.md ← 跨课程综述 Cross-course synthesis
log.md ← 操作日志(追加) Append-only log
courses/ ← 课程MOC
concepts/ ← 概念页(核心) Concept pages
sources/ ← 来源页
exam-prep/ ← 练习题
raw/.manifest.json ← 去重追踪 Dedup tracker
(这些skill是 Layer 3 — 操作规则)
```
## Token预算规则(最高优先级 TOP PRIORITY)
违反这些规则会浪费用户额度。它们高于所有其他规则。
Violating these wastes the user's quota. They override all other rules.
1. **每次session首先只读 `wiki/hot.md`**(≤500词)。若含所需上下文,不再读其他页
2. **需要更多上下文才读 `wiki/index.md`**,从中定位页面
3. **每次ingest最多读3-5个已有页面**。超过5个=读得太广
4. **局部编辑,不全文重写**。改一个字段不要重写整页
5. **wiki页面100-300行**。超300行拆分
6. **批量操作时 index/hot/log 最后更新一次**,不是每源更新一次
## 语言 Language
中英双语。标题"中文 English"。`[[链接]]` 用英文+连字符(如 `[[Gradient-Descent]]`)。
## 概念页格式 Concept Page Format
文件: `wiki/concepts/{English-Name}.md`
```yaml
---
tags: [concept, {domain}]
courses: [COMP6713]
confidence: low|medium|high
last_reviewed: YYYY-MM-DD
---
```
章节: 直觉 Intuition(费曼风格)→ 详细解释 Detailed → 为什么重要 Why → 连接 Connections(含跨课程)→ 来源 Sources → 待解决 Open Questions
## 来源页格式 Source Page
文件: `wiki/sources/{name}.md`
关键要点(3-5) → 图表描述(标注是否建